Trying to get OpenPKG 2.3.1 installed on HPUX 11.00/64. Here's my current environment:

PATH=/opt/langtools/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/usr/lbin:/usr/ccs/bin:/usr/ucb
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/langtools/lib
GCC Version: 3.0.2

This is the end of the error messages:

/usr/local/bin/gcc -DOPENPKG -DOPENPKG_HPUX -I/tmp/openpkg-2.3.1/zlib-1.2.2 -I/tmp/openpkg-2.3.1/bzip2-1.0.2 -I/tmp/openpkg-2.3.1/beecrypt-4.1.2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o file file.o -L/tmp/openpkg-2.3.1/zlib-1.2.2 -L/tmp/openpkg-2.3.1/bzip2-1.0.2 -L/tmp/openpkg-2.3.1/beecrypt-4.1.2 ./.libs/libfmagic.a -L/CLO/Products/OPENSOURCE/src/PL/gcc/obj_gcc/hppa1.1-hp-hpux11.00/libstdc++-v3/src -L/CLO/Products/OPENSOURCE/src/PL/gcc/obj_gcc/hppa1.1-hp-hpux11.00/libstdc++-v3/src/.libs -L/CLO/Products/OPENSOURCE/src/PL/gcc/obj_gcc/gcc -L/usr/local/hppa1.1-hp-hpux11.00/bin -L/usr/ccs/bin -L/usr/ccs/lib -L/opt/langtools/lib -lm -lgcc -lnsl /tmp/openpkg-2.3.1/beecrypt-4.1.2/.libs/libbeecrypt.a -lrt /usr/local/lib/libstdc++.a -lunwind -lz /tmp/openpkg-2.3.1/bzip2-1.0.2/.libs/libbz2.a
/usr/ccs/bin/ld: Can't find library: "unwind"
collect2: ld returned 1 exit status
make[2]: *** [file] Error 1
make[2]: Leaving directory `/tmp/openpkg-2.3.1/rpm-4.2.1/file'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/openpkg-2.3.1/rpm-4.2.1'
make: *** [all] Error 2
+ exit 2
./openpkg.boot:ERROR: script returned non-null value


Now - if I use an updated (3.4.3) version of GCC w/binutils 2.1.5 I get this (/tmp/pa20_64 is where the GCC & binutils binaries live):

PATH=/tmp/pa20_64/bin:/opt/langtools/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/usr/lbin
LD_LIBRARY_PATH=/tmp/pa20_64

utf8.c:26:1: warning: "iconv_t" redefined
In file included from ../lib/system.h:22,
from utf8.c:19:
../config.h:737:1: warning: this is the location of the previous definition
/tmp/pa20_64/bin/gcc -g -O2 -o tar buffer.o compare.o create.o delete.o extract.o xheader.o incremen.o list.o mangle.o misc.o names.o sparse.o system.o tar.o update.o utf8.o ../lib/libtar.a
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
../lib/libtar.a(xstrtoumax.o)(.text+0x238): In function `xstrtoumax':
/tmp/openpkg-2.3.1/tar-1.15.1/lib/xstrtol.c:127: undefined reference to `__strtoull'
make[2]: *** [tar] Error 1
make[2]: Leaving directory `/tmp/openpkg-2.3.1/tar-1.15.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/openpkg-2.3.1/tar-1.15.1'
make: *** [all] Error 2
+ exit 2
+ exit 2
./openpkg.boot:ERROR: script returned non-null value


Doug
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to