Building on Win32
This document describes how to get a working autotools build environment that is sufficient to build Posadis and associated tools with. Installing GTK+ is only nessecary to build the graphical tools such as Zoneedit and Dnsquery.
To build on Windows, first install the following packages:
For GTK:
Currently, you will need to patch the /usr/share/libtool/ltmain.sh
file (otherwise, you may get errors stating that “the real file for library y could not be found”): look for the following lines:
if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi
and replace them by
# if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ # | ${SED} 10q \ # | $EGREP "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 # fi
Currently, copy all files from share/aclocal
in the GTK directory to /usr/share/aclocal
, and edit the Cflags line in the GTK lib/pkgconfig/gtk+-2.0.pc
file to make it read:
Cflags: -mms-bitfields -I${includedir}/gtk-2.0