On Fri, Sep 18, 2009, Stefan Palm wrote: > today I tried to bootstrap openpkg-4.0b81 on Solaris10/Sparc and failed > to do so. > > 1) Building "libarchive-2.7.1" failed in the first place, but after > adding "-D_POSIX_PTHREAD_SEMANTICS" to the libarchive CPPFLAGS it builds > fine.
Ok, applied for 4.0b82 and above now. > 2) Now I got stuck building "rpm-5.1.9". Within "rpmio" the build fails > with error: > > /tmp/openpkg-4.0b81/rpm-5.1.9/rpmio> /usr/sfw/bin/gcc -DHAVE_CONFIG_H > -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio > -I../misc -I../db3 -I../db3 -I../lua/local -I../lua/local -I../lua > -I../lua -DRPM_VENDOR_OPENPKG -DRPM_OS_SOLARIS=021000 > -I/tmp/openpkg-4.0b81/popt-1.15 -I/tmp/openpkg-4.0b81/zlib-1.2.3 > -I/tmp/openpkg-4.0b81/bzip2-1.0.5 > -I/tmp/openpkg-4.0b81/beecrypt-4.2.1/include > -I/tmp/openpkg-4.0b81/openssl-0.9.8k/include > -I/tmp/openpkg-4.0b81/sqlite-3.6.17 -I/tmp/openpkg-4.0b81/pcre-7.9 > -I/tmp/openpkg-4.0b81/uuid-1.6.2 -D_GNU_SOURCE -D_REENTRANT -MT glob.lo > -MD -MP -MF .deps/glob.Tpo -c glob.c -o glob.o > glob.c: In function NAME_MAX' undeclared (first use in this function) > glob.c:1114: error: (Each undeclared identifier is reported only once > glob.c:1114: error: for each function it appears in.) > > Any ideas what's going on here? The NAME_MAX simple is not available under your Solaris 10 as it seems. I've applied a patch for this to 4.0b82 and above now. Ralf S. Engelschall r...@engelschall.com www.engelschall.com ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org