Mailing List Archive

solved: [gentoo-user] Cannot compile perl
Heinrich Rebehn wrote:
> seb wrote:
>
>> On Thu, 2004-10-14 at 10:27, Heinrich Rebehn wrote:
>>
>>> Hi list,
>>>
>>> emerge -u perl ends with:
>>>
>>> Finding dependencies for miniperlmain.o.
>>> Finding dependencies for perlmain.o.
>>> make[1]: Entering directory
>>> `/var/tmp/portage/libperl-5.8.4-r1/work/perl-5.8.4'
>>> echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH
>>> makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n'
>>> >.shlist
>>> make[1]: Leaving directory
>>> `/var/tmp/portage/libperl-5.8.4-r1/work/perl-5.8.4'
>>> Updating makefile...
>>> test -s perlmain.c && touch perlmain.c
>>> cd x2p; make depend
>>> make[1]: Entering directory
>>> `/var/tmp/portage/libperl-5.8.4-r1/work/perl-5.8.4/x2p'
>>> makefile:157: *** target pattern contains no `%'. Stop.
>>> make[1]: Leaving directory
>>> `/var/tmp/portage/libperl-5.8.4-r1/work/perl-5.8.4/x2p'
>>> make: *** [depend] Error 2
>>>
>>> !!! ERROR: sys-devel/libperl-5.8.4-r1 failed.
>>> !!! Function src_compile, Line 218, Exitcode 2
>>> !!! Couldn't make libperl.so depends
>>>
>>>
>>> What's wrong here?
>>>
>>> --Heinrich Rebehn
>>>
>>> --
>>> gentoo-user@gentoo.org mailing list
>>>
>>
>>
>> Hi Heinrich Rebehn,
>> i dont know where the problem is, but try it with: USE="perl" emerge
>> -u perl
>> perhaps that works.
>> so long, seb
>
>
> Thanks, but does not work - same result. :-(
>

Problem was: /dev and /proc were not mounted (was working in a chrooted
environment). After mounting, perl compiled fine.

--Heinrich

--
gentoo-user@gentoo.org mailing list