LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-21-2009, 10:14 AM   #1
rafopar
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Rep: Reputation: 0
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
 
Old 02-21-2009, 10:47 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 02-21-2009, 01:31 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
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.
 
Old 02-21-2009, 02:44 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 02-21-2009, 05:32 PM   #5
rafopar
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 02-21-2009, 05:41 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
PAW is in the RH's epel repo.
 
Old 02-21-2009, 07:33 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fortran compiler gcc-g77 installation problem refp16 Linux - Software 6 11-26-2005 12:49 PM
gcc/g77 compiler in FC2? serendipitysdc Fedora 1 06-24-2004 04:19 PM
trouble installing g77 and gcc-3.2.2-3 almrud Mandriva 2 09-04-2003 07:07 PM
Need help !! Emergency !!! f2c/gcc , g77 issue xudeyong Linux - Software 1 05-02-2003 08:57 AM
gcc-g77 package neko Programming 12 07-22-2001 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration