Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot find perl
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
TwoSheds
n00b
n00b


Joined: 25 Jan 2004
Posts: 8

PostPosted: Sun Jan 25, 2004 10:19 pm    Post subject: cannot find perl Reply with quote

darn installation was going so well

emerge cant find perl in the perl server.
i checked the perl server with ftp and indeed the file is not there
it is looking for version 8.3.0 and the closest to that is 8.3.1

anyone know why? (i tried redoing the sync command etc.)

TwoSheds

(i would attach an image of problem, but there doesnt seem to be an attachement feature. anyone have anywhere i can upload the image too if needed?)

ps. thanks for any help in advance
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Sun Jan 25, 2004 10:37 pm    Post subject: hi Reply with quote

hello,

umm let me see if I can help.
If something like this is broken and you need a workaround the best is sometimes to add the package to package.mask. A quick way is like this (AS ROOT)



Code:
echo "dev-lang/perl-5.8.3" >> /usr/portage/profiles/package.mask



this will tell portage to ignore that particular version and (if there is an earlier ebuild available) it will build the older one. The drawback is that then you will need to remember to remove that line from package.mask and emerge again if you want to try the newer version again. I am assuming that you are more concerned with getting your system running at this point, rather than the slight changes in perl since the last minor version. You might not want to use this trick if you are a big time perl developer or whatever.

later
uglyman
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Sun Jan 25, 2004 10:41 pm    Post subject: Reply with quote

btw another workaround is to edit the dev-lang/perl-vers.ebuild yourself and just change that version number, but if you don't feel comfortable with that, you can just do like I said above. also, if you have time you might want to report this at bugs.gentoo.org

later
uglyman
Back to top
View user's profile Send private message
TwoSheds
n00b
n00b


Joined: 25 Jan 2004
Posts: 8

PostPosted: Sun Jan 25, 2004 10:45 pm    Post subject: Reply with quote

hey thanks

i will report the bug now

yeah there are newer versions on the server so i will just get one of those, but didnt know how before

thankyou once again, and no i am not a perl developer (php roxors perl imo :D)

TwoSheds
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Sun Jan 25, 2004 11:13 pm    Post subject: Reply with quote

no problem, glad to help!

I actually didn't know how to use package.mask until recently. I was in the irc channel and rac explained it. It is much better than emerge /path/to/.ebuild because that sometimes breaks things.

if you are editing the ebuild sometimes you will find that old patches don't fit on new source, so I usually try to comment out any epatch lines that cause an error. also you may want to keep a copy of your ebuilds somewhere outside of the tree because they will be wiped out the next time you emerge sync, which is ok if the new version has been added to portage, but sometimes it takes a while.

later
Back to top
View user's profile Send private message
TwoSheds
n00b
n00b


Joined: 25 Jan 2004
Posts: 8

PostPosted: Sun Jan 25, 2004 11:39 pm    Post subject: Reply with quote

ok tried that, didnt work. i think you misunderstood mmy question.

well actually my question was wrong :P

i am running the emerge system command in the installer, for stage 2.

this is when i encounter the error. that second file you mention doesnt exist, and adding to the first one made no difference.

any more ideas?

TwoSheds
Back to top
View user's profile Send private message
TL_Amitola
n00b
n00b


Joined: 25 Jan 2004
Posts: 69
Location: Utah, USA

PostPosted: Sun Jan 25, 2004 11:55 pm    Post subject: Reply with quote

