looking for g2c.h

I’m trying to use linalg, which is a linear algebra library for use with Ruby. When installing version 1.0.1 from source there is an error message that I’m missing g2c.h.

Does anyone know what package contains g2c.h? I have the LAPACK and gcc FORTRAN packages installed, and I’m not sure where to look next.

Hi
It’s in gcc33-fortran but you don’t say what release of
openSUSE your using…


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 1 day 15:48, 3 users, load average: 0.19, 0.37, 0.23
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

I just upgraded to opensuse 11.2.

Hi
Well you could try the gcc33-fortran for 11.2 but have no idea of the
implications as that’s the only place it is…


Content of RPM i586:
/usr/bin/g77-3.3
/usr/lib/gcc-lib/i586-suse-linux/3.3.3-hammer/f771
/usr/lib/gcc-lib/i586-suse-linux/3.3.3-hammer/include/g2c.h
/usr/lib/gcc-lib/i586-suse-linux/3.3.3-hammer/libfrtbegin.a
/usr/lib/gcc-lib/i586-suse-linux/3.3.3-hammer/libg2c.a
/usr/lib/gcc-lib/i586-suse-linux/3.3.3-hammer/libg2c.so
/usr/share/man/man1/g77-3.3.1.gz

Content of RPM x86_64:
/usr/bin/g77-3.3
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/f771
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/g2c.h
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/libfrtbegin.a
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/libg2c.a
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/libg2c.so
/usr/share/man/man1/g77-3.3.1.gz

I’m guessing you would need to use g77-3.3 for it?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 1 day 16:23, 3 users, load average: 0.08, 0.07, 0.08
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

It turns out that the linalg installer hasn’t been updated recently, and the g2c.h file has been replaced.

Thanks for the help though.