Re: port install doesn't fetch

"Mark Duling" <[email protected]> Tue, 22 Aug 2006 21:16:46 -0700
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
"Robert Cober" <[email protected]> writes:
>I am having problems installing readline 5.1.
>
>I read somewhere to manually copy the 5.1 and patch files to
>/opt/local/var/db/dports/distfiles/readline.
>
>Unfortunately the readline-5.1.tar.gz file that I had had a different
>checksum.
>
>So I deleted the files out of 
>/opt/local/var/db/dports/distfiles/readline.
>
>Now ports still doesn't attempt to fetch the files, instead it
>complains about  "Could not open file:".
>
>Why is it not attempting to fetch the files?
>
>Better yet - does anyone have any hints about installing readline?
>
>My ultimate goal is to setup Ruby on Rails with the latest versions.
>
>Thanks for any help or advice.....

DP doesn't re-fetch files it already has downloaded and it cannot tell if
it has obtained a corrupted download file.  So fetch has done its job if
it has a file of the correct name.  Then extract will choke on it if it
isn't a valid file and it will never get re-fetched automatically.  Use
'port clean --all readline' to clean out all the files previously fetched.
 I can install it okay, though there are some ftp fetches that don't work
inside the firewall at work so I have to manually download some files too.

Mark