Compiling
Note: You only need this, if no binary for your operating system is not available or you want to use the latest development version.
Prerequisites:
- Nokia Qt graphic library (version >= 2.3.0/4.4.0) / http://qt.nokia.com/
- expat XML parsing library (version >= 1.95.2, not needed with >= 1.1beta2) / http://expat.sourceforge.net
- pcre Perl compatible regular expression library (ver >= 3.9, not needed with >= 1.1beta2) / http://www.pcre.org
- zlib data compression library (version >= 1.1.4) / http://www.gzip.org/zlib/
- libbzip2 library (version >= 1.0.0, from 1.4) / http://bzip.org/
- libtar library (version >= 1.2.11, from 1.4) / http://www.feep.net/libtar/
- p7zip library (version >= 9.20.1, from 1.4, optional for archive scanning) / http://p7zip.sourceforge.net/
- lib7zip 7zip wrapper library (version >= 1.4.1, from 1.4, optional for archive scanning) / http://code.google.com/p/lib7zip/
- mediainfo media info library (version >= 0.7.47, from 1.5, optional for extracting media information) /
- libexiv exif data library (from 1.9, optional for extracting exif information) / http://libexif.sourceforge.net/
- library providing cryptographic functions (from 2.3, optional for encrypted catalog) / http://www.cryptopp.com/
All libraries except lib7zip and mediainfo are included in the Linux distributions. You will need the development packages if they too if you compile from source.
The lib7zip library compiling requires the p7zip sourcecode (WIN32: 7zip sourcecode).
Help for compiling cdcat can be found in the sourcecode of cdcat:
- Linux: README_LINUX_COMPILE.txt
- Mac OS/X: README_OSX_COMPILE.txt
- Windows: README_WIN32_COMPILE.txt
The 7zip library (7z.so/7z.dll) must be available at runtime for supporting a lot of file extensions at archive scanning. You can check if its loaded if there is a long list of file extensions at settings - Select additional items to read - supported file extensions.
The mediainfo library is optional. At compile time the mediainfo header file (MediaInfoDLL.h) must be in include pfad (subfolder MediaInfoDLL)
Compiling:
Unpack the source, and check te prerequisites! If it is done, check or set the QTDIR envronment variable (It must point the root directory of Qt.)
then type:
cdcat/src$ make
If you got error messages try to re-generate the Makefile by running qmake (QT tool)
cdcat/src$ qmake cdcat.pro && make
Than you even got error messages try to check dependencies and rights!
(before you send me bug report :-) )
That case you didn't get any error login as root and type:
cdcat/src# make install
This command copy the compiled files to the necessary place.