Allan Gottlieb wrote:
> At Mon, 15 May 2006 22:07:08 +0530 Farhan Ahmed <[EMAIL PROTECTED]> wrote:
> 
>> Allan Gottlieb wrote:
>>> My normal 
>>>
>>>    emerge --tree --ask --verbose --newuse --update --deep world
>>>
>>> produced the following
>>>
>>> [snip]
>>>
>>> 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
>>>
>>> ajglap ~ # ls  /usr/lib/gcc/i686-pc-linux-gnu
>>> 3.4.5
>>> ajglap ~ #
>> Try this
>>
>>   # gcc-config i686-pc-linux-gnu-3.4.5
>>   # source /etc/profile
> 
> Thanks, but this does not appear to help.
> 
> ajglap ~ # gcc-config i686-pc-linux-gnu-3.4.5
>  * Switching native-compiler to i686-pc-linux-gnu-3.4.5 ...               [ 
> ok ]
> ajglap ~ # source /etc/profile
> ajglap ~ # emerge --ask apmd
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [ebuild     U ] sys-apps/apmd-3.2.2_p5 [3.2.1_p4]
> 
> 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.0.ebuild
>>>> md5 files   ;-) apmd-3.2.1_p4.ebuild
>>>> md5 files   ;-) apmd-3.2.2_p5.ebuild
>>>> md5 files   ;-) files/apmsleep.c.diff
>>>> md5 files   ;-) files/apmd.rc6
>>>> md5 files   ;-) files/apmd-3.2.0.kernel26x.patch
>>>> md5 files   ;-) files/apmd.confd
>>>> md5 files   ;-) files/apmd.kernel26x.patch
>>>> 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/apmd-no-on_ac_power_script.patch
>>>> 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/inclu de -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/inclu de -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/inclu de -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/inclu de -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/inclu de -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 f ile 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
> ajglap ~ #
Hi,
Run "fix_libtool_files.sh 3.4.4", but first run it w/o arguments (3.4.4)
just to see the options.
Then run it again w/ required options.
HTH.Rumen
-- 
gentoo-user@gentoo.org mailing list

Reply via email to