Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem emerge apmd [fixed]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
stupidkid
Apprentice
Apprentice


Joined: 17 Apr 2006
Posts: 247
Location: 127.0.0.1

PostPosted: Sun May 14, 2006 11:31 pm    Post subject: Problem emerge apmd [fixed] Reply with quote

Hi, I'm relatively new to Linux/Gentoo and when try to emerge apmd but I always get an error.

Code:
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-apps/apmd-3.2.2_p5  +X +nls 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No]
>>> emerge (1 of 1) sys-apps/apmd-3.2.2_p5 to /
>>> md5 files   ;-) apmd-3.0.2-r3.ebuild
>>> md5 files   ;-) apmd-3.2.2_p5.ebuild
>>> md5 files   ;-) apmd-3.2.0.ebuild
>>> md5 files   ;-) apmd-3.2.1_p4.ebuild
>>> md5 files   ;-) files/apmd-no-on_ac_power_script.patch
>>> md5 files   ;-) files/apmd-3.2.0.kernel26x.patch
>>> md5 files   ;-) files/apmd.kernel26x.patch
>>> md5 files   ;-) files/apmd.confd
>>> md5 files   ;-) files/apmsleep.c.diff
>>> md5 files   ;-) files/apmd.rc6
>>> md5 files   ;-) files/apmsleep.c.diff.3.2.0
>>> md5 files   ;-) files/digest-apmd-3.0.2-r3
>>> md5 files   ;-) files/digest-apmd-3.2.0
>>> md5 files   ;-) files/digest-apmd-3.2.1_p4
>>> md5 files   ;-) files/digest-apmd-3.2.2_p5
>>> md5 src_uri ;-) apmd_3.2.2.orig.tar.gz
>>> md5 src_uri ;-) apmd_3.2.2-5.diff.gz
>>> Unpacking source...
>>> Unpacking apmd_3.2.2.orig.tar.gz to /var/tmp/portage/apmd-3.2.2_p5/work
>>> Unpacking apmd_3.2.2-5.diff.gz to /var/tmp/portage/apmd-3.2.2_p5/work
 * Applying apmd_3.2.2-5.diff ...                                                                                                                      [ ok ] * Applying apmd-no-on_ac_power_script.patch ...                                                                                                       [ ok ]>>> Source unpacked.
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmlib.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apm.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmd.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" -DNARROWPROTO xapm.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
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/i686-pc-linux-gnu/3.4.4/../../../crti.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../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.2_p5 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Does anyone know what's wrong and how can I fix this?

Thanks in advance.


Last edited by stupidkid on Mon May 15, 2006 12:16 am; edited 1 time in total
Back to top
View user's profile Send private message
munsen
n00b
n00b


Joined: 15 Jan 2005
Posts: 49
Location: Pennsylvania

PostPosted: Mon May 15, 2006 12:06 am    Post subject: Reply with quote

re-emerge libtool then fixlibtool_files.sh 3.4 should fix it up.
Back to top
View user's profile Send private message
stupidkid
Apprentice
Apprentice


Joined: 17 Apr 2006
Posts: 247
Location: 127.0.0.1

PostPosted: Mon May 15, 2006 12:14 am    Post subject: Reply with quote

munsen wrote:
re-emerge libtool then fixlibtool_files.sh 3.4 should fix it up.

Thank you very much!!

Can you explain what does libtool do and the command fix_libtool_files.sh 3.4?
Back to top
View user's profile Send private message
prosys
n00b
n00b


Joined: 20 Aug 2004
Posts: 26
Location: Lousada - Portugal

PostPosted: Mon May 15, 2006 12:27 am    Post subject: Reply with quote

why doesn't emerge do that instead of doing it manualy ?
Back to top
View user's profile Send private message
munsen
n00b
n00b


Joined: 15 Jan 2005
Posts: 49
Location: Pennsylvania

PostPosted: Mon May 15, 2006 3:31 pm    Post subject: Reply with quote

Portage only checks that libtool is there. It doesnt factor in that libtool needs to be re-emerged since it is already there. Other than that, I dont know myself.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue May 16, 2006 7:28 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of jpeg-6b-r4 fails to compile, fix_libtool_files.sh is no help.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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