View previous topic :: View next topic |
Author |
Message |
Tumblecat n00b

Joined: 18 Mar 2005 Posts: 7 Location: Connecticut
|
Posted: Fri Mar 18, 2005 5:38 pm Post subject: "you need Perl 5" error [SOLVED] |
|
|
mod edit -- sticky. pilla
mod edit -- unstuck. deathwing00
Hi, I started installing Gentoo from the "Universal CD" last night.
I got through part of a Stage 1 install, typed scripts/bootstrap.sh -f, and left it overnight. This morning the machine was patiently waiting. I typed emerge system, waited for a few minutes, things seemed to be going well, so I left to go do some work on ... well, the W*nd*ws 2000 system.
When I went back downstairs, I was greeted with the message:
operating system: i686-whatever-linux2
you need Perl 5
This happened on
usr/portage/distfiles/openssl-0.9.7e.tar.gz saved
applying openssl-0.9.7e-tempfile.patch
(several more lines that substituted something for tempfile)
source unpacked
The machine stalled there, with config failed.
I apologize if this is a FAQ, but a search didn't turn up anything about needing Perl 5.
My questions are: Is this a known problem? And what do I have to do now to complete a successful installation of Gentoo Linux?
I'm beyond new; the last OS I installed was Windows 2000, and before that it was DOS 6 or something. (Okay, so I'm old.)
Thank you in advance for suggestions and advice!
Last edited by Tumblecat on Sun Mar 20, 2005 8:56 pm; edited 1 time in total |
|
Back to top |
|
 |
donjuan l33t


Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Fri Mar 18, 2005 5:45 pm Post subject: |
|
|
Bootstrapping on 2004.3 has caused quite a few people grief. That's why Bob P wrote the Stage 1 on 3 Install.
However, in your case it looks like you never actually bootstrapped. Code: | scripts/bootstrap.sh -f | just fetches the sources, it doesn't actually do anything with them. You still need to bootstrap, without the -f flag. _________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
 |
Tumblecat n00b

Joined: 18 Mar 2005 Posts: 7 Location: Connecticut
|
Posted: Fri Mar 18, 2005 8:05 pm Post subject: |
|
|
donjuan wrote: | However, in your case it looks like you never actually bootstrapped. |
My mistake. On reviewing the command-line history, I learned that I didn't apply the -f flag. Gentoo does think I'm bootstrapped.
On first glance, the Stage 1 on 3 Install document looks a bit much for my shoulder pumpkin, but one of the things that brought me here is that Gentoo's documentation, what I've seen of it so far, is of exceptional quality. So I'll print it out tonight and see what I can learn.
Thanks! |
|
Back to top |
|
 |
Tumblecat n00b

Joined: 18 Mar 2005 Posts: 7 Location: Connecticut
|
Posted: Sat Mar 19, 2005 4:50 am Post subject: |
|
|
donjuan wrote: | Bootstrapping on 2004.3 has caused quite a few people grief. That's why Bob P wrote the Stage 1 on 3 Install. |
Just to clarify: should I be following the instructions in Bob P's documentation instead of what is in the installation guide, wherever the two documents talk about the same things?
I actually started this as a Stage 1 install, and did the "progressing from Stage 1 to Stage 2" (bootstrapping), apparently successfully, and got hung up on "progressing from Stage 2 to Stage 3" because the emerge system procedure failed. So I'm not sure if there is stuff in this tutorial that is crazy for me to be doing.
I assume I just type the lines from Bob P's make.conf file in section 6.5 into my own make.conf file?
TIA.
.....In between work and having to haul our good dog off to the vet this afternoon, the laptop has been sitting downstairs all day, just waiting for a power failure! |
|
Back to top |
|
 |
slycordinator Advocate


Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Sat Mar 19, 2005 10:40 am Post subject: |
|
|
Tumblecat wrote: | donjuan wrote: | Bootstrapping on 2004.3 has caused quite a few people grief. That's why Bob P wrote the Stage 1 on 3 Install. |
Just to clarify: should I be following the instructions in Bob P's documentation instead of what is in the installation guide, wherever the two documents talk about the same things? |
Where the 2 talk about the same thing and disagree, it's most likely because the whole idea behind Bob P's guide is quite different from the standard guide.
Like, the install guide will mention entering the command but Bob P's guide uses . |
|
Back to top |
|
 |