I had the same problem, but I think you have your version numbers messed up. A quick look at www.Perl.org shows that the current release is 5.8.3 -- my problem was that it wanted 5.8.0 which is no longer contained on their servers. I found a copy of it elsewhere (one place it currently resides is: http://www.lfs-es.org/packages/5.0/perl-5.8.0.tar.bz2 )
I believe I used the following command.
Code:

wget http://www.lfs-es.org/package/5.0/perl-5.8.0.tar.bz2


Then I found where it dled to (probably the current directory or the ~/ directory). Then I just put it into the /usr/portage/disfiles directory... Then I ran the emerge again, it found that I had the file, opened it up, compiled, and made it... All was well. I hope this helps you out.
Back to top
View user's profile Send private message
bungernut
Apprentice
Apprentice


Joined: 24 Jan 2004
Posts: 173

PostPosted: Mon Jan 26, 2004 12:35 am    Post subject: but why Reply with quote

I want to know why gentoo isent using perl-5.8.3. this is mildly fustrating. Im having the same problem with coreutils-5.0.91 and who know what else beyond these.
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Mon Jan 26, 2004 12:37 am    Post subject: Reply with quote

umm. the full path to the perl ebuild on default systems is
/usr/portage/dev-lang/perl/perl/perl-5.8.3.ebuild

are you saying that this file doesn't exist? or did I confuse you with my short-hand writing.

ok I think I should apologize, I always use the ACCEPT_KEYWORDS=~arch because I want experimental packages in order to find bugs. I didn't check to carefully with the versions of the perl ebuild.

(EDIT:) I fixed my stupid typo in the code line below, please reread if you read it right after I posted it!

the thing you should add to package.mask is 5.8.0 I think. not 5.8.3 like I said before.
so it should look like:
Code:
echo "dev-lang/perl-5.8.0" >> /usr/portage/profiles/package.mask


this will drop you back to whatever version was marked stable before that. If you don't want to use the older version you can read on:

I have one other thing you can try.
edit your /etc/make.conf.

uncomment the line that says ACCEPT_KEYWORDS....

then change the word arch to x86 (assuming you are on an x86 architecture)
so the whole line should look like this:
Code:
ACCEPT_KEYWORDS="~x86"
The '~' means you want to accept experimental packages. There are newer ebuilds for perl marked experimental, but I am using the newest one (5.8.3) which seems to work.

Last edited by uglyman on Mon Jan 26, 2004 12:40 am; edited 2 times in total
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Mon Jan 26, 2004 12:39 am    Post subject: Reply with quote

sorry to keep reposting:

I was thinking you should make sure to delete the first addition to package.mask that I told you to make, if you intend to use the experimental package method!
Back to top
View user's profile Send private message
bungernut
Apprentice
Apprentice


Joined: 24 Jan 2004
Posts: 173

PostPosted: Mon Jan 26, 2004 12:58 am    Post subject: About perl 5.8.0 Reply with quote

it dosent exist. Ok so someone said they found it earlier, but then im not able to find coreutils-5.0.91 (also dosent exist, all mirrors call it coreutils-5.0) so why are all my files (the files names that dont exist) messed up, people must install daily so does it work for them?? Im also posting in form called " no such file coreutils-5.0.91-r4" if you want to read up on the stuff ive been trying/learning. I have emerge sync 'd today but downloading stuff that is old?? I have the perl-5.8.3.ebuild but it gives me errors about dependancies.
Back to top
View user's profile Send private message
Coln Sanders
n00b
n00b


Joined: 26 Jan 2004
Posts: 5

PostPosted: Mon Jan 26, 2004 3:17 am    Post subject: Reply with quote

I am also having quite a few problems installing Gentoo on my old computer (Athlon 750). I got the "couldn't download perl" message, and I tried to do some of the things mentioned in this thread, but none of them worked. I tried to get it with the 'wget' command, and that said http 404 not found, and I tried the echo command also, and that also didn't work. I have been trying to install Gentoo for about 4 or 5 days now.... It just never seems to work. Need lots of help... lol.
_________________
-Athlon XP 2600+
-Albatron KX18D Pro II
-2 Hitatchi 80gb SATA, raid0
-Radeon 9800SE, upgrading to X800XL
-1gb DDR400 PDP Dual Channel RAM
-Thermaltake Tsunami Dream case
-Ultra X-connect PSU
-20 gb HDD with Gentoo Linux
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Mon Jan 26, 2004 3:28 am    Post subject: Reply with quote

hi,
I have been talking to bungernaught on yahoo. it sounds like this is the problem:

the most recent stable perl ebuild no longer works because the file is no longer on the server.

there are newer ebuilds that seem to work, but they are marked experimental.

Portage does not try to use experimental packages unless you tell it
ACCEPT_KEYWORDS=~x86
in make.conf. so anyone using the stable, (default) ebuilds cant emerge perl with a standard emerge portage command right now.

I dont see this in bugzilla yet so I will turn it in. hopefully they will either mark one of the experimental ebuilds stable or repair the broken ones.

good luck
uglyman
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Mon Jan 26, 2004 3:52 am    Post subject: Reply with quote

don't know if anyone beat me to it, but I just submitted this bug

https://bugs.gentoo.org/show_bug.cgi?id=39410

jadd yourself to the CC at the top if you want email about the progress.
later
uglyman
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon Jan 26, 2004 4:17 am    Post subject: Reply with quote

I think the real bug here is the fact that mirrorselect doesn't always work correctly.

A lot of people are having trouble with failed downloads because their /etc/make.conf does not contain any mirrors on the "GENTOO_MIRRORS=" line. You can check what mirrors you have selected (and other settings) like this.
Code:
# emerge --info
Back to top
View user's profile Send private message
TwoSheds
n00b
n00b


Joined: 25 Jan 2004
Posts: 8

PostPosted: Mon Jan 26, 2004 8:36 am    Post subject: Reply with quote

hey sorry to not post back in a while, in uk here with gmt+0 so it was night time.

need to go to school now, but it still isnt working

as people have said that link mentioned earlier is now dead, and the emerge package still seems wrong.

i am going to wait until it gets sorted before i continue, as i have a fresh windows instalation on this pc that needs to be set up anyway so there is plenty for me to do!

hopefully the perl people will notice the huge amount of 404s in there error log and replace the file since they realise that somewhere is linking to it? even if they dont gentoo should be able to fix the emerge system thing shortly :D

thanks for all your help :) ,now that loads of people have had same problem they should fix it.

