Skip to content
⌘ NSIS Forum Archive

NSIS compiler for linux

14 posts

Sharad#

NSIS compiler for linux

Hey, where can i find compiler for linux machine.

Is there any available?
Vytautas#
If you want to be able to compile windows installers under linux you will have to use wine to emulate the windows layer and then use the standard nsis compiler.

If you want to use NSIS to create Linux installers then that is not possible at the moment and as far as I know no one is working on a linux port at the moment. The linux / windows systems are *WAY* too different for easy portability of installers.

Vytautas
kichik#
You don't have to use Wine to compile under Linux. CVS version compiles under POSIX platforms (including Linux) for about two months.
Joost Verburg#
As kichik said, grab the latest sources from CVS, compile the exehead using your Windows compiler and then compile the compiler using your Linux compiler.
Sharad#
Its tooooooo confusing..

I tried updating by downloading the development files from CVS server. It says.........

Initializing CVS Update...
Error connecting to host cvs1: No such host is known.
cvs95 [update aborted]: Connection to server failed
CVS Update Completed

What do i understand with that?
Also please explain the process in detail.
Joost Verburg#
There seems to be a small issue with the patching of the CVS root files. Either download the latest development snapshot or update the offical NSIS 2.0 release.

I assume that as a Linux user you know how to use compilers. Oterwise please search for some tutorials.
Joost Verburg#
Originally posted by Sharad
This link browse the CVS repository also not working.
That is because of SourceForge server maintenance.
Sharad#
On typing make in the NSIS/Source directory I get the following errors on LInux:-
exedata.cpp:7:39: exehead/Release-zlib/icon.h: No such file or directory
exedata.cpp:8:41: exehead/Release-zlib/unicon.h: No such file or directory
exedata.cpp:9:47: exehead/Release-zlib/exehead_zlib.h: No such file or directory
exedata.cpp:10:49: exehead/Release-bzip2/exehead_bzip2.h: No such file or directory
exedata.cpp:11:47: exehead/Release-lzma/exehead_lzma.h: No such file or directory

Also the NSIS/Source/Release-zlib directory in CVS is empty .
Please advise.
Sharad#
I know CVS is working but I the files that are mentioned
in my "make" command error DO NOT EXIST . Please help.
Thanks ,
gaylord#
same idea

hi, i also want to run the compiler under linux to dynamically generate custom install packages.

Sharad: as i read in the above posting by Joost, the exehead should be compiled under windows.

only the compiler should be compiled under linux. it then packages the binary file generated by the windows compile run. right?

that propably means that the top level make file cannot be used because you do not build the whole application under linux but only the compiler.

regards,
gaylord aulke