Archive: Error: opening stub "$PREFIX/share


Error: opening stub "$PREFIX/share
Friends!

Sorry if I haven't found the magic posting yet to solve my problem.

I built makensis for linux and I can't get my script to run I get a :

Error: opening stub "$PREFIX/share/Stubs/zlib

I checked and this directory doesn't exist. The steps I have performed were

1) Downloaded :
drwxrwxr-x 11 chrisp chrisp 4096 Apr 5 14:40 nsis-2.15
drwxrwxr-x 13 chrisp chrisp 4096 Apr 5 16:25 nsis-2.15-src

2) Ran as "su" in nsis-2.15-src
scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all install

3) Tried to makensis myscript.nsi

I kept reading all over that I should just compile on linux and put the makensis into the nsis-2.15 directory I specify above. Then what do I do?

Incredibly confused... :-(

Thanks,
Chris


Use the latest CVS version of SConstruct.

http://cvs.sourceforge.net/viewcvs.p...1=1.64&r2=1.65


Hello!

Thanks for the reply. I see that the appropriate path is now substituted.

win-setup-exe:
[exec] Error: opening stub "/usr/local/share/nsis/Stubs/zlib"
[exec] Error initalizing CEXEBuild: error setting default stub
[exec] Result: 1


Those stubs don't exist. Any reason why they wouldn't? I performed the operations outlined above. Should I be doing something else?


It figured it out. Thank you for your help. Solution posted to my blog http://www.kcctech.com.au/nsis