Debian Codegraph @

INSTALL

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 USUAL INSTALLATION
2 __________________
3
4 Check that development package of libtiff is installed.
5 Run "make". Then, "make install" will copy bin/minidjvu into /usr/local/bin.
6
7
8
9 BLOODSHED DEV-C++
10 _________________
11
12 In case if you want to compile it for Windows, there's a project
13 file for Bloodshed Dev-C++. You will also need Libtiff for Windows,
14 which may be found here:
15 http://gnuwin32.sourceforge.net/packages/tiff.htm
16
17
18
19 CUSTOM COMPILATION
20 __________________
21
22 If you want to compile it all manually, read this.
23
24 The release directory should be treated as an include directory
25 (usually -I or /I option). That applies both to the library and the program.
26
27 The library is built from sources in `minidjvu' subdirectory.
28 The program is built from sources in `src' subdirectory.
29
30 To enable TIFF support, define HAVE_TIFF to 1, add libtiff include directory
31 to the include path, then link against libtiff.
32
33
34
35 OTHERWISE
36 _________
37
38 Under Linux, you can always try something like
39
40 g++ -I. `find -name "*.c*"` -O2 -o bin/minidjvu
41
42 or, if you want TIFF support,
43
44 g++ -DHAVE_TIFF=1 -I. `find -name "*.c*"` -O2 -ltiff -o bin/minidjvu
45
46 Under MSVC, watch for those __declspec directives in
47 `minidjvu/base/0porting/0porting.h' - if you wish a DLL, turn them on.
48
49
50
51 COMPILING ON MAC
52 ________________
53
54 That instruction was useful when there were configure scripts (are they
55 really useful if they can't handle the Mac stuff?).
56
57 /* This instructions were kindly sent to me by Alejandro David Weil.
58 * Apparently, there are some problems with Macs, but I don't know why.
59 */
60
61 After some tries I got minidjvu built and running on mac os X panther.
62 I had to make this:
63
64 1. setup:
65 export MACOSX_DEPLOYMENT_TARGET=10.3
66
67 2. run configure in this way:
68 LDFLAGS="-L/sw/lib" ./configure
69
70 3.before compile, modify file libtool changing the allow_undefined_flag to:
71 allow_undefined_flag="-undefined dynamic_lookup"
72
73 4. now run:
74 make
75
76
77
78 PORTING
79 _______
80
81 Browse through `minidjvu/base/0porting.h' to see if it needs changing.
82 What next, I don't know :)