Compiling NZBGET at CH3SNAS with Fun_Plug 0.5 with libpar2 & libsigc++ (make sure you have installed all the Fun_Plug packages for compiling programs (gcc / uclibc)
Download svn onto CH3SNAS use for configure: (check nzbget.sourceforge.net)
./configure –disable-tls –without-tlslib –with-libpar2-libraries=/ffp/lib –with-libsigc-libraries=/ffp/bin
TLS seems not to able to compile due to missing library (check this!) therefore disable it in configure. Configure line must be correct otherwise somewhere during the make you get a segmentation fault (ParChecker.o)
libpar2 and libsigc needs to be statically compiled cause on not every system the tools are available (make it easy). I am lucky to have the tools installed on one device ;-)
after the configure you can use the command ‘make’
If you want the packages: libpar2Â & libsigc++Â install with funpkg -i [package-name] than you can compile it yourself as well (statically or dynamically is possible if you download the 2 packages)
Finally after the make you must use the following command to statically put the 2 libraries into the nzbget binary
g++ -g -Wall -lxml2 -L/ffp/lib -L/ffp/lib -rdynamic -o nzbget ArticleDownloader.o BinRpc.o ColoredFrontend.o Connection.o Decoder.o DiskState.o DownloadInfo.o Frontend.o Log.o LoggableFrontend.o NCursesFrontend.o NNTPConnection.o NZBFile.o NetAddress.o NewsServer.o Observer.o Options.o ParChecker.o PrePostProcessor.o QueueCoordinator.o QueueEditor.o RemoteClient.o RemoteServer.o Scheduler.o ScriptController.o ServerPool.o Thread.o Util.o XmlRpc.o nzbget.o svn_version.o -lncurses -lpthread /ffp/lib/libpar2.a /ffp/lib/libsigc-2.0.a
if using tls above g++ line must be getting ‘TLS.o’ and -lgnutls
Ready set and go and do not forget to use the updated nzbget.conf.example as well.
– end of message to self

