Archive: where do i get the linux version of NSIS from?


where do i get the linux version of NSIS from?
sorry if this is a bit basic but where do i get the linux version of NSIS from. i searched on nsis.sf.net n found nothing. also are there any editors that work on linux for NSIS?? I use UBUNTU and on my laptop i use SUSE


Assuming that you want to build nsis on a linux machine, see the documentation,

http://nsis.sourceforge.net/Docs/AppendixG.html#G


I also us ubuntu(7.10) and is in my repositories


sudo aptitude search nsis

thx alot.............i finally got it to work after a while


Great to see you are starting to use NSIS to create builds from Linux, welcome!


building NSIS for Linux
Hi,

I'm new to the forum.

I've just built NSIS on Linux with a cross-compiler. Here is what I did:

I followed the instructions from www.mingw.org for installing a MinGW cross-compiler: the Cross-Hosted MinGW Build tool called x86-mingw-build.sh can be downloaded from http://sourceforge.net/project/showf...?group_id=2435

I installed it in /opt/mingw-toolchain-0.1

gregf:~$ ls /opt/mingw-toolchain-0.1/
bin/ doc/ i386-mingw32/ include/ info/ lib/ libexec/ local@ man/ usr@

I then installed scons locally:

gregf:~$ tar xzf ../scons-0.98.0.tar.gz
gregf:~$ cd scons-0.98.0
gregf:~$mkdir -p ~/usr/local/scons
gregf:~/scons-0.98.0 python setup.py install --prefix=/home/gregf/usr/local/scons

I added mingw and scons to my path:

export PATH=/usr/local/bin:/usr/bin:/bin:/home/gregf/usr/local/scons/bin:/opt/mingw-toolchain-0.1/bin


I downloaded nsis and used scons to build it:

gregf:~/NSIS$ tar jxf ../nsis-2.36-src.tar.bz2
gregf:~/NSIS$ cd nsis-2.36-src/
gregf:~/NSIS/nsis-2.36-src$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/home/gregf/usr/local/scons/bin:/opt/mingw-toolchain-0.1/bin
gregf:~/NSIS/nsis-2.36-src$ scons SKIPPLUGINS=System SKIPUTILS="NSIS Menu"


Loads of output later:
...
i386-mingw32-g++ -o build/release/zip2exe/zip2exe.exe -mwindows -Wl,--file-alignment,512 -s build/release/zip2exe/main.o build/release/zip2exe/zlib/adler32.o build/release/zip2exe/zlib/crc32.o build/release/zip2exe/zlib/inffast.o build/release/zip2exe/zlib/inflate.o build/release/zip2exe/zlib/inftrees.o build/release/zip2exe/zlib/ioapi.o build/release/zip2exe/zlib/unzip.o build/release/zip2exe/zlib/zutil.o build/release/zip2exe/res-rc.o -luser32 -lgdi32 -lcomctl32 -lcomdlg32 -ladvapi32 -lshell32
scons: done building targets.

Looks promising. Haven't tried to use it yet though :-)

What would be a simple test to try?

I had to add SKIPUTILS="NSIS Menu", which isn't mentioned in the Appendix G documentation. Otherwise the build fails with the following:

*** error: wx-config must be in the PATH to build NSIS Menu!

Not sure what the consequence of this is.

BTW I'm using version 2.4.3 of python:

gregf:~/NSIS/nsis-2.36-src$ python -V
Python 2.4.3


Cheers,

Greg

Originally posted by Red Wine
Assuming that you want to build nsis on a linux machine, see the documentation,

http://nsis.sourceforge.net/Docs/AppendixG.html#G

NSIS Menu is not critical, so it's OK to skip it if you don't want it.