2007/7/16, Jos van Kan <[EMAIL PROTECTED]>:
Denis wrote:
> 2007/7/13, Dave Howorth <[EMAIL PROTECTED]>:
>> On Fri, 2007-07-13 at 23:27 +0200, Jos van Kan wrote:
>> > Denis wrote:
>> > > People, how can I search for g77 compiler and isntall it?
>> > >
>> > > The packages for opensuse Runs on enterprise server?
>> > >
>> > >
>> > > Tanx.
>> > >
>> > >
>> > > Exist any way to make a search for a package by a file that I know
>> > > that should be in the packege, but I dont know the name of the
>> > > package?
>> >
>> > There is a utility named "pin" that does just that. On my 9.3 system
>> I get
>> <snip>
>>
>> The other thing to bear in mind is that according to previous
>> conversations on this list, g77 no longer exists. It has been replaced
>> by gfortran. So searching the archive and/or web for more details might
>> be useful depending what version of Suse you're running.
>>
>> Cheers, Dave
>>
>> --
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> Dave,
>
> I look for g77 in opensuse lists and found somethings.
>
> I saw that gfortran is now working instead g77 but I saw that some
> people have trouble to migrate de source code for compiling well in
> gfortran. I have not much experience on compiling nor programming. I
> just administer a server that a user wanna compile a program called
> Corsika and its code is so old. And a lot big. He told me that could
> be very worse to migrate the code. I saw that I can use the compat-g77
> package, but I could not find the package. Do U know where can I
> download it?
The most important word in the English language: google
http://www.novell.com/products/linuxpackages/opensuse/compat-g77.html
Regards
--
Jos van Kan registered Linux user #152704
Jos, very thanks at all.
But I'm still having some troubles.
I'll describe better.
I have a machine that haves the gcc 4.1 instaled, with these packages:
gcc-info-4.1.0-28.4
gcc-c++-4.1.0-28.4
libgcc-x86-4.1.0-28.4
gcc-fortran-4.1.0-28.4
gcc-4.1.0-28.4
libgcc-4.1.0-28.4
I wanna compile a source that isn't compatible with FORTRAN95
(gfortran) and request for FORTRAN77 (g77) that is provided only by
older versions of gcc.
So I need to isntall g77 but w/o damage or uninstall the new compilers
that is already installed. (may be isntall a cross compiler? I'm no
sure.)
I downloaded the compat-g77-3.3.5-42.1.x86_64.rpm
but when I try to install:
[EMAIL PROTECTED]:~/compat-g77> rpm -ivh --test
compat-g77-3.3.5-42.1.x86_64.rpm
error: Failed dependencies:
libc.so.6()(64bit) is needed by compat-g77-3.3.5-42.1.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by compat-g77-3.3.5-42.1.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by compat-g77-3.3.5-42.1.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by compat-g77-3.3.5-42.1.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by compat-g77-3.3.5-42.1.x86_64
libm.so.6()(64bit) is needed by compat-g77-3.3.5-42.1.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by compat-g77-3.3.5-42.1.x86_64
So, I tried the source rpm: compat-g77-3.3.5-42.1.src.rpm.
with a rpm -ivh compat-g77-3.3.5-42.1.src.rpm
I got the sources in /usr/src/packages/SOURCES/gcc-3.3.5/
created the directories:
/home/denismpa/denismpa/g77/compiled
cd /home/denismpa/denismpa/g77
/usr/src/packages/SOURCES/gcc-3.3.5/configure
--prefix=/home/denismpa/denismpa/g77/compiled
--with-local-prefix=/home/denismpa/denismpa/g77/compiled
--enable-version-specific-runtime-libs --enable-languages=f77
next:
/home/denismpa/denismpa/g77$ make
but I didn't have success. =(
This is de last output lines of my make:
gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H gcov.o intl.o version.o ../libiberty/libiberty.a -o
gcov
gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -If
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc/config
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc/../include
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/bad.c -o f/bad.o
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/bad.c: In function âffebad_finishâ:
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/bad.c:387: warning: pointer
targets in assignment differ in signedness
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/bad.c:391: warning: pointer
targets in assignment differ in signedness
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/bad.c:395: warning: pointer
targets in assignment differ in signedness
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/bad.c:399: warning: pointer
targets in assignment differ in signedness
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/bad.c:437: warning: pointer
targets in assignment differ in signedness
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/bad.c:492: warning: pointer
targets in assignment differ in signedness
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/bad.c:496: warning: pointer
targets in passing argument 3 of âffebad_bufputs_â differ in
signedness
gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -If
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc/config
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc/../include
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/bit.c -o f/bit.o
gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -If
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc/config
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc/../include
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/bld.c -o f/bld.o
gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -If
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc/config
-I/usr/src/packages/SOURCES/gcc-3.3.5/gcc/../include
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/com.c -o f/com.o
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/com.c: In function
âffecom_char_args_x_â:
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/com.c:1938: warning: pointer
targets in passing argument 2 of âbuild_stringâ differ in signedness
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/com.c: In function
âffecom_constantunionâ:
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/com.c:10528: warning:
pointer targets in passing argument 2 of âbuild_stringâ differ in
signedness
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/com.c:10549: warning:
pointer targets in passing argument 2 of âbuild_stringâ differ in
signedness
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/com.c: At top level:
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/com.c:11080: error:
conflicting types for âffecom_gfrt_basictypeâ
/usr/src/packages/SOURCES/gcc-3.3.5/gcc/f/com.h:236: error: previous
declaration of âffecom_gfrt_basictypeâ was here
make[1]: *** [f/com.o] Error 1
make[1]: Leaving directory `/home/denismpa/denismpa/g77/gcc'
make: *** [all-gcc] Error 2
Please, anybody can help-me?
Regards,
Denis Anjos.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]