Compiling digitaldj on FC6 x86_64
last edited
1 year ago by
cinnion
Compiling digitaldj on Fedora Core 6 is a pain in itself, especially
if you are not used to compiling applications which use Gnome, MySQL
?
and other software packages under FC. There are a number of RPMs
?
which must be installed, which are not limited to:
- gtk+-devel (provides the gtk-config utility, headers, etc.)
- libgnome-devel/gnome-libs-devel (provides gnome-config utility)
- gdk-pixbuf-devel (provides gdk_pixbuf.h header in a way that gnome-config knows where it is)
- mysql-devel (provides mysqlclient library and headers)
NOTE:For files which may be missing, theyum providescommand may be used to find what package gives you that missing file.
Having the required development packages installed, you must start
with installing the digitaldj sources. The source RPM places these
under
/usr/src/redhat/SOURCES, and you must extract them into a
subdirectory. Having done that, start by viewing the
README
file for the basic steps, and then do the following:
- Modify src/ddj.c and replace all instances of CLK_TCK with CLOCKS_PER_SEC, which is the new macro name per the standards.
- Run ./configure LDFLAGS="-L/usr/lib64 -L/usr/lib64/mysql" to make sure that the links pick up the 64-bit versions of the libraries.
- Run make to build the code
- Run sudo make install to install