Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with emerging perl
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
kwdagg
n00b
n00b


Joined: 15 Sep 2005
Posts: 2
Location: Canada

PostPosted: Thu Sep 15, 2005 1:23 am    Post subject: problem with emerging perl Reply with quote

i'm running
Code:
# emerge --emptytree system
as i was told to do in the handbook, and it was happily doing its thing until today when i got this...

Code:
>>> Source unpacked.
 * Using ExtUtils::MakeMaker
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i586-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/perl5/vendor_perl/5.8.6/i586-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i586-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-perl/Local-gettext-1.03 failed.
!!! Function perl-module_src_compile. Line 119. Exit code 2
!!! compilation failed
!!! If you need support, post topmost build error, NOT this status message.


if anyone knows how i can solve or skip this problem, please let me know
Thank You
Kyle Dagg
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Thu Sep 15, 2005 6:05 am    Post subject: Reply with quote

From this [Installation] emerge --emptytree system error (solved) moocha said
Quote:
Always emerge libperl and perl together, libperl before perl. Tears and suffering shalt await him who ignoreth that advice.


Code:
 emerge --oneshot libperl perl


Before doing so run "emerge --resume --skipfirst world -ep > build.lst" then run the above code. Now to resume your system emerge and not have to redo everthing agin
Code:
 for I in $( cut -f2 -d "]" -s build.lst |cut -f1 -d "[") ; do emerge --oneshot =$I  ;done


EDIT Added -p to the emerge ..... -ep > build.lst :oops:
_________________
An A-Z Index of the Linux BASH command line


Last edited by hielvc on Wed Jan 18, 2006 6:28 am; edited 1 time in total
Back to top
View user's profile Send private message
insanepl
n00b
n00b


Joined: 27 Dec 2004
Posts: 57

PostPosted: Tue Jan 17, 2006 12:56 pm    Post subject: Problems emerging system - perl-core/Test-Simple-0.62 Reply with quote

I'm installing gentoo 2005.1 from stage 1. I have done bootstrap (without any problems) but when I got to stage 2 there is an error while emerging Test-Simple-0.62:

Code:
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i386-linux (...) at Makefile.PL line 11.
BEGIN failed==compilation aborted al Makefile.PL line 11.
make: *** No targets specified and no makefile found. Stop.


I have cut a part of this message (using (...)) - if this list is imporatnt I will rewrite it again. So... I have googled but only thing I found was to remove 'minimal' flag from USE. I don't have such flag set so I don't know what to do now... This is my /etc/make.conf (oh, I'm using HP Compag nx7010 (Pentium-M 1.6)):

Code:
CFLAGS="-O2 -mcpu=i686 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="X aac acpi alsa bluetooth bmp cdr cups dvd dvdr encode gif -gnome gphoto2 gps -gtk -gtk2 jabber java javascript jpeg junit kde libwww mime mozilla mp3 mpeg nls pcmcia pda pdflib php png postgres qt quictime readline tidy tiff truetype unicode usb vcd wifi win32codecs wmf xmms xvid"


I did bootstrap with this settings. When this emerge error occurs for the first time i tried to emerge system once more without USE so I commented it but it didn't help.

Anyone can help?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue Jan 17, 2006 1:48 pm    Post subject: Reply with quote

Merged above post here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
brazzmonkey
Guru
Guru


Joined: 16 Jan 2005
Posts: 372
Location: between azerty keyboard and chair

PostPosted: Wed Jan 18, 2006 4:52 pm    Post subject: Reply with quote

same problem here... error when compiling Test-Simple (cf what insanepl wrote).
i tried to emerge libperl and perl but similar problem occured.

tonight i'll try to emerge ExtUtils-MakeMaker and see if it helps (i'm at work right now...)
Back to top
View user's profile Send private message
brazzmonkey
Guru
Guru


Joined: 16 Jan 2005
Posts: 372
Location: between azerty keyboard and chair

PostPosted: Wed Jan 18, 2006 6:36 pm    Post subject: Reply with quote

nope, couldn't compile ExtUtils-MakeMaker either... great ! i'm stocked here... i want gentoo but it doesn't seem to want me...

basically, the error message looks like the one mentioned here : https://forums.gentoo.org/viewtopic-t-418399-highlight-makefile.html
Back to top
View user's profile Send private message
om1d3
n00b
n00b


Joined: 08 Dec 2005
Posts: 11
Location: Buftea, România

PostPosted: Fri Jan 20, 2006 5:54 pm    Post subject: Reply with quote

Same problems here. I started again and now it's almost at the "perl-core/Test-Simple-0.62". If it doesn't work I'll try the solution suggested by hielve.
I'll come back with news.
_________________
I like money, but I'm not crazy about them. Seems the feeling is mutual.
Back to top
View user's profile Send private message
om1d3
n00b
n00b


Joined: 08 Dec 2005
Posts: 11
Location: Buftea, România

PostPosted: Fri Jan 20, 2006 10:26 pm    Post subject: Reply with quote

First I dumped the list of files to be mergerged into the system:
Code:
emerge --resume --skipfirst world -ep > build.lst

Then I tryed "emerge --oneshot libperl perl" but it served me tha same error, so I took it one at a time with -O
Code:
emerge -O libperl
emerge -O perl

Next let's get back where we were:
Code:
for I in $( cut -f2 -d "]" -s build.lst | cut -f1 -d "["); do emerge --oneshot=$I; done

So I guess this workaround is ok.
Thank you for this hielvc.
_________________
I like money, but I'm not crazy about them. Seems the feeling is mutual.
Back to top
View user's profile Send private message
SMoo
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jul 2004
Posts: 140
Location: Leander, TX

PostPosted: Tue Mar 21, 2006 9:48 pm    Post subject: Reply with quote

This fixed me right up on my new laptop!

Thanks a million!
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