Archive: Building on Solaris


Building on Solaris
I've found very little information on how to install NSIS on Solaris. I build all my code on Solaris(a major unix based software) and i need to generate a windows installer for the client.

Here is what I did:
Installed Python 2.5
Installed Scons 0.96.94
Installed Sun Studio 11 C compiler

No cross compiler installed.

When I run the following on Solaris 9:
scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all
and got:

scons: *** No tool named 'midl': not a Zip file
File "/export/home/netop/nullsoft/nsis-2.22-src/SConstruct", line 9, in <module>

Can anyone help? What is midi? Thanks!


Does the nsis compiler support Solaris(POSIX) platform?
By that i mean compile on POSIX but still generate windows installer.

Thanks


The text below copied from NSIS features posted at,

http://nsis.sourceforge.net/Features

The NSIS compiler can be compiled for POSIX platforms like Linux and *BSD. Generated installer will still run on Windows only, but this way they can be generated without Windows or WINE.


First, you must downgrade to SCons 0.96.93, as 94 isn't supported yet.

Next, make sure SCons supports Sun Studio. I'm not at all sure it does. midl is a Microsoft tool for building type libraries. It's not even used by NSIS. The fact that it even tried using it suggests there's something weird with the environment that it doesn't know. Maybe it found `cl` in the path, or another Microsoft tool.

I'd try using gcc as it's known to be working.

Another thing to take into consideration is the processor you're using. makensis doesn't currently work on SPARC. But that shouldn't cause these kind of errors, it should just crash after it's actually built.