TwoSheds
Back to top
View user's profile Send private message
Coln Sanders
n00b
n00b


Joined: 26 Jan 2004
Posts: 5

PostPosted: Mon Jan 26, 2004 4:10 pm    Post subject: Reply with quote

Cyrillic, what should I put in my GENTOO_MIRROR= line? Right now, I don't have anything in there.

*edit*- I downloaded the latest version of perl, but how do I get emerge system to look for 5.8.3 instead of .0? Or should I just download .0 and then emerge?
_________________
-Athlon XP 2600+
-Albatron KX18D Pro II
-2 Hitatchi 80gb SATA, raid0
-Radeon 9800SE, upgrading to X800XL
-1gb DDR400 PDP Dual Channel RAM
-Thermaltake Tsunami Dream case
-Ultra X-connect PSU
-20 gb HDD with Gentoo Linux
Back to top
View user's profile Send private message
TwoSheds
n00b
n00b


Joined: 25 Jan 2004
Posts: 8

PostPosted: Mon Jan 26, 2004 7:23 pm    Post subject: Reply with quote

i tried downloading the file needed from another source and puting it into /usr/portage/distfiles (or something to that effect). that was where the emerge was trying to put it, but when i run emerge it still tries to download it.

how do i make it know that its there?

TwoSheds

ps. thanks for the help
Back to top
View user's profile Send private message
Canucklehead
n00b
n00b


Joined: 27 Jan 2004
Posts: 3

PostPosted: Tue Jan 27, 2004 5:04 am    Post subject: Reply with quote

Just wanted to say I too am having this problem - can someone post a little more information on the issue with mirrorselect to hopefully bypass this? I'm stuck with Perl being 1 of 68 packages to install... :(
Back to top
View user's profile Send private message
bungernut
Apprentice
Apprentice


Joined: 24 Jan 2004
Posts: 173

PostPosted: Tue Jan 27, 2004 5:12 pm    Post subject: So now giving unstable a try Reply with quote

Im stuck on emerge system, coreutils-5.0.91. I was going to give a mask a try when i noticed i dont know where the file to mask even is???
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Jan 28, 2004 3:22 am    Post subject: Reply with quote

Coln Sanders wrote:
Cyrillic, what should I put in my GENTOO_MIRROR= line? Right now, I don't have anything in there.

Mine currently looks like this (all on one line BTW).
Code:
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"

Just choose a few mirrors from the list here :
http://www.gentoo.org/main/en/mirrors.xml
Back to top
View user's profile Send private message
tubbinator
n00b
n00b


Joined: 28 Jan 2004
Posts: 4
Location: FL

PostPosted: Thu Jan 29, 2004 12:32 am    Post subject: thanks Reply with quote

I was having this same problem and had posted here but found this thread and the mirrors settings seem to have fixed mine.

Tubbs
Back to top
View user's profile Send private message
SiQDiZ
n00b
n00b


Joined: 29 Jan 2004
Posts: 5

PostPosted: Thu Jan 29, 2004 12:26 pm    Post subject: Reply with quote

Quote:

------- Additional Comment #2 From Marius Mauch 2004-01-25 13:01 PST -------

It _is_ on the gentoo mirrors, but the actual SRC_URI on ftp.perl.org doesn't work.


https://bugs.gentoo.org/show_bug.cgi?id=38993


I'd like to know, when you put those mirrors in the /etc/make.conf file like said before, will it download perl from another mirror?

Im having just the same error as the other guys, can't download perl-8.5.0.tar.gz from the perl ftp server.
Back to top
View user's profile Send private message
tubbinator
n00b
n00b


Joined: 28 Jan 2004
Posts: 4
Location: FL

PostPosted: Thu Jan 29, 2004 1:47 pm    Post subject: Reply with quote

Quote:

I'd like to know, when you put those mirrors in the /etc/make.conf file like said before, will it download perl from another mirror?


That's what happened with mine, I simply put the listed (above) mirrors in and reran 'emerge system' and it started pulling all the files from the mirrors, instead of going to places like perl.org.

Tubbs
Back to top
View user's profile Send private message
FuzzyLizard
n00b
n00b


Joined: 30 Jan 2004
Posts: 3

PostPosted: Fri Jan 30, 2004 1:51 pm    Post subject: Reply with quote

Cool, the mirror trick works. Thanks guys.
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
Goto page 1, 2  Next
Page 1 of 2

 
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