Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
errors emerging
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mustafa
n00b
n00b


Joined: 11 Sep 2004
Posts: 42

PostPosted: Tue May 10, 2005 1:18 am    Post subject: errors emerging Reply with quote

hi guys, sorry if this is a bad place to put the topic, but anyway, i emerged gnome and it needs apmd, which fails to install, here's why:

Quote:
libtool --quiet --mode=link gcc -o libapm.la apmlib.lo -rpath /usr/lib -version-info 1:0
i686-pc-linux-gnu-g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../crti.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/crtbeginS.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/crtendS.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../crtn.o: No such file or directory
make: *** [libapm.la] Error 1
make: *** Waiting for unfinished jobs....
apmsleep.c:60: warning: `rcsid' defined but not used
rm apm.o

!!! ERROR: sys-apps/apmd-3.2.1_p4 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)
...


i saw some help doing a search but it didnt help at all... please, i need help.. any would be nice, thanks :)
_________________
i love gentoo forums, the best online community evah :)
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Tue May 10, 2005 1:25 am    Post subject: Reply with quote

Re-emerge GCC, switch to the same version using gcc-config, source /etc/profile and retry.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
dellaxim
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2005
Posts: 138

PostPosted: Tue May 10, 2005 1:27 am    Post subject: Reply with quote

it seems like your gcc compiler is error.
try to do
Code:
gcc-config -L

to find where is your gcc-config path then post the result
Back to top
View user's profile Send private message
mustafa
n00b
n00b


Joined: 11 Sep 2004
Posts: 42

PostPosted: Tue May 10, 2005 2:18 am    Post subject: Reply with quote

first solution didnt work, second here's the output:

Quote:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130


thanks again...
_________________
i love gentoo forums, the best online community evah :)
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Tue May 10, 2005 2:33 am    Post subject: Reply with quote

Hum. Ok, do you have those files on your system at all? In other words, is this a broken GCC issue, or a path issue? Here's mine:
Code:
mihai@moocha ~ $ ls -la /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crt*               
-rw-r--r--  1 root root 1708 Apr 14 10:25 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtbegin.o
-rw-r--r--  1 root root 2236 Apr 14 10:25 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtbeginS.o
-rw-r--r--  1 root root 2104 Apr 14 10:25 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtbeginT.o
-rw-r--r--  1 root root 1364 Apr 14 10:25 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtend.o
-rw-r--r--  1 root root 1564 Apr 14 10:25 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtendS.o
mihai@moocha ~ $ equery belongs -e /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtbeginS.o
[ Searching for file(s) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtbeginS.o in *... ]
sys-devel/gcc-3.3.5.20050130-r1 (/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtbeginS.o)

_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
mustafa
n00b
n00b


Joined: 11 Sep 2004
Posts: 42

PostPosted: Tue May 10, 2005 2:54 am    Post subject: Reply with quote

maybe we are talking about some package with those files?
should i check if my kernel has apm enabled?
what is apm? :S :oops:

thanks guys
_________________
i love gentoo forums, the best online community evah :)
Back to top
View user's profile Send private message
mustafa
n00b
n00b


Joined: 11 Sep 2004
Posts: 42

PostPosted: Tue May 10, 2005 3:07 am    Post subject: Reply with quote

ok, it's a path issue, i have the crt* files in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/
but while compiling it checks on /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5, how can i fix this???


btw thanks
_________________
i love gentoo forums, the best online community evah :)
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Tue May 10, 2005 3:10 am    Post subject: Reply with quote

Bleh... Ok, the quick and dirty (oh, how dirty!) workaround is:
Code:
cd /usr/lib/gcc-lib/i686-pc-linux-gnu
ln -s 3.3.5-20050130 3.3.5

_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
skarphace
n00b
n00b


Joined: 05 May 2005
Posts: 40

PostPosted: Mon May 23, 2005 11:59 pm    Post subject: Reply with quote

Thanks, I had the same problem. Woot, here I come gnome on my first gentoo install...
Back to top
View user's profile Send private message
Antares
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 184
Location: France

PostPosted: Fri May 27, 2005 3:24 pm    Post subject: Reply with quote

Thanks, I worked very well for me too :D :D :D :D
Back to top
View user's profile Send private message
cHicKi
n00b
n00b


Joined: 29 Aug 2005
Posts: 13

PostPosted: Thu Sep 08, 2005 6:31 pm    Post subject: Reply with quote

hmm..
ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130
...
emerge =sys-apps/apmd-3.2.1_p4
...
>>> sys-apps/apmd-3.2.1_p4 merged.
...
rm /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130
_________________
-c!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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