[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wget
Subject:    Re: installing wget
From:       Micah Cowan <micah () cowan ! name>
Date:       2008-01-28 23:47:27
Message-ID: 479E698F.2080204 () cowan ! name
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nelly Mouawad wrote:
> Hi,
> 
> I would like to ask you about a problem I had while trying to install wget
> on my machine. I have mandrake linux.
> The problem comes from the fact that I am not administrator on my machine,
> and I don't have write access in the /usr/local/ directory.
> and wget cannot create  /usr/local/bin/wget.
> 
> This is the error message.
> 
> "/usr/bin/install -c wget /usr/local/bin/wget
> /usr/bin/install: cannot create regular file `/usr/local/bin/wget':
> Permission denied
> make[1]: *** [install.bin] Error 1
> make[1]: Leaving directory `/cedar1/mouawad/ProgramFiles/wget-1.11/src'
> make: *** [install.bin] Error 2"

Hi Nelly!

When you do the configure step, you can specify:

  $ ./configure --prefix=<installation-path>

For instance, at my work machine, I have an alias "wget-config" which
expands to:

  $ ./configure --prefix=/home/micah/opt/wget CFLAGS=-g

This is also covered in the INSTALL file within the source directory.

At home, I install to /opt/wget, which is owned by me; I never have to
become root to install wget from the source tree.

- --
HTH,
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHnmmP7M8hyUobTrERArfIAJ9/Q+zJGjdW/6pDLNAbMic+IdYo/wCdEw9i
XEi2tBIQI86/2+vWc/bBMT4=
=hXFW
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic