Hi again: After placing a workaround to a reference to db51/db.h, I see the build stuck at another point:
libtool: link: gcc -fPIC -DPIC -Wall -W -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -Wno-unused-parameter -Wformat-security -g3 -fno-delete-null-pointer-checks -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fexceptions -fexceptions -fexceptions -D_GNU_SOURCE -D_REENTRANT -I/usr/include/pcre -o .libs/rpmconstant constant.o ./.libs/librpmconstant.so -L/usr/lib -L../beecrypt -L../lua -L../neon/src -L../neon -L../popt -L../syck/lib -L../syck /workspace/rpm/rpm-5_3_11/rpmio/.libs/librpmio.so /workspace/rpm/rpm-5_3_11/misc/.libs/librpmmisc.so /workspace/rpm/rpm-5_3_11/popt/.libs/libpopt.so -lneon -lpcreposix -ldl -lm -lpython2.4 -lpython2.6 -lexpat -lcrypto -lbz2 -lz -lpthread -lsocket -lnsl -lelf -lgcrypt -lgpg-error -lpcre -Wl,-rpath -Wl,/usr/lib /workspace/rpm/rpm-5_3_11/misc/.libs/librpmmisc.so: undefined reference to `globfree64' /workspace/rpm/rpm-5_3_11/misc/.libs/librpmmisc.so: undefined reference to `glob64' collect2: ld returned 1 exit status make[3]: *** [rpmconstant] Error 1 make[3]: Leaving directory `/workspace/rpm/rpm-5_3_11/rpmconstant' make[2]: *** [all] Error 2 make[2]: Leaving directory `/workspace/rpm/rpm-5_3_11/rpmconstant' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/workspace/rpm/rpm-5_3_11' make: *** [all] Error 2 My development steps have been: mv /usr/ccs/bin/ld /usr/ccs/bin/ld.old (Force the system to use gcc's ld rather than the Sun ld) install autoconf install automake install libtool install gettext install bison Move to cvs 1.1.23 (Thanks for the tip, Jeff !) CVSROOT=":pserver:anonym...@rpm5.org:/v/rpm/cvs" cvs -d :ext:rpm-...@rpm5.org:/v/rpm/cvs get -d wdj52 -r rpm-5_2 rpm cvs -d :pserver:anonym...@rpm5.org:/v/rpm/cvs get -d rpm-5_3_11 -r rpm-5_3_11-release rpm cd rpm-5_3_11/ ./devtool checkout ./devtool system make rpmio/rpmacl.c Empty the contents of this since Solaris doesn't have the ACL extensions that Linux has In rpmdb/rpmdb.h, replace: #if defined(_RPMDB_INTERNAL) #if defined(WITH_DB) #include <db51/db.h> #else #include "db_emu.h" #endif #endif with #include "/usr/include/db51/db.h" Since CFLAGS="-I/usr/include" and CPPFLAGS="-I/usr/include" weren't helping (those these were being passed to gcc). -- ================== Belenix: www.belenix.org -- Belenix: www.belenix.org ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org