Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge/gcc problems on ppc64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
jgombos
n00b
n00b


Joined: 27 Jul 2004
Posts: 64

PostPosted: Wed Jul 28, 2004 9:33 pm    Post subject: emerge/gcc problems on ppc64 Reply with quote

I'm having problems getting gentoo to install on a dual G5, and I'm about ready to throw in the towel. Here's what I get when doing an emerge system:

Code:

>>> Unpacking source...
>>> Unpacking perl-5.8.2.tar.gz to /var/tmp/portage/libperl-5.8.2/work
 Applying libperl-5.8.2-create-libperl-soname.patch...
>>> Source unpacked.
threads
using threads
gdbm
berkdb
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
Your builtin 'test -h' may be broken.
Trying external '/bin/test -h'.
I do not know how you can test for symbolic links.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
3b1            dynix           isc_2         opus       sunos_4_1   
aix            dynixptx       linux         os2       super-ux   
altos486      epix           lynxos         os390       svr4   
amigaos       esix4           machten       os400       svr5   
apollo        fps           machten_2     posix-bc       ti1500   
atheos        freebsd        mint         powerux       titanos   
aux_3         genix           mips         qnx       ultrix_4   
beos          gnu           mpc         rhapsody       umips   
bsdos         greenhills     mpeix         sco       unicos   
convexos      hpux           ncr_tower     sco_2_3_0     unicosmk   
cxux          i386           netbsd         sco_2_3_1     unisysdynix   
cygwin        irix_4         newsos4       sco_2_3_2     utekv   
darwin        irix_5         next_3         sco_2_3_3     uts   
dcosx         irix_6         next_3_0      sco_2_3_4     uwin   
dec_osf       irix_6_0       next_4         solaris_2     vmesa   
dgux          irix_6_1       nonstopux     stellar       vos   
dos_djgpp     isc           openbsd       sunos_4_0   
Which of these apply, if any? [none] 
hint to use instead? [none] 
Operating system name? [none] 
Operating system version? [none] 
Build Perl for SOCKS? [n] 
Use the PerlIO abstraction layer? [y] 
Build a threading Perl? [y] 
Use the newer interpreter-based ithreads? [y] 
Use which C compiler? [gcc] 
Checking for GNU cc in disguise and/or its version number...

*** WHOA THERE!!! ***

    Your gcc has not been compiled for the exact release of
    your operating system (Reading specs from /usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.0/specs versus ).

    In general it is a good idea to keep gcc synchronized with
    the operating system because otherwise serious problems
    may ensue when trying to compile software, like Perl.

    I'm trying to be optimistic here, though, and will continue.
    If later during the configuration and build icky compilation
    problems appear (headerfile conflicts being the most common
    manifestation), I suggest reinstalling the gcc to match
    your operating system release.

Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/usr/local/lib /lib /usr/lib] 
What is the file extension used for shared libraries? [so] 
Try to use long doubles if available? [n] 
Checking for optional libraries...
What libraries to use?
[-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lbsd] 
What optimizer/debugger flag should be used? [-O2] 
Any additional cc flags? [-fno-strict-aliasing] 
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib] 
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:

#include <stdio.h>
int main() { printf("Ok\n"); return(0); }

I used the command:

   gcc -o try -O2 -fno-strict-aliasing -L/usr/local/lib try.c -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lbsd
    ./try

and I got the following output:

/usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status
I can't compile the test program.
You have a BIG problem.  Shall I abort Configure [y] 
Ok.  Stopping Configure.
Calculating system dependencies    ...done!
>>> emerge (1 of 64) sys-devel/libperl-5.8.2 to /
>>> md5 src_uri ;-) perl-5.8.2.tar.gz


This is after booting Tom Gall's snapshot iso version 2004.1, and following the first 6 chapters of the install guide using the 2004.2 stage1 file, provided on Tom Gall's page.
Back to top
View user's profile Send private message
svieira
n00b
n00b


Joined: 27 Apr 2004
Posts: 3

PostPosted: Sun Sep 12, 2004 2:38 am    Post subject: Reply with quote

Did you set nptl in make.conf? It did not compile for me either till I removed it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum