Back to Homepage

SourceForge summary page

NomadSync: Linux build instructions


Camel with wax lips NomadSync needs the following components:
libnjb, wxGTK, id3lib

libnjb

Download and build from source libnjb (http://prdownloads.sourceforge.net/libnjb/libnjb-1.2.tar.gz?download)
Also you may also need to call
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
so applications know where to find libnjb
(if you use bash you can make this permanent by putting it in $HOME/.bashrc)

Notes:
  • The latest version of NomadSync only works with libnjb  2.0
  • If this is your first time installing libnjb you may need to run the following in the libnjb directory:
cat nomad.usermap >> /etc/hotplug/usb/usb.usermap ; cp nomadjukebox /etc/hotplug/usb/ ; chmod a+x /etc/hotplug/usb/nomadjukebox
This is to allow Linux to recognise the Jukebox and set the correct permissions.
Afterwards you may need to restart the hotplug service.
(Note: I copied these instructions from the gnomad2 help page.)

wxGTK      

NomadSync must be compiled with a non-UNICODE version of wxGTK 2.4.2.
You can install using the rpm's, or by building from source (download source here: http://prdownloads.sourceforge.net/wxwindows/wxGTK-2.4.2.tar.gz)
Various other applications use incompatible versions of wxGTK (e.g. Audacity and aMule), but this is no problem, you can easily statically link to wxGTK as follows:

Statically linking to wxGTK (recommended)

First extract the source to a directory.
Then build as follows (Do not call make install):
./configure --disable-shared
make
Then extract the NomadSync source to another directory
In the NomadSync directory create a link to the wxGTK that you just built as follows:
# ln -s $HOME/wxGTK-2.4.2/wxgtk-2.4-config wx-config

Note: substitute $HOME/wxGTK-2.4.2 with the location where you have built wxGTK
The wx-config link tells the compiler which wxGTK to link to and allows multiple versions of wxGTK to be installed without any conflict problems.

Because the library is statically linked the resulting file will be quite large, but you can reduce it by calling:
strip src/nomadsync

libid3

You can install libid3 from source (http://id3lib.sourceforge.net/), or from rpm's.
Some distributions come with libid3 included, but you may still need to install the development rpm for the header files.