|
|
install wget on 10.1.2
|
|
|
|
Forum Regular
Join Date: Sep 2001
Status:
Offline
|
|
hey guys
please help
i downloaded wget 1.7.1, 1.5.3, 1.8.1 and 1.6 (you can see how desperate I am) and could not get it to install at all. could anyone please guide me through? i'm a real scared unix newbie.
when i navigate to the right directory and type 'make install', i get
"make: Nothing to be done for `install'."
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Oct 2000
Status:
Offline
|
|
Originally posted by scarab:
<STRONG>when i navigate to the right directory and type 'make install', i get
"make: Nothing to be done for `install'."</STRONG>
wget-1.8.1 compiles fine.
% cd /tmp
% curl -O ftp://ftp.gnu.org/gnu/wget/wget-1.8.1.tar.gz
% gnutar -zxf wget-1.8.1.tar.gz
% cd wget-1.8.1
% ./configure --sysconfdir=/etc --disable-nls
% make
% sudo make install
[ 01-07-2002: Message edited by: rkt ]
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Sep 2001
Status:
Offline
|
|
Thanks! I went the terminal way because my geeky instincts overpowered me
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Oct 2001
Location: Baltimore, MD, US
Status:
Offline
|
|
curl does seem to do everything wget does and more, and it's installed as part of OS X now.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Aug 2001
Location: Vienna, Austria
Status:
Offline
|
|
Originally posted by petej:
<STRONG>curl does seem to do everything wget does and more, and it's installed as part of OS X now.</STRONG>
curl doesn't resume automatically and doesn't keep trying to log into a server, so it's pretty useless for less-than-perfect conditions.
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Oct 2001
Location: Baltimore, MD, US
Status:
Offline
|
|
That's true; you'd have to script a solution around curl for that. Curl does support resuming transfers, and you can get the existing size of the file automatically, so the scripted solution wouldn't be too hard, but this does seem to be an area in which wget does something curl doesn't.
Curl does SSL transfers, though, which I find helpful; wget doesn't seem to do them, at least as shipped.
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Oct 2001
Location: Baltimore, MD, US
Status:
Offline
|
|
It looks like you could script a transfer with retries like this:
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>
#!/bin/sh
KEEPTRYING=<font color = blue>1</font>
while $KEEPTRYING
do
if [ -r fileIwant ] then
curl -C `ls -l fileIwant | awk '{print $<font color = blue>5</font>}'` <A HREF=<font color = red>"http:<font color = brown>//somesite/fileIwant"</font> TARGET=_blank>http://somesite/fileIwant</A> </font>
else
curl <A HREF=<font color = red>"http:<font color = brown>//somesite/fileIwant"</font> TARGET=_blank>http://somesite/fileIwant</A> </font>
fi
KEEPTRYING=$?
sleep <font color = blue>5</font>
done
</font>[/code]
If you got the site or filename wrong, this would repeat forever, so the sleep 5 keeps the command from chewing up your system.
I didn't actually run this, so I don't know for sure it works, but the general principles are right.
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Oct 2000
Status:
Offline
|
|
Originally posted by petej:
<STRONG>Curl does SSL transfers, though, which I find helpful; wget doesn't seem to do them, at least as shipped.</STRONG>
wget doesn't currently support ssl.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Mar 2001
Status:
Offline
|
|
I can't see a recursive option in "curl --help"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|