Archive: install failure [scons]


install failure [scons]
I want to install NSIS on Ubuntu 9.04 but am getting the following error when i enter # scons PREFIX="C:\Program Files\NSIS" install :

scons: *** No SConstruct file found.
File "/usr/lib/scons/SCons/Script/Main.py", line 830, in _main

ANY ideas as to how to overcome this? I have looked in the usr/lib/scons/SCons/script and SConstruct does not exist! Am i missing something?

I have already installed Python 2.4 and scons 1.2.0

Regards

David


There's a NSIS package in the Ubuntu repository. Install it using aptitude or apt-get.

aptitude install nsis

Hi kichik, thanks for the quick response. I have tried what you said but i am getting the following message:

E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Also the lock file can not be opened or read (is this normal)?

Many thanks

David


You need to be root to install packages. Use sudo.