Re: problem with wget -O
On Mon, Jan 25, 2021 at 03:13:55PM -0500, Gene Heskett wrote:
> Why Greg, do you seem to always blame the messenger?
Because the message is ripped up into pieces, and you're telling us
only some half-remembered piece of it.
> direct copy/paste from the opencv build instructions html page:
> wget -O opencv.zip https://github.com/opencv/opencv/archive/master.zip
> wget -O opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/master.zip
Those look safe enough to rule out the URL quoting issue. It would
be nice if you would show us the terminal session in which you ran the
command and got an error. Lacking that information, we can only guess
as to the many possible causes of the many possible errors.
Here is a short list of guesses.
1) You have a shell function or alias that overrides the wget command.
Diagnose this by running "type wget".
2) You do not have write permission on the current directory.
Diagnose this by running "id" and "ls -ld .".
The string "Permission denied" in the command's output would be a
strong indicator of this one.
3) You pasted the command from a source that has non-breaking spaces or
other non-ASCII garbage polluting the arguments.
4) You have run out of disk space.
Diagnose this by running "df .".
The string "No space left on device" would strongly indicate this one.