Bob P Advocate


Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Sat Mar 19, 2005 4:01 pm Post subject: |
|
|
wait a second -- whatever you do, don't choose bits and pieces from one installation method, and intersperse them with bits and pieces from another installation method. the result will be trouble!
choose one installation method (it doesn't matter which one) and follow it dogmatically. otherwise, you will run into all sorts of problems.
it sounds like yoiu may have run into a circular dependency issue on perl. to be certain, it would be helpful if you could post the EXACT screen output instead of paraphrasing what you see onscreen. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
 |
Bob P Advocate


Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Sat Mar 19, 2005 4:29 pm Post subject: |
|
|
slycordinator wrote: | Where the 2 talk about the same thing and disagree, it's most likely because the whole idea behind Bob P's guide is quite different from the standard guide.
Like, the install guide will mention entering the command but Bob P's guide uses . |
although these two commands may look familiar on the surface, the first one is performed in the context of a Stage 1 install to create the system, and the second is performed in the context of a Stage 3 install to forcibly rebuilt it -- they are vastly different in what they do to your system. in reality, there is nothing similar about the actions that they perform in the context of installing gentoo.
i think its dangerous to dangle information like that before a new user who may not fully appreciate the nature of the commands. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
 |
Tumblecat n00b

Joined: 18 Mar 2005 Posts: 7 Location: Connecticut
|
Posted: Sat Mar 19, 2005 9:58 pm Post subject: |
|
|
Bob P wrote: | it sounds like yoiu may have run into a circular dependency issue on perl. to be certain, it would be helpful if you could post the EXACT screen output instead of paraphrasing what you see onscreen. |
The following is what I have on the screen. There are a couple of lines at the top of the screen that look like a successful completion of the previous process and an HTTP connection to adelie.polymtl.ca. I can type that out if needed, too. Anything that really looks weird here might be a transcription error.
Code: |
09:50:53 (158.96 Kb/s) 'usr/portage/distfiles/openssl-0.9.7e.tar.gz' saved [3043231/3043231]
>>> md5 src-uri ;-) openssl-0.9.7e.tar.gz
>>> md5 src-uri ;-) openssl-0.9.6m.tar.gz
>>> unpacking source
>>> unpacking openssl-0.9.7e.tar.gz to /var/tmp/portage/openssl-0.9.7e/work
>>> unpacking openssl-0.9.6m.tar.gz to /var/tmp/portage/openssl-0.9.7e/work
* applying openssl-0.9.7c-tempfile.patch
* applying openssl-0.9.73-gentoo.patch
* applying openssl-0.9.7-arm-big-endian.patch
* applying openssl-0.9.7.hppa-fix-detection.patch
* applying openssl-0.9.7-alpha-default-gcc.patch
>>> source unpacked
Operating system: i686-whatever-linux2.
You need Perl 5.
!!! ERROR: dev-libs/openssl-0.9.7e failed.
!!! function src-compile, line 146, Exitcode 1
!!! config failed
!!! If you need support, post the topmost build error, NOT this status message
|
At which point I was returned to the prompt.
Best wishes,
Eddie |
|
Back to top |
|
 |
slycordinator Advocate


Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Sat Mar 19, 2005 11:15 pm Post subject: |
|
|
Bob P wrote: |
although these two commands may look familiar on the surface, the first one is performed in the context of a Stage 1 install to create the system, and the second is performed in the context of a Stage 3 install to forcibly rebuilt it -- they are vastly different in what they do to your system. in reality, there is nothing similar about the actions that they perform in the context of installing gentoo.
i think its dangerous to dangle information like that before a new user who may not fully appreciate the nature of the commands. |
I was using it to point out that they were both different. I was gonna explain the difference in meaning from the 2 but it was getting late. |
|
Back to top |
|
 |
slycordinator Advocate


Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Sat Mar 19, 2005 11:18 pm Post subject: |
|
|
Tumblecat wrote: | Bob P wrote: | it sounds like yoiu may have run into a circular dependency issue on perl. to be certain, it would be helpful if you could post the EXACT screen output instead of paraphrasing what you see onscreen. |
The following is what I have on the screen. There are a couple of lines at the top of the screen that look like a successful completion of the previous process and an HTTP connection to adelie.polymtl.ca. I can type that out if needed, too. Anything that really looks weird here might be a transcription error.
Code: |
09:50:53 (158.96 Kb/s) 'usr/portage/distfiles/openssl-0.9.7e.tar.gz' saved [3043231/3043231]
>>> md5 src-uri ;-) openssl-0.9.7e.tar.gz
>>> md5 src-uri ;-) openssl-0.9.6m.tar.gz
>>> unpacking source
>>> unpacking openssl-0.9.7e.tar.gz to /var/tmp/portage/openssl-0.9.7e/work
>>> unpacking openssl-0.9.6m.tar.gz to /var/tmp/portage/openssl-0.9.7e/work
* applying openssl-0.9.7c-tempfile.patch
* applying openssl-0.9.73-gentoo.patch
* applying openssl-0.9.7-arm-big-endian.patch
* applying openssl-0.9.7.hppa-fix-detection.patch
* applying openssl-0.9.7-alpha-default-gcc.patch
>>> source unpacked
Operating system: i686-whatever-linux2.
You need Perl 5.
!!! ERROR: dev-libs/openssl-0.9.7e failed.
!!! function src-compile, line 146, Exitcode 1
!!! config failed
!!! If you need support, post the topmost build error, NOT this status message
|
At which point I was returned to the prompt.
Best wishes,
Eddie |
You got the classic perl circular dependency problem. openssl depends on perl but when you try to do "emerge system" it wants to install perl later.
Problems like this (and more) are why Bob P made the stage 1 on 3 install guide. |
|
Back to top |
|
 |
