Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
early stage 1 error on emac g4
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
hhallii
n00b
n00b


Joined: 28 Dec 2004
Posts: 3

PostPosted: Tue Dec 28, 2004 2:55 am    Post subject: early stage 1 error on emac g4 Reply with quote

I'm a mac and gentoo (but not linux/x86) newbie and I have a recently purchased EMac G4

in stage 1 bootstrap (shortly after running '/usr/portage/scripts/bootstrap.sh')

I get the following:
Code:

WARNING: If you want to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.

Then shortly thereafter:
Code:

checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for powerpc-unknown-linux-gnu-strip...no
checking for strip... strip
checking for powerpc-unknown-linux-gnu-gcc... gcc
checking for C compiler default output... configure: error:
C compiler cannot create executables

configure: error: /bin/sh './configure' failed for autoconfig-lib-link

ERROR: sys-devel/gettext-0.121-r2 failed
Function econf, Line 449, Exitcode 1


I've restarted my install twice and restarted the bootstrap several times trying different CFLAGS, etc. I always get this same error. I've been through the installation guide thoroughly. Please assist.
Back to top
View user's profile Send private message
hhallii
n00b
n00b


Joined: 28 Dec 2004
Posts: 3

PostPosted: Tue Dec 28, 2004 3:47 am    Post subject: Reply with quote

I have since found the posts on this problem (https://forums.gentoo.org/viewtopic.php?t=252459) related to needing to emerge perl first. I am unable to emerge libperl (get the same error with gettext) but am trying to work around it now. Thanks in advance if there is any new info on this.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Dec 28, 2004 7:31 am    Post subject: Reply with quote

This problem doesn't look related to those bugs, those are problems with circular dependencies.
There are a few possibilities for why you're having trouble, first would be that your CFLAGS are really wrong and gcc errors out because of that. Another possibility is that your compiler may have changed and the environment was not updated. You can try running:
Code:

gcc-config -l
gcc-config <# of compiler profile to use>

to see what profiles/compilers are available and select the one you'd like to use. After this, you will need to update your environment settings with:
Code:

env-update && source /etc/profile


Post your CFLAGS if you feel they're causing problems.

Good Luck!
Back to top
View user's profile Send private message
hhallii
n00b
n00b


Joined: 28 Dec 2004
Posts: 3

PostPosted: Tue Dec 28, 2004 10:22 am    Post subject: Reply with quote

Well Sh@$#%t

I had a CFLAG mistake all this time. Man!! I must have looked at it a thousand times but I had '-mpcu' rather than '-mcpu'

Jeez. Thanks guys. bootstrap.sh is running now.
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