View previous topic :: View next topic |
Author |
Message |
mustafa n00b
Joined: 11 Sep 2004 Posts: 42
|
Posted: Tue May 10, 2005 1:18 am Post subject: errors emerging |
|
|
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 |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Tue May 10, 2005 1:25 am Post subject: |
|
|
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 |
|
|
dellaxim Tux's lil' helper
Joined: 04 Mar 2005 Posts: 138
|
Posted: Tue May 10, 2005 1:27 am Post subject: |
|
|
it seems like your gcc compiler is error.
try to do
to find where is your gcc-config path then post the result |
|
Back to top |
|
|
mustafa n00b
Joined: 11 Sep 2004 Posts: 42
|
Posted: Tue May 10, 2005 2:18 am Post subject: |
|
|
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 |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Tue May 10, 2005 2:33 am Post subject: |
|
|
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 |
|
|
mustafa n00b
Joined: 11 Sep 2004 Posts: 42
|
Posted: Tue May 10, 2005 2:54 am Post subject: |
|
|
maybe we are talking about some package with those files?
should i check if my kernel has apm enabled?
what is apm? :S
thanks guys _________________ i love gentoo forums, the best online community evah |
|
Back to top |
|
|
mustafa n00b
Joined: 11 Sep 2004 Posts: 42
|
Posted: Tue May 10, 2005 3:07 am Post subject: |
|
|
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 |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Tue May 10, 2005 3:10 am Post subject: |
|
|
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 |
|
|
skarphace n00b
Joined: 05 May 2005 Posts: 40
|
Posted: Mon May 23, 2005 11:59 pm Post subject: |
|
|
Thanks, I had the same problem. Woot, here I come gnome on my first gentoo install... |
|
Back to top |
|
|
Antares Apprentice
Joined: 04 Apr 2005 Posts: 184 Location: France
|
Posted: Fri May 27, 2005 3:24 pm Post subject: |
|
|
Thanks, I worked very well for me too |
|
Back to top |
|
|
cHicKi n00b
Joined: 29 Aug 2005 Posts: 13
|
Posted: Thu Sep 08, 2005 6:31 pm Post subject: |
|
|
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 |
|
|
|