[Fink-devel] failing to build gcc42 or gcc4 on an older PowerPC

2008-04-20 Thread Capehart, William J
Hi All:

My attempts to build the gnu compilers:

gcc4 (4.0.2-3) and
gcc42 (42-4.2.2-1000)

 w/ Fink have met with failure (w/ fink commander, fink plain and fink plain as 
single user)

My machine specs (yes, the machine's long in the tooth but still quite 
serviceable in most ways except in compiling gcc!)

OS: Dawin 8.11.0 (Tiger 10.4.11)
Processor: 500 MHz PowerPC G3
Memory: 1GB Ram (which is why it's still serviceable for most tasks)
XCode: 2.5

While I've been able to get the G95 and G77 builds compiled/built/working, I'd 
be nice to have the gfortran compilers too for work with netCDF and NCAR 
graphics (I'll likely need 5.0.0, not the currently available fink build)

Any ideas or suggestions here (besides sticking to Linux or getting a new 
machine that runs leopard -- I'm fond of this little jalopy)

Thanks Much
Bill



Bill Capehart [EMAIL PROTECTED]   Associate Professor
Institute of Atmospheric Sciences Land Surface Processes
213 Mineral Industries Building Hydrometeorology
South Dakota School of Mines and Technology Ph:  +1-605-394-1994
501 East Saint Joseph StreetFax: +1-605-394-6061
Rapid City, SD 57701-3995Mobile: +1-605-484-5692
=== http://capehart.sdsmt.edu ==


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Re: [Fink-devel] failing to build gcc42 or gcc4 on an older PowerPC

2008-04-20 Thread Capehart, William J
-long -Wno-variadic-macros -Wno-overlength-strings 
-Wold-style-definition -Wmissing-format-attribute-DHAVE_CONFIG_H -I. -I. 
-I../../gcc-4.2.2/gcc -I../../gcc-4.2.2/gcc/. -I../../gcc-4.2.2/gcc/../include 
-I../../gcc-4.2.2/gcc/../libcpp/include -I/sw/include  
-I../../gcc-4.2.2/gcc/../libdecnumber -I../libdecnumber -I/sw/include   
../../gcc-4.2.2/gcc/regrename.c -o regrename.o
/sw/src/fink.build/gcc42-4.2.2-1000/darwin_objdir/./prev-gcc/xgcc 
-B/sw/src/fink.build/gcc42-4.2.2-1000/darwin_objdir/./prev-gcc/ 
-B/sw/lib/gcc4.2/powerpc-apple-darwin8/bin/ -c   -g -O2 -mdynamic-no-pic 
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings 
-Wold-style-definition -Wmissing-format-attribute-DHAVE_CONFIG_H -I. -I. 
-I../../gcc-4.2.2/gcc -I../../gcc-4.2.2/gcc/. -I../../gcc-4.2.2/gcc/../include 
-I../../gcc-4.2.2/gcc/../libcpp/include -I/sw/include  
-I../../gcc-4.2.2/gcc/../libdecnumber -I../libdecnumber -I/sw/include   
../../gcc-4.2.2/gcc/reload.c -o reload.o
/sw/src/fink.build/gcc42-4.2.2-1000/darwin_objdir/./prev-gcc/xgcc 
-B/sw/src/fink.build/gcc42-4.2.2-1000/darwin_objdir/./prev-gcc/ 
-B/sw/lib/gcc4.2/powerpc-apple-darwin8/bin/ -c   -g -O2 -mdynamic-no-pic 
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings 
-Wold-style-definition -Wmissing-format-attribute  -Wno-error  -DHAVE_CONFIG_H 
-I. -I. -I../../gcc-4.2.2/gcc -I../../gcc-4.2.2/gcc/. 
-I../../gcc-4.2.2/gcc/../include -I../../gcc-4.2.2/gcc/../libcpp/include 
-I/sw/include  -I../../gcc-4.2.2/gcc/../libdecnumber -I../libdecnumber 
-I/sw/include   ../../gcc-4.2.2/gcc/reload1.c -o reload1.o
### execution of /var/tmp/tmp.1.YBfEcf failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gcc42-4.2.2-1000
(Reading database ... 5782 files and directories currently installed.)
Removing fink-buildlock-gcc42-4.2.2-1000 ...
Failed: phase compiling: gcc42-4.2.2-1000 failed

Before reporting any errors, please run fink selfupdate and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

Jack Howarth [EMAIL PROTECTED]

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.





Bill Capehart [EMAIL PROTECTED]   Associate Professor
Institute of Atmospheric Sciences Land Surface Processes
213 Mineral Industries Building Hydrometeorology
South Dakota School of Mines and Technology Ph:  +1-605-394-1994
501 East Saint Joseph StreetFax: +1-605-394-6061
Rapid City, SD 57701-3995Mobile: +1-605-484-5692
=== http://capehart.sdsmt.edu ==




-Original Message-
From: Alexander Hansen [mailto:[EMAIL PROTECTED]
Sent: Sun 20-Apr-08 09:41
To: Capehart, William J
Cc: fink-devel@lists.sourceforge.net
Subject: Re: [Fink-devel] failing to build gcc42 or gcc4 on an older PowerPC
 

On Apr 20, 2008, at 11:17 AM, Capehart, William J wrote:

 Hi All:

 My attempts to build the gnu compilers:

 gcc4 (4.0.2-3) and
 gcc42 (42-4.2.2-1000)

  w/ Fink have met with failure (w/ fink commander, fink plain and  
 fink plain as single user)

 My machine specs (yes, the machine's long in the tooth but still  
 quite serviceable in most ways except in compiling gcc!)

 OS: Dawin 8.11.0 (Tiger 10.4.11)
 Processor: 500 MHz PowerPC G3
 Memory: 1GB Ram (which is why it's still serviceable for most tasks)
 XCode: 2.5

 While I've been able to get the G95 and G77 builds compiled/built/ 
 working, I'd be nice to have the gfortran compilers too for work  
 with netCDF and NCAR graphics (I'll likely need 5.0.0, not the  
 currently available fink build)

 Any ideas or suggestions here (besides sticking to Linux or getting  
 a new machine that runs leopard -- I'm fond of this little jalopy)

 Thanks Much
 Bill


 
 Bill Capehart [EMAIL PROTECTED]   Associate Professor
 Institute of Atmospheric Sciences Land Surface Processes
 213 Mineral Industries Building Hydrometeorology
 South Dakota School of Mines and Technology Ph:  +1-605-394-1994
 501 East Saint Joseph StreetFax: +1-605-394-6061
 Rapid City, SD 57701-3995Mobile: +1-605-484-5692
 === http://capehart.sdsmt.edu ==





We would need more specific information about the nature of the  
failure, such as the last line the  compiler tried to run, and the  
error message you got afterward