Bob P Advocate


Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Sat Mar 19, 2005 11:41 pm Post subject: |
|
|
problems with perl circular dependencies in stage 1 installs with 2004.3 media are well documented. if you try a search for "stage perl" you'll find plenty of hits. here's one:
https://forums.gentoo.org/viewtopic-t-252459.html
the quick and dirty fix is to try this: Code: | emerge libperl && emerge libperl && emerge system |
report back after you do this and let us know how it worked. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
 |
Tumblecat n00b

Joined: 18 Mar 2005 Posts: 7 Location: Connecticut
|
Posted: Sun Mar 20, 2005 3:03 am Post subject: |
|
|
Bob P wrote: | let us know how it worked. |
It worked! I'm off to view the Gentoo Kernel Guide now.
Thanks, everybody. This is becoming really interesting. |
|
Back to top |
|
 |
Bob P Advocate


Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
|
Back to top |
|
 |
Bob P Advocate


Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
|
Back to top |
|
 |
Tumblecat n00b

Joined: 18 Mar 2005 Posts: 7 Location: Connecticut
|
Posted: Sun Mar 20, 2005 9:04 pm Post subject: |
|
|
Subject modified Thanks again!
I'm going to take a deep breath (and meet a couple of work-a-job deadlines) before venturing into the undergrowths of GRUB configuration. No doubt, I'll be back in a few days. |
|
Back to top |
|
 |
axelolsson n00b

Joined: 30 Dec 2004 Posts: 4
|
Posted: Mon Jun 06, 2005 10:30 am Post subject: |
|
|
Removing java from my USE flag during emerge -e system fixed the dep. problem. Perl was emerged before openssl etc.
I noticed that with java enabled X would be emerged and also alsa, which would fail by not having a correct kernel version (well we still are on the LiveCD..) |
|
Back to top |
|
 |
Mighty_Marcellus n00b

Joined: 08 Jun 2005 Posts: 7
|
Posted: Wed Jun 08, 2005 10:26 pm Post subject: |
|
|
Same for me!
Had also this error. Then after axelolsson post I removed java from the USE flag => and now it works!
Thanks for the tip. _________________ Greetz
Marcel |
|
Back to top |
|
 |
fidel Guru


Joined: 16 Jul 2004 Posts: 407 Location: CH
|
Posted: Mon Jun 20, 2005 10:57 am Post subject: |
|
|
Quote: | Quote: | slycordinator hat folgendes geschrieben::
Where the 2 talk about the same thing and disagree, it's most likely because the whole idea behind Bob P's guide is quite different from the standard guide.
Like, the install guide will mention entering the command Code:
emerge system
but Bob P's guide uses Code:
emerge -e system
|
although these two commands may look familiar on the surface, the first one is performed in the context of a Stage 1 install to create the system, and the second is performed in the context of a Stage 3 install to forcibly rebuilt it
|
Geee, I ran into couple of problems emerging the system after bootstraping. One and the first problem was concerning the compilation of perl, others came...
After I gave up trying to succeed with
I just ran
and it worked.....
Strange though: After bootstraping I get the message, blablabla something like: "build your system with emerge -e system"...
after booting up the system I tried to "complete" the installation and thought, It cannot hurt to emerge everything with a running system again, so I tried
again. Did not work! Still I can boot the system and everything seems to work perfectly!.. Now I am merging (or trying to.. I'll see later on..) gnome. After
Code: | #emerge -pv gnome xscreensaver |
I got strange messages concerning sed stuff. It seemed that portage fixed something and after a new
Code: | #emerge -pv gnome xscreensaver |
the messages did not appear any more...
--> Suspensful moment to check if the merging of gnome worked...
greets
fidel |
|
Back to top |
|
 |
ECantona n00b

Joined: 26 Apr 2005 Posts: 65
|
Posted: Wed Jun 22, 2005 3:44 pm Post subject: |
|
|
I also had the perl 5 dependency problem while installing from stage2 on amd64 system. I also had java on my use flags. And I solved the problem with I hope I didn't do anything wrong. |
|
Back to top |
|
 |
fidel Guru


Joined: 16 Jul 2004 Posts: 407 Location: CH
|
Posted: Wed Jun 22, 2005 4:19 pm Post subject: |
|
|
Since there are (I guess!!!...) no absolutely needed use flags compiling perl:
Code: | # emerge -pv perl
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] dev-lang/perl-5.8.5-r5 +berkdb -debug -doc +gdbm -ithreads -perlsuid |
in order to get a working system, you should be able to get it that way. On the other hand I found out, that one of the problems for me was, that even though I had gcc-3.4.4 emerged and that
Code: | # gcc-config -l
[1] i386-pc-linux-gnu-3.3.5
[2] i386-pc-linux-gnu-3.3.5-hardened
[3] i386-pc-linux-gnu-3.3.5-hardenednopie
[4] i386-pc-linux-gnu-3.3.5-hardenednossp
[5] i686-pc-linux-gnu-3.4.4 *
[6] i686-pc-linux-gnu-3.4.4-hardened
[7] i686-pc-linux-gnu-3.4.4-hardenednopie
[8] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[9] i686-pc-linux-gnu-3.4.4-hardenednossp
|
it was already in use, portage wanted to emerge 3.3.5.20050130-r1, not having already emerged libstdc++. This caused the emerge to fail. I "solved" that problem by
Code: | #echo "<sys-devel/gcc-3.4.4" >> /etc/portage/package.mask |
Portage then didn't "want" to emerge 3.3.5.20050130-r1 anymore. Why should it?!... My emerge system went all the way through and I was able to run
Code: | #emerge -u --deep --newuse world |
greets
fidel |
|
Back to top |
|
 |
