LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   g77 installation on gcc 4.3 (https://www.linuxquestions.org/questions/linux-software-2/g77-installation-on-gcc-4-3-a-706425/)

rafopar 02-21-2009 10:14 AM

g77 installation on gcc 4.3
 
Hi,

In my computer gcc version is 4.3 but it seems that it dose not include g77 package, insted of it has gfortan. I tried to use gfortrun but the program I which I need to install, ueses the optin -fugly-complex, which I think gfortran cannot recognize.
Here is the error...


[root@nikopc packlib]# gmake
gmake[1]: Entering directory `/apps/cern/2005/build/packlib'
making Makefiles in /packlib/cspack...
making Makefiles in /packlib/epio...
making Makefiles in /packlib/fatmen...
making Makefiles in /packlib/ffread...
making Makefiles in /packlib/hbook...
making Makefiles in /packlib/hepdb...
making Makefiles in /packlib/kapack...
making Makefiles in /packlib/minuit...
making Makefiles in /packlib/zbook...
making Makefiles in /packlib/zebra...
making Makefiles in /packlib/kernlib...
checking /packlib/cspack
gmake[2]: Entering directory `/apps/cern/2005/build/packlib/cspack'
making Makefiles in /packlib/cspack/cz...
making Makefiles in /packlib/cspack/fz...
making Makefiles in /packlib/cspack/sz...
making Makefiles in /packlib/cspack/xz...
making Makefiles in /packlib/cspack/tcpaw...
making Makefiles in /packlib/cspack/sysreq...
checking /packlib/cspack/cz
gmake[3]: Entering directory `/apps/cern/2005/build/packlib/cspack/cz'
makedepend -farchive/cztcp.d.tmp -p archive/ -- -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC /apps/cern/2005/src/packlib/cspack/cz/cztcp.F
makedepend -farchive/czswap.d.tmp -p archive/ -- -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC /apps/cern/2005/src/packlib/cspack/cz/czswap.F
makedepend -farchive/czstop.d.tmp -p archive/ -- -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC /apps/cern/2005/src/packlib/cspack/cz/czstop.F
makedepend -farchive/czrtim.d.tmp -p archive/ -- -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC /apps/cern/2005/src/packlib/cspack/cz/czrtim.F
makedepend -farchive/czrand.d.tmp -p archive/ -- -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC /apps/cern/2005/src/packlib/cspack/cz/czrand.F
makedepend -farchive/czputc.d.tmp -p archive/ -- -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC /apps/cern/2005/src/packlib/cspack/cz/czputc.F
makedepend -farchive/czputa.d.tmp -p archive/ -- -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC /apps/cern/2005/src/packlib/cspack/cz/czputa.F
makedepend -farchive/czopen.d.tmp -p archive/ -- -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC /apps/cern/2005/src/packlib/cspack/cz/czopen.F
makedepend -farchive/czgetc.d.tmp -p archive/ -- -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC /apps/cern/2005/src/packlib/cspack/cz/czgetc.F
makedepend -farchive/czgeta.d.tmp -p archive/ -- -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC /apps/cern/2005/src/packlib/cspack/cz/czgeta.F
makedepend -farchive/czdumm.d.tmp -p archive/ -- -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC /apps/cern/2005/src/packlib/cspack/cz/czdumm.F
makedepend -farchive/czclos.d.tmp -p archive/ -- -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC /apps/cern/2005/src/packlib/cspack/cz/czclos.F
gmake[3]: Leaving directory `/apps/cern/2005/build/packlib/cspack/cz'
gmake[3]: Entering directory `/apps/cern/2005/build/packlib/cspack/cz'
rm -f archive/czclos.o
g77 -c -O -fno-automatic -fno-second-underscore -fugly-complex -I/apps/cern/2005/build/packlib/cspack -I/apps/cern/2005/src/packlib/cspack -I/apps/cern/2005/src/packlib/cspack/cz -I/apps/cern/2005/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC -o archive/czclos.o /apps/cern/2005/src/packlib/cspack/cz/czclos.F
cc1: error: unrecognized command line option "-fugly-complex"
gmake[3]: *** [archive/czclos.o] Error 1
gmake[3]: Leaving directory `/apps/cern/2005/build/packlib/cspack/cz'
gmake[2]: *** [cz/archive/objects.list] Error 2
gmake[2]: Leaving directory `/apps/cern/2005/build/packlib/cspack'
gmake[1]: *** [cspack/archive/objects.list] Error 2
gmake[1]: Leaving directory `/apps/cern/2005/build/packlib'
gmake: *** [packlib] Error 2

weibullguy 02-21-2009 10:47 AM

Yes, that is correct, gfortran does not recognize -fugly-complex. g77 was replaced with gfortran starting with 4.X series of gcc. However, there should be nothing preventing you from installing g77 as well.

lazlow 02-21-2009 01:31 PM

rafopar

Whenever you ask questions you should tell us what distro, arch, and version your are running. This can make it much easier of us to help you. For instance, on RH based systems there are a whole series of compat-whatever packages that can be installed as well as a lot of cern packages that can be installed that can help with compatibility with older versions of software.

John VV 02-21-2009 02:44 PM

rafopar
Without knowing WHAT distro you are running I can not help much
For Fedora 9 ,10 it is
Code:

yum groupinstall  "Development Tools" "Legacy Software Development"
that will install gcc34 ( compact-gcc34 ) and the old g77

rafopar 02-21-2009 05:32 PM

Thank you guys, for quick reply,

I use FC9, and want to install paw(Physics Analysis Workstation, CERN Software).
John_VV thanks a lot, I tried to do that, and it seems that will change my gcc version,
At the current moment, I found a new version of paw for gfortran, and it works now!!

Thanks again
Rafayel

lazlow 02-21-2009 05:41 PM

PAW is in the RH's epel repo.

John VV 02-21-2009 07:33 PM

for "(Physics Analysis Workstation, CERN Software)." you might consider duel booting with CentOS 5.2
that is what i do for ISIS3 form the USGS ( there is a conflict with isis( qt4.4.1) and fedora 9 ( qt 4.4.3)

i am fairly sure that Physics Analysis Workstation is built on rhel 5.2


All times are GMT -5. The time now is 11:08 AM.