fixing MSVC build
[dia.git] / INSTALL
blobd7c207f4ab95c7c816c7c440cd7986390f847814
1 REQUIREMENTS:
2 =============
4 Dia needs Gtk+ at least version 2.0.0 installed.
5 It can be found at:
7 ftp://ftp.gtk.org/pub/gtk/v2.0/
9 Binaries available at:
10   ftp://ftp.gtk.org/pub/gtk/binary/devel/RPMS/
12   ftp://ftp.gtk.org/pub/gtk/binary/devel/DEBIAN/
14 Note that Gtk 2.0 has a number of requirements of its own.
16 Pango (required by Gtk) needs to be at least version 1.1.5.
18 As of version 0.91, Dia also needs libxml2, version 2.3.9 or higher.
19 It can be found here:
20   ftp://ftp.gnome.org/pub/gnome/sources/libxml/
22 As of version 0.91, Dia under Unix also needs freetype2, version 2.0.9 or
23 higher.  It can be found here:
24   http://www.freetype.org
26 As of version 0.91, Dia requires intltool version 0.21 or higher.  It is
27 also required for Gtk.  It can be found here:
28   ftp://ftp.gnome.org/pub/gnome/sources/intltool/
30 A number of other libraries are recommends for extra features:
32 Libart allows anti-aliased rendering and anti-aliased export to PNG:
33   http://www.artofcode.com/libart.html
34 Libpng is required for anti-aliased PNG export:
35   http://download.sourceforge.net/libpng/
36 Libxslt allows export through XSLT translation schemas:
37   ftp://ftp.gnome.org/pub/GNOME/sources/libxslt/
38 Extra Gnome support (limited) is available with installation of the gnome
39   libs:
40   ftp://ftp.gnome.org/pub/GNOME/sources/gnome-libs/
41   Note that ./configure must be run with --enable-gnome to use Gnome.
42 Python scripting is possible by adding --with-python and having the
43   following installed:
44   Python: http://www.python.org
45   PyGtk: ftp://ftp.gtk.org/pub/gtk/python/v2.0
47 BUILDING:
48 =========
50 To build, run:
52  ./configure
53  make
55 PLATFORM NOTES:
56 ===============
58 AFS
59         The fact that you on AFS can make hard links within, but not
60         between directories might cause problems due to a bug in
61         libtool (at least som versions). 
62         What happens is that messages like
63                 Waiting for arc.o.lock to be removed
64         repeats themselves during compliation.
66         A couple of work arounds are
67         available: Run configure with the flag
68         --disable-libtool-lock. This might break parallel builds
69         though. Another (uglier) fix is to hack the libtool script
70         generated by configure. Change the line:
72           until ln "$0" "$lockfile" 2>/dev/null; do
74         to
76           until ln "$srcfile" "$lockfile" 2>/dev/null; do
79 COMPILING FROM CVS:
80 ===================
82 If you are using the cvs version of Dia you need to have the following programs:
83 automake 1.4, autoconf 2.50, libtool 1.3, GNU gettext 0.10.38, intltool 0.21
85 Then run ./autogen.sh instead of configure to create all needed files.
87 WARNING: if you run ./autogen.sh, you will need to have gettext
88 0.10.38 installed, or to extract a few M4 files from that package and
89 include them manually into aclocal.m4.
91 TRYING IT OUT:
92 ==============
94 You can try out dia in the compilation directory by running
95  ./app/run_dia.sh
97 INSTALL:
98 ========
99 install it by doing:
101  make install
103 By default Dia is installed in /usr/local.
104 You can change that by passing --prefix=/some/dir to configure.
107 FONTS:
108 ======
109 I recommend that you install the URW fonts if you haven't already.
110 They are free scalable version of the standard postscript fonts.
112 Information and files can be found at:
114  http://www.gimp.org/fonts.html