atrus123 Guru


Joined: 06 Jul 2005 Posts: 339 Location: Annapolis, MD
|
Posted: Mon Jul 11, 2005 7:25 am Post subject: |
|
|
I just ran into this same error and ran: emerge perl before emerging systemtree again.
Hope I didn't do anything wrong. I'd hate to wake up tomorrow to find that I've got to do it all over again.
J. |
|
Back to top |
|
 |
atrus123 Guru


Joined: 06 Jul 2005 Posts: 339 Location: Annapolis, MD
|
Posted: Mon Jul 11, 2005 2:44 pm Post subject: |
|
|
My solution worked.
J. |
|
Back to top |
|
 |
tld Veteran

Joined: 09 Dec 2003 Posts: 1612
|
Posted: Wed Aug 03, 2005 4:20 pm Post subject: |
|
|
I ran into this bug for the first time this morning doing a stage 1 install on my system at home. I got around it the same way that atrus123 did...that is, I emerged perl (which completed without errors) and then reran 'emerge -e system'. It appeared to be going fine when I left the house.
My question is this: will I need to (or would it be a good idea to) emerge perl again after I'm all done in case of missing features due to this workaround? If so, will I have to specify --newuse?
Thanks!
Tom |
|
Back to top |
|
 |
nixnut Bodhisattva


Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Aug 03, 2005 5:49 pm Post subject: |
|
|
It won't hurt, but it's not necessary. --newuse is only for when you change your use flags in /etc/make.conf _________________ 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 |
|
 |
ProphetPX n00b

Joined: 10 Sep 2005 Posts: 3 Location: near Albany, NY, USA
|
Posted: Sat Sep 10, 2005 2:19 am Post subject: |
|
|
hi
I had this SAME EXACT perl problem that the 1st guy on this post here had, but I seemed to have solved it myself just by downloading a perl tarball and installing it manually. Only because I had not thought of coming here to see the solution you all had posted.
Now, having said that I installed a PERL 5.8.7 tarball manually in order to fix my OpenSSL dependency problem, the rest of the emerge install seemed to go without a hitch, but what I want to know is, will it have damaged or upset my system since I went about installing it manually (ie: by following the INSTALL instructions inside the Perl 5.8.7 tarball) instead of coming here and doing that "quick and dirty fix" which one of you posted?
I am trying to install Gentoo 2005.0 with the following flags:
-march=pentium3 -j2 -O3 -fforce-addr -fomit-frame-pointers
I have a Pentium 3 @ 1.0 GHz, 384M RAM, 768M swap, and plenty of hard drive space (except in /var which is on its own partition i am rapidly running out of room ... sighs!!!)
I need to know if the manual way that I installed PERL via a tarball will pose any problems?
please reply privately as I am typing all of this using Links2 during the installation phase and I cannot see any images and its much easier for me to get immediate help via private message (you can CC the reply to this board if you like but its faster for me to get out of trouble if I can go right to where the help is, instead of searching the forum for wherever the reply was posted (I won't remember) lol
thank you!
[quote="Bob P"]problems with perl circular dependencies in stage 1 installs with 2004.3 media are well documented. if you try a search for "stage perl" you'll find plenty of hits. here's one:
https://forums.gentoo.org/viewtopic-t-252459.html
the quick and dirty fix is to try this:[code]emerge libperl && emerge libperl && emerge system[/code]
report back after you do this and let us know how it worked.[/quote] _________________ --ProphetPX |
|
Back to top |
|
 |
|