about 1 month ago - No comments
TweetI got my self a shiny new laser printer because the old Lexmark X1110 was getting old and giving little too many paper jams. I went with Samsung ML-1640 mainly because of it’s initial lower price, lower running costs and good reviews online. I had also read that the printer comes with Linux driver, that [...]
about 1 year ago - 4 comments
TweetUpdate 2009-09-02: Now I’m using a single Linode and a Xen VPS from my very own hosting service. This means the VPSes have one more thing less in common, hosting company. Until recently I used one Linode VPS for hosting all my sites. On 26th March, there was a DDoS attack on one of the [...]
about 1 year ago - No comments
TweetMy new year resolution was to ditch Subversion and move to Git. I switched to Git as my SCM for all my development work on new year day it self. I did hit some issues because my ignorance about how things are done with Git, however everything was fixed within the day. Now, 20 days [...]
about 1 year ago - No comments
TweetI recently found this awesome project called KernelCheck that allows you to build the latest Linux Kernel for your distribution. It requires very little interaction from the user and automatically optimizes the kernel to user’s needs. Currently it only supports Debian based distributions but support for RPM and Slackware based distributions is planned. KernelCheck is [...]
about 1 year ago - No comments
TweetI bought a Avermedia PCI pure analog (M135A) recently (26th December) and to much to my delight it was just plug and play on my home media center running Debian testing with custom built Linux kernel 2.6.28 (Released on 24th December). TV tuner was working with no issues. All local TV channels we accessible . [...]
about 1 year ago - No comments
TweetI was trying to print a large document, and it would never print. A small print job had no issues. To add to that I was printing a stupid PDF form that will only open with Acrobat Reader. The print job was passing through many places, VMWare guest, my notebook, and finally print server. I [...]
about 1 year ago - No comments
TweetLast Friday I got a 2nd connection for my home-office. Now I have 1Mbit/s WiMAX uplink from Dialog Broadband and 512Kbit/s (Soon will be upgraded to 1Mbit/s) WiMAX uplink from Lanka Bell. I have setup one of my old PCs as the router. I couldn’t find a single router with multi-uplink here in Sri Lanka, [...]
about 1 year ago - 7 comments
TweetMonit is an open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit is capable of automatic maintenance and repair and can execute meaningful causal actions in error situations. It takes less than 15 minutes to setup and run this wonderful tool on most Unix servers. It also [...]
about 1 year ago - 2 comments
TweetFew hours ago I upgraded my Ubuntu 8.04 to 8.10. Upgrade it self was a smooth one. Download took around 1.5 hours and the installation was around 45 minutes. Ubuntu 8.10 Human theme looks sexy. New wireless driver for Intel 3945ABG has support for the LED indicator as well. Only issues were: ALSA was locked [...]
about 1 year ago - No comments
TweetUbuntu 8.10 named Intrepid Ibex will be released on 30th October 2008. I’m looking forward for the release tomorrow. I’ll be upgrading my machines to Ibex. New features in 8.10 are: GNOME 2.24 X.Org 7.4 Linux kernel 2.6.27 Encrypted private directory Guest session Network Manager 0.7 Samba 3.2 PAM authentication framework Totem BBC plugin Server [...]
about 2 years ago
Thanks, that works as far as it goes… but I’m getting this:
2 warnings:
File /a is disabled for non Win32 platforms. (pcdinst.nsi:81)
File /a is disabled for non Win32 platforms. (pcdinst.nsi:82)
It works anyway! Just letting everybody know to watch out for this…
about 10 months ago
Hi,
I Just want to know whether can we create a installer package for linux using NSIS.
about 10 months ago
See http://nsis.sourceforge.net/Main_Page, NSIS for making Windows Installers
about 10 months ago
Hi,
Thanks for the above reply.But in some sites they have told that we can have a makensis compiler for Linux with the help of windows source. I tried i got a compiler for Linux. With the help of that is it possible to create installer package for linux
about 10 months ago
You can make the installed on Linux but you can’t use it on Linux (without Wine or similar). Using NSIS compiler (makensis) on Linux is what this blog post is about.
At best you are confused.
about 10 months ago
Hi,
While running the below command im getting some exception.
scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all
about 10 months ago
Can you please post the exception?
about 10 months ago
Hi,
Please find the error
scons: Reading SConscript files …
Mkdir(“build/release/config”)
scons: *** build/release/config: File exists
Delete(“nsis-28-Oct-2009.cvs”)
Delete(“.instdist”)
Delete(“.test”)
Using GNU tools configuration
Checking for compiler flag -m32… (cached) yes
Checking for linker flag -m32… (cached) yes
Checking for linker flag $MAP_FLAG… (cached) yes
Checking for linker flag -s… (cached) yes
Checking for linker flag $MAP_FLAG… (cached) yes
Checking for compiler flag -m32… (cached) yes
Checking for linker flag -m32… (cached) yes
Checking for linker flag -s… (cached) yes
Checking for compiler flag -m32… (cached) yes
Checking for linker flag -m32… (cached) yes
Checking for memcpy requirement… (cached) yes
Checking for memset requirement… (cached) yes
Checking for linker flag -pthread… (cached) yes
Checking for __BIG_ENDIAN__… (cached) no
Checking for C library gdi32… (cached) no
Checking for C library user32… (cached) no
Checking for C library pthread… (cached) yes
Checking for C library iconv… (cached) no
Checking for C library dl… (cached) yes
Checking for C library gdi32… (cached) no
Checking for C library iconv… (cached) no
Checking for C library pthread… (cached) yes
Checking for C library user32… (cached) no
Checking for C++ library cppunit… (cached) no
scons: done reading SConscript files.
scons: Building targets …
gcc -o build/release/ExDLL/pluginapi.o -c -Os -Wall -fno-strict-aliasing “-DNSISCALL= __attribute__((__stdcall__))” -ISource/exehead Contrib/ExDLL/pluginapi.c
Contrib/ExDLL/pluginapi.c:1:21: error: windows.h: No such file or directory
In file included from Contrib/ExDLL/pluginapi.h:8,
from Contrib/ExDLL/pluginapi.c:3:
Source/exehead/api.h:37: error: expected declaration specifiers or ‘…’ before ‘*’ token
Source/exehead/api.h:37: warning: type defaults to ‘int’ in declaration of ‘UINT_PTR’
Source/exehead/api.h:37: error: ‘UINT_PTR’ declared as function returning a function
Source/exehead/api.h:66: error: expected declaration specifiers or ‘…’ before ‘HWND’
Source/exehead/api.h:68: warning: parameter names (without types) in function declaration
Contrib/ExDLL/pluginapi.c: In function ‘popstring’:
Contrib/ExDLL/pluginapi.c:16: warning: implicit declaration of function ‘lstrcpyA’
Contrib/ExDLL/pluginapi.c:18: warning: implicit declaration of function ‘GlobalFree’
Contrib/ExDLL/pluginapi.c:18: error: ‘HGLOBAL’ undeclared (first use in this function)
Contrib/ExDLL/pluginapi.c:18: error: (Each undeclared identifier is reported only once
Contrib/ExDLL/pluginapi.c:18: error: for each function it appears in.)
Contrib/ExDLL/pluginapi.c:18: error: expected ‘)’ before ‘th’
Contrib/ExDLL/pluginapi.c: In function ‘popstringn’:
Contrib/ExDLL/pluginapi.c:27: warning: implicit declaration of function ‘lstrcpynA’
Contrib/ExDLL/pluginapi.c:29: error: ‘HGLOBAL’ undeclared (first use in this function)
Contrib/ExDLL/pluginapi.c:29: error: expected ‘)’ before ‘th’
Contrib/ExDLL/pluginapi.c: In function ‘pushstring’:
Contrib/ExDLL/pluginapi.c:37: warning: implicit declaration of function ‘GlobalAlloc’
Contrib/ExDLL/pluginapi.c:37: error: ‘GPTR’ undeclared (first use in this function)
Contrib/ExDLL/pluginapi.c: In function ‘getuservariable’:
Contrib/ExDLL/pluginapi.c:45: error: ‘NULL’ undeclared (first use in this function)
Contrib/ExDLL/pluginapi.c: In function ‘setuservariable’:
Contrib/ExDLL/pluginapi.c:51: error: ‘NULL’ undeclared (first use in this function)
Contrib/ExDLL/pluginapi.c: In function ‘pushint’:
Contrib/ExDLL/pluginapi.c:189: warning: implicit declaration of function ‘wsprintf’
scons: *** [build/release/ExDLL/pluginapi.o] Error 1
scons: building terminated because of errors.
about 10 months ago
Hi,
May i know the reason for this exception
about 10 months ago
I don’t have access to a 32 bit installation right now, can you try with the following from the nsis source directory.
scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA_PATH=no PREFIX=/path/to/extracted/zip install-compiler
scons NSIS_CONFIG_CONST_DATA_PATH=no PREFIX=/path/to/extracted/zip /path/to/extracted/zip/LibraryLocal
about 6 months ago
Hi Mohanjith,
Even I am also getting the same error as Umesh. I tried with above options but it didn’t work.
Please can you suggest any other solution.