> Hello Dieter, > > Sorry for taking so long to respond, because I actually don't > have a concrete > solution for you. Instead I have some questions and hints. > > The OpenPKG bootstrapper compiles db and rpm among other > softwares. It seems > clear to me that db and rpm are failing to compile on your > machines during > bootstrapping. I would try compiling db from source > ftp://ftp.openpkg.org/sources/DST/openpkg/db-3.2.9.tar.gz by > hand. Same thing
(After some hours trying ....) I did: ------------------------ cd /tmp wget ftp://ftp.openpkg.org/sources/DST/openpkg/db-3.2.9.tar.gz rm -rf db-3.2.9 gunzip -c db-3.2.9.tar.gz | tar xvf - cd db-3.2.9 cd build_unix MAKE="/usr/local/bin/gmake" \ ../dist/configure gmake ------------------------- on both machines: HP-UX 11.00 and 11.11, where these packages were additionally installed: autoconf 2.53 autoconf automake 1.6.3 automake binutils 2.11.2 binutils DB 3.2.9 DB db 4.0.14 db diffutils 2.8.1 diffutils findutils 4.1.5 findutils gcc 3.2 gcc gdbm 1.8.0 gdbm gettext 0.11.5 gettext jpeg 6b jpeg libiconv 1.8 libiconv libpng 1.0.11 libpng libtool 1.4.2 libtool lynx 2.8.4 lynx m4 1.4 m4 make 3.79.1 make ncurses 5.2 ncurses openssh 2.5.1p1 openssh openssl 0.9.6d openssl perl 5.8.0 perl wget 1.8.1 wget xpm 3.4k xpm zlib 1.1.3 zlib Result: It seems to work. > with RPM at ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-4.0.2.tar.gz. Here I did: ------------- cd /tmp wget ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-4.0.2.tar.gz rm -rf rpm-4.0.2 gunzip -c rpm-4.0.2.tar.gz | tar xvf - cd rpm-4.0.2 rm /usr/local/include/zconf.h ln -s /opt/zlib/include/zconf.h /usr/local/include/zconf.h rm /usr/local/include/zlib.h ln -s /opt/zlib/include/zlib.h /usr/local/include/zlib.h (Can i avoid this?, ist there an environment variable like LDFLAGS?) mkdir -p /usr/local/include/db3 rm /usr/local/include/db3/db.h ln -s /usr/local/include/db.h /usr/local/include/db3/db.h (Can i avoid this?, gcc is searching for db3/db.h) rm ./config.cache MAKE="/usr/local/bin/gmake" \ LINGUAS="en de fr it" \ LDFLAGS="${LDFLAGS} -L/usr/local/lib/ -L/opt/zlib/lib/" \ ./configure gmake ----------- HP-UX 11.11 stops with: ---------------------------------- gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../build -I../lib -I../popt -I../misc -I/usr/local/include -g -O2 -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c rpmrpc.c -fPIC -DPIC -o .libs/rpmrpc.lo cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory In file included from /usr/include/netdb.h:69, from ../system.h:231, from rpmrpc.c:5: /usr/include/sys/socket.h:484: parse error before "sendfile" /usr/include/sys/socket.h:485: parse error before "bsize_t" /usr/include/sys/socket.h:486: parse error before "sendpath" /usr/include/sys/socket.h:487: parse error before "bsize_t" rpmrpc.c: In function `vfs_parse_ls_lga': rpmrpc.c:587: warning: comparison is always false due to limited range of data type rpmrpc.c: In function `ftpGlob': rpmrpc.c:952: warning: passing arg 2 of `poptParseArgvString' from incompatible pointer type gmake[2]: *** [rpmrpc.lo] Error 1 gmake[2]: Leaving directory `/tmp/rpm-4.0.2/rpmio' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/rpm-4.0.2' gmake: *** [all-recursive-am] Error 2 -------------------------------- HP-UX 11.00 stops with: ---------------------------------- /bin/sh ../libtool --mode=link gcc -g -O2 -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -L/usr/local/lib/ -L/opt/zlib/lib/ -L/usr/local/lib/ -L/opt/zlib/lib/ -o rpmsort rpmsort.o ../build/librpmbuild.la ../lib/librpm.la ../rpmio/librpmio.la ../popt/libpopt.la libtool: link: warning: this platform does not like uninstalled shared libraries libtool: link: `rpmsort' will be relinked during installation gcc -g -O2 -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -L/usr/local/lib/ -L/opt/zlib/lib/ -L/usr/local/lib/ -L/opt/zlib/lib/ -o .libs/rpmsort rpmsort.o /tmp/rpm-4.0.2/build/.libs/librpmbuild.sl /tmp/rpm-4.0.2/lib/.libs/librpm.sl -ldb /tmp/rpm-4.0.2/rpmio/.libs/librpmio.sl -lintl -L/usr/local/lib -lz /tmp/rpm-4.0.2/popt/.libs/libpopt.sl -Wl,+b -Wl,/tmp/rpm-4.0.2/build/.libs:/tmp/rpm-4.0.2/lib/.libs:/tmp/rpm-4.0.2/r pmio/.libs:/tmp/rpm-4.0.2/popt/.libs:/usr/local/lib /usr/ccs/bin/ld: Unsatisfied symbols: errx (first referenced in rpmsort.o) (code) collect2: ld returned 1 exit status gmake[2]: *** [rpmsort] Error 1 gmake[2]: Leaving directory `/tmp/rpm-4.0.2/tools' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/rpm-4.0.2' gmake: *** [all-recursive-am] Error 2 ---------------------------------- Regards, Dieter ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
