System: hp-ux 10.20 and hp-ux 11.00
Compiler: gcc-3.2 32 bit Version
threads disabled on hp-ux 10.20, because no default posix threads available
# ./config.guess
hppa2.0w-hp-hpux11.00
mzfem_root:/tmp # uname -a
HP-UX mzfem B.11.00 A 9000/785 2015168928 two-user license
# model
9000/785/C3600
build order: GLib, Pango, ATK, then GTK+
built-Scripts for glib:
=======================
#!/bin/csh -f
setenv RANLIB "/bin/true"
#
gmake distclean
./configure --prefix=/opt/gtk2 \
--x-includes=/usr/include/X11R6 --x-libraries=/usr/lib/X11R6 \
--enable-threads=yes --with-libiconv=gnu
gmake
gmake install
built-Scripts for pango: (gtk+-1.2.10 and glib-1.2.10 is not installed !!!)
========================
Requirements: GNU fileutils (REASON Permissions)
Perl5
freetype optional
#!/bin/csh -f
#
setenv CPPFLAGS "-I/opt/gtk2/include"
setenv LDFLAGS "-L/opt/gtk2/lib"
setenv RANLIB "/bin/true"
set path=( $path /opt/gtk2/bin )
setenv PKG_CONFIG_PATH "/opt/gtk2/lib/pkgconfig"
#
gmake distclean
mv /usr/local/include/glib.h /usr/local/include/glib.h.orig
./configure --prefix=/opt/gtk2 \
--x-includes=/usr/lib/X11R6/include --x-libraries=/usr/lib/X11R6
gmake
gmake install
mv /usr/local/include/glib.h.orig /usr/local/include/glib.h
built-Scripts for atk:
======================
#!/bin/csh -f
#
set path=( $path /opt/gtk2/bin )
setenv RANLIB "/bin/true"
setenv CPPFLAGS "-I/opt/gtk2/include"
setenv LDFLAGS "-L/opt/gtk2/lib"
setenv PKG_CONFIG_PATH "/opt/gtk2/lib/pkgconfig"
#
gmake distclean
./configure --prefix=/opt/gtk2
gmake
gmake install
built-Scripts gtk: ( requires tiff )
==================
#!/bin/csh -f
#
set path=( $path /opt/gtk2/bin )
setenv CPPFLAGS "-I/opt/gtk2/include -I/usr/lib/X11R6/include"
setenv LDFLAGS "-L/opt/gtk2/lib -L/usr/lib/X11R6/lib"
setenv RANLIB "/bin/true"
setenv PKG_CONFIG_PATH "/opt/gtk2/lib/pkgconfig"
#
gmake distclean
./configure --prefix=/opt/gtk2
gmake
gmake install
Martin
Attachment:
Makefile.gtk2
Description: Makefile.gtk2