configure
first, which generates a header file config.h
,
which in turn is used by the supplied Imakefile
.
You are supposed to modify the latter files according to your local
preferences.
# AIX 5.3/6.1/7.1, C 8.0/9.0/12.1 export CC=cc; configure
config.h
:
#undef NEED_LRESOLV
Imakefile
:
DESTDIR = /tmp/xarchie-2.0.10/ MANPATH = man BINDIR = bin LIBDIR = lib/X11 # AIX 5.3/6.1/7.1, C 8.0/9.0/12.1 CFLAGS=-O2 -D_LARGE_FILES -I./ # AIX: need to specify an existing group, e.g.: INSTALL=/usr/bin/installbsd -c -g biodev
xmkmf make Makefiles # sometimes barfs, ignore cd FWF/Dir; xmkmf; make Makefiles cd ../FileChooser; xmkmf; make Makefiles cd ../MultiList; xmkmf; make Makefiles cd ../.. make clean make make install make install.man
Imakefile
.
There:
#undef NEED_LRESOLV
xmkmf make Makefiles # or imake -DUseInstalled -I/usr/local/lib/X11/config make depend
/usr
in the Makefile
adapt
DESTDIR = /tmp/xarchie-2.0.10 MANPATH = man BINDIR = bin LIBDIR = lib/X11then run
make make install make install.man
export CC=cc # native compiler rather than gcc configure
Imakefile
.
To prevent the installation to go into /usr
insert:
DESTDIR = /tmp/xarchie-2.0.10/ MANPATH = man BINDIR = bin LIBDIR = lib/X11
xmkmf make MakefilesThe top makefile seems broken, so for the lower ones separately:
cd FWF/Dir; xmkmf; make Makefiles cd ../FileChooser; xmkmf; make Makefiles cd ../MultiList; xmkmf; make Makefiles cd ../..
make clean make make install make install.man