[opensuse-support] Finding quadmath.h

Hi, I need the header file quadmath.h, which is AFAICS path of the Frotran package. But neither Yast nor zypper, or googling "quadmath.h opensuse Tumbleweed" or "libquadmath0 devel opensuse tumbleweed" leads to a opensuse repository for that package. I assume it is the -devel version of the libquadmath0 package (which I had already installed), but where do I find it? cheers, Jogchum -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

On 4/27/20 4:57 PM, Jogchum Reitsma wrote:
Generally the starting point is "rpm -qi libquadmath0" to find out the source package, but in this case its gcc10 which means at a guess its installed with the standard gcc-fortran stuff. I have no need for fortran so I didn't double check this guess. Cheers -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

On Mon, Apr 27, 2020, 00:31 Simon Lees <sflees@suse.de> wrote:
I think, rpm -qi .... will only look through already installed packages. zypper search --file-list quadmath.h does the same - also only in installed packages. I would usually fish for potential packages using zypper search quadmath, install them then zypper search --file-list quadmath.h If lucky, uninstall not needed packages. Or Google for: quadmath.h site:build.opensuse.org That points to gcc package spec I bet there is better way... Tomas

Op 27-04-2020 om 10:15 schreef Tomas Kuchta:
I installed cpp10 libasan6 libgmpxx4 gcc10 gmp-devel) mpfr-devel mpc-devel gcc10-devel gcc10-10.0.1+git175037-1.5.src.rpm but still no quadmath.h. https://build.opensuse.org/search?search_text=quadmath.h&search_for=0&name=1... doesn't give any results. I hardly can imagine opensuse TW doesn't have it at all? cheers, Jogchum

On 4/27/20 7:02 PM, Jogchum Reitsma wrote:
gcc-fortran seems to be the obvious thing to try, if the lib is in tumbleweed the devel package should be somewhere. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

On Mon, 27 Apr 2020 19:09:40 +0930 Simon Lees <sflees@suse.de> wrote:
FWIW, on my leap 15.0 system, it is provided by gcc7-fortran and is at /usr/lib64/gcc/x86_64-suse-linux/7/include/quadmath.h gcc7-fortran is pulled in automatically when I install gcc-fortran. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

On 4/27/20 5:45 PM, Tomas Kuchta wrote:
rpm -qi gives info about an installed package (in the this case libquadmath0), one of the bits of info that gives is the source package, in most cases a source package will only have 1 devel package with the same name so its pretty useful. If you know the library ships a package config (or cmake) file you can also just do sudo zypper in "pkgconfig(libraw)" without knowing anymore, i'm guessing that won't work in this case. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

On 27/04/2020 09.27, Jogchum Reitsma wrote:
Use "pin": Telcontar:~ # pin quadmath.h pin 0.40 - package info for quadmath.h ------------------------------------------------------------------ *** no rpm named quadmath.h installed ------------------------------------------------------------------ grepping /var/lib/pin/ARCHIVES.gz ... please wait ------------------------------------------------------------------ *** zgrep quadmath.h /var/lib/pin/ARCHIVES.gz ------------------------------------------------------------------ ./x86_64/gcc8-fortran-8.2.1+r264010-lp151.1.33.x86_64.rpm: -rw-r--r-- 1 root root 9223 May 4 06:21 /usr/lib64/gcc/x86_64-suse-linux/8/include/quadmath.h ./x86_64/gcc7-fortran-7.4.0+r266845-lp151.1.35.x86_64.rpm: -rw-r--r-- 1 root root 9085 Apr 27 20:54 /usr/lib64/gcc/x86_64-suse-linux/7/include/quadmath.h In the past, you could have used "webpin" instead, but the server has been broken for years. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)

On Mon, 27 Apr 2020 14:28:14 +0200 "Carlos E. R." <robin.listas@telefonica.net> wrote:
# pin quadmath.h no file ARCHIVES_15.0.gz found please insert CD1/DVD in your CD-ROM/DVD drive / bitte CD1/DVD einlegen please eject all medias from other drives / bitte entfernen Sie andere Medien aus den Laufwerken. press enter to continue - Bitte enter druecken ^C
In the past, you could have used "webpin" instead, but the server has been broken for years.
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

On 27/04/2020 17.10, Dave Howorth wrote:
On Mon, 27 Apr 2020 14:28:14 +0200 "Carlos E. R." <robin.listas@telefonica.net> wrote:
Yes, of course. You can do as it says, or you can do (untested, but it is what I do): su - cd /var/lib/pin/ wget "http://download.opensuse.org/distribution/leap/15.1/repo/oss/ARCHIVES.gz" mv ARCHIVES.gz ARCHIVES_OSS_15.1.gz gunzip ARCHIVES_OSS_15.1.gz wget "http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/ARCHIVES.gz" mv ARCHIVES.gz ARCHIVES_NONOSS_15.1.gz gunzip ARCHIVES_NONOSS_15.1.gz cat ARCHIVES_OSS_15.1 > ARCHIVES_15.1 cat ARCHIVES_NONOSS_15.1 >> ARCHIVES_15.1 gzip ARCHIVES_15.1 ln -s ARCHIVES_15.1.gz ARCHIVES.gz finally test pin, then delete ARCHIVES_NONOSS_15.1 and ARCHIVES_OSS_15.1 Possibly someone could patch the pin script to do all that instead of using the file from the DVD, then distribute it. That's outside my skill set. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)

On 4/27/20 4:57 PM, Jogchum Reitsma wrote:
Generally the starting point is "rpm -qi libquadmath0" to find out the source package, but in this case its gcc10 which means at a guess its installed with the standard gcc-fortran stuff. I have no need for fortran so I didn't double check this guess. Cheers -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

On Mon, Apr 27, 2020, 00:31 Simon Lees <sflees@suse.de> wrote:
I think, rpm -qi .... will only look through already installed packages. zypper search --file-list quadmath.h does the same - also only in installed packages. I would usually fish for potential packages using zypper search quadmath, install them then zypper search --file-list quadmath.h If lucky, uninstall not needed packages. Or Google for: quadmath.h site:build.opensuse.org That points to gcc package spec I bet there is better way... Tomas

Op 27-04-2020 om 10:15 schreef Tomas Kuchta:
I installed cpp10 libasan6 libgmpxx4 gcc10 gmp-devel) mpfr-devel mpc-devel gcc10-devel gcc10-10.0.1+git175037-1.5.src.rpm but still no quadmath.h. https://build.opensuse.org/search?search_text=quadmath.h&search_for=0&name=1... doesn't give any results. I hardly can imagine opensuse TW doesn't have it at all? cheers, Jogchum

On 4/27/20 7:02 PM, Jogchum Reitsma wrote:
gcc-fortran seems to be the obvious thing to try, if the lib is in tumbleweed the devel package should be somewhere. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

On Mon, 27 Apr 2020 19:09:40 +0930 Simon Lees <sflees@suse.de> wrote:
FWIW, on my leap 15.0 system, it is provided by gcc7-fortran and is at /usr/lib64/gcc/x86_64-suse-linux/7/include/quadmath.h gcc7-fortran is pulled in automatically when I install gcc-fortran. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (5)
-
Carlos E. R.
-
Dave Howorth
-
Jogchum Reitsma
-
Simon Lees
-
Tomas Kuchta