Thanks.  Unfortunately it's not obvious what's causing the error to  
me.  :-(

gcc4 is outdated, but by rights gcc42 _ought_ to work.    
Unfortunately, it takes me _days_ to test that, and I'd have to reboot  
to 10.4, too.

In order to save you some time, do the following to get a binary from  
our unofficial repository:

1)  Edit /sw/etc/apt/sources.list as a super-user and add the  
following line to it:
deb http://fink.sodan.ecc.u-tokyo.ac.jp/apt/10.4 unstable main crypto
2)  Run "sudo apt-get update"

3)  Then try "fink install gcc42"

(I may decide once I get time to push the newer netcdf over from our  
unstable tree.  That one uses gcc43 to build--and I've looked briefly  
at an update for NCAR graphics, which appears to be somewhat  
complicated)

On Apr 20, 2008, at 4:16 PM, Capehart, William J wrote:
> Ok. ..  Here they come for the final few steps of each::
>
> From the gcc4 build failure:
>
>
<snip>

> gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes  
> -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros - 
> Wold-style-definition    -DHAVE_CONFIG_H  -o cc1 \
>         c-parse.o c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o  
> c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c- 
> opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c- 
> ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o  
> darwin-c.o rs6000-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o  
> main.o  libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a ./../intl/ 
> libintl.a -liconv  ../libiberty/libiberty.a
> ### execution of /var/tmp/tmp.2.tgU2xD failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc4-4.0.2-3
> (Reading database ... 8707 files and directories currently installed.)
> Removing fink-buildlock-gcc4-4.0.2-3 ...
> Failed: phase compiling: gcc4-4.0.2-3 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:
>
>         None <fink-devel@lists.sourceforge.net>
>
> 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.
>
> ------------------------------------------
>
> For the final few lines of the gcc42 failure:
>
>
>
<snip>

> /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 Street                Fax: +1-605-394-6061
> Rapid City, SD 57701-3995                Mobile: +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 Street                Fax: +1-605-394-6061
> > Rapid City, SD 57701-3995                Mobile: +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.
>
>
>
>


-------------------------------------------------------------------------
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

Reply via email to