Old 25th November 2008, 23:26   #1
thivnor
Junior Member
 
Join Date: May 2007
Posts: 15
Building NSIS on Debian / Ubuntu

I'm trying to compile NSIS on an Ubuntu 0.04 system. Everything is up-to-date, including scons, gcc, and python. I believe I have followed the instructions at http://nsis.sourceforge.net/Docs/AppendixG.html.

It seems the root problem is that I don't have an executable named "o" The key error is:

scons: Building targets ...
o build/release/makensis/build.o -c -Wno-non-virtual-dtor -O2 -Wall -m32 -D_WIN32_IE=0x0500 Source/build.cpp
sh: o: not found

I don't even know what "o" is ... there is no file on my system by that name. I suspect this is a scons glitch, and that somehow scons should be invoking cc or gcc. But I don't really know.

Does anyone know what is up with this?

I've attached a text file with all the details.

Also, FYI, I had to compile scons, as the package in the Ubuntu repository was just a twitch too old.
Attached Files
File Type: txt details.txt (10.2 KB, 366 views)
thivnor is offline   Reply With Quote
Old 26th November 2008, 06:01   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
It can't find gcc. But why build it on your own? NSIS is in Debian's package database.

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 26th November 2008, 20:49   #3
thivnor
Junior Member
 
Join Date: May 2007
Posts: 15
Well, golly, using the Debian package would make things so ... simple. Where's the fun in that?

Seriously, kichik, you rock. Thanks for pointing out the error in my ways.

#apt-get install nsis

All set now, thanks!
thivnor is offline   Reply With Quote
Old 5th October 2010, 14:34   #4
thivnor
Junior Member
 
Join Date: May 2007
Posts: 15
This thread is old but still relevant.

Having NSIS available in Debian's package database is WONDERFUL.

However, it seems that only the most current Debian version is getting updates. For example Karmic Koala has NSIS 2.44, which lacks the Windows 7 fixes. My Debian, Hardy Heron, has NSIS 2.33 which is from 2007.

I don't know much about package maintainers or how to appropriately contact them. But it would be wonderful if we could be making current NSIS versions available for all supported Debian systems.

See https://launchpad.net/ubuntu/+source/nsis or http://www.ubuntuupdates.org/pm/nsis for a listing of what Debian versions have what NSIS available.

Any suggestions on how to proceed?
thivnor is offline   Reply With Quote
Old 5th October 2010, 19:05   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
That's how Debian is. You never get the latest version of any package with Debian stable.

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 5th October 2010, 20:05   #6
f0rt
Junior Member
 
Join Date: Jul 2009
Posts: 36
If you can not wait or update to Debian "Squeeze" respectively Ubuntu "Maverick Meerkat" then there is the option to build NSIS yourself.

Personally, I would recommend to take the latest available NSIS Debian source package from the testing ("Squeeze") repository as a basis for a so-called backport (recompiled package).
f0rt is offline   Reply With Quote
Old 5th October 2010, 20:29   #7
thivnor
Junior Member
 
Join Date: May 2007
Posts: 15
re: That's how Debian is.

Yuck.

re: there is the option to build NSIS yourself.

Yeah it sounds like I will have to do that.

Last edited by thivnor; 5th October 2010 at 20:31. Reason: missed post from f0rt
thivnor 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