Old 23rd August 2007, 23:21   #1
KSadeck
Junior Member
 
Join Date: Aug 2007
Posts: 2
Error opening stub

Hello,

Today I encountered a problem after building makensis and trying to run it. I received this error.
Error: opening stub "...../nsis/Stubs/zlib"
Error initalizing CEXEBuild: error setting default stub

After looking through google, I learned that someone else had this same problem, although they were able to fix it.

This is a link to that thread.

http://forums.winamp.com/showthread....ighlight=Stubs

It seemed that everything went fine when the SConstruct was replaced, but that link is dead and my attempts to find it have failed.

If anyone could help me I'd greatly appreciate it. I apologize if a solution to this problem is in another thread.

(/Stubs/zlib) doesn't exist
KSadeck is offline   Reply With Quote
Old 24th August 2007, 07:21   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
The problem, as you said yourself, that Stubs/zlib doesn't exist. Building just makensis is not enough, you have to build the stubs as well. If you only need makensis because you're not on Windows, you can use the stubs from a release. Follow the build documentation for more details.

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

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 24th August 2007, 13:34   #3
KSadeck
Junior Member
 
Join Date: Aug 2007
Posts: 2
Thank you very much. That appeared to do the trick.
KSadeck is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump