4 General installation instructions can be found in INSTALL. The following
5 aim to give a quick overview and some help for specific systems. Documentation
6 for bookloupe itself can be found in doc/bookloupe.txt and for the test
7 framework in doc/loupe-test.txt.
12 You should be able to use the standard:
18 If you get an error about no package 'glib-2.0' found, then you need to
19 install the development package for glib2. Under Fedora, RHEL and friends
22 % sudo yum install gcc pkgconfig glib2-devel
24 Under Debian, Ubuntu and friends that would be:
26 % sudo apt-get install gcc pkgconfig glib2-devel
31 It should be possible to use MSYS (http://www.mingw.org/wiki/MSYS) to build
32 on a Windows machine. You'll need a copy of the development package for
33 glib and its dependencies from http://www.gtk.org/download/win32.php.
35 It's much easier to build using a cross-compiler from Linux, if you have
36 access to such a system. Under Fedora, RHEL and friends you can do this
39 % sudo yum install mingw32-gcc pkgconfig mingw32-glib2-static \
40 mingw32-gettext-static mingw32-iconv-static
41 % ./configure --host=i686-w64-mingw32 --disable-shared \
42 --bindir=/bookloupe --datadir=/
45 % make install DESTDIR=`pwd`/build
47 The contents of the build/bookloupe directory can then be copied to a
48 Microsoft Windows machine.
50 Depending on the version of mingw32-gcc you use, you may need to specify a
51 different host type. If you're not sure look and see what the cross-compiler
52 is called (eg., i686-pc-mingw32-gcc) and use the prefix as the host type.
57 I think this should be quite similar to Linux, doing something like this:
59 % sudo port install gcc pkgconfig glib2-devel
64 It may also be possible to use fink instead of macports.