i try to compile openpkg (2.20060622) on openbsd (3.8/x86) and get the
following error

+-----------------------------------------------------------------------------+
| BUILD: Build RPM (RedHat Package Manager)
      |
+-----------------------------------------------------------------------------+
+ pwd
+ br=/tmp/openpkg-2.20060622
+ cd rpm-4.2.1
[...]
+ sh ./configure --cache-file=./config.cache
--prefix=/export/tmp/wt/local --with-db --with-glob --without-python
--without-apidocs --disable-shared --disable-rpath --disable-nls
configure: loading cache ./config.cache
[...]
+ /tmp/openpkg-2.20060622/make-3.81/make
cd . && \
[...]
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../popt -DOPENPKG
-DOPENPKG_OPENBSD -I/tmp/openpkg-2.20060622/zlib-1.2.3
-I/tmp/openpkg-2.20060622/bzip2-1.0.3
-I/tmp/openpkg-2.20060622/beecrypt-4.1.2 -DOPENPKG -DOPENPKG_OPENBSD
-I/tmp/openpkg-2.20060622/zlib-1.2.3
-I/tmp/openpkg-2.20060622/bzip2-1.0.3
-I/tmp/openpkg-2.20060622/beecrypt-4.1.2 -O2 -D_GNU_SOURCE -D_REENTRANT
-MT digest.lo -MD -MP -MF .deps/digest.Tpo -c digest.c -o digest.o
In file included from rpmio_internal.h:19,
                 from digest.c:6:
/tmp/openpkg-2.20060622/beecrypt-4.1.2/endianness.h:107: error: syntax
error before "__extension__"
/tmp/openpkg-2.20060622/beecrypt-4.1.2/endianness.h:107: error: syntax
error before '?' token
In file included from rpmio_internal.h:19,
                 from digest.c:6:
/tmp/openpkg-2.20060622/beecrypt-4.1.2/endianness.h:31:1: unterminated #else
/tmp/openpkg-2.20060622/beecrypt-4.1.2/endianness.h:26:1: unterminated
#ifndef
In file included from digest.c:6:
rpmio_internal.h:1:1: unterminated #ifndef
make[2]: *** [digest.lo] Error 1
make[2]: Leaving directory `/tmp/openpkg-2.20060622/rpm-4.2.1/rpmio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/openpkg-2.20060622/rpm-4.2.1'
make: *** [all] Error 2
+ exit 2
./openpkg.boot:ERROR: script returned non-null value


ideas ?

thanks
Regards

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

Reply via email to