On Sun, May 01, 2005, Ralf S. Engelschall wrote: >On Sun, May 01, 2005, Bill Campbell wrote: > ... >I've now applied your Python improvements to the OpenPKG-CURRENT >"python" package. Sorry for the delay. Unfortunately, under at least >FreeBSD 5.4-STABLE the Berkeley-DB module still doesn't build:
Have you tried this on other platforms? I've built this on SuSE 9.2 and 9.3 Professional successfully, albeit on a system that's mostly OpenPKG Release 2.3 with a few CURRENT packages. The only FreeBSD system we have in-house is running 4.8 and OpenPKG Release 2.2. I thought it might have been a problem ``with_compat'' in the db package, but I do have that turned on. I don't see any ``-ldb'' in the libraries which may be a hint. I know I had to tweak the setup.py script to get python to build the locale things under SuSE 9.2 and 9.3. >case $MAKEFLAGS in \ >*-s*) CC='/openpkg-dev/bin/cc -pthread' LDSHARED='/openpkg-dev/bin/cc -shared >-L/openpkg-dev/lib -lndbm -lgdbm' OPT='-DNDEBUG -g -O2 -Wall >-Wstrict-prototypes' ./python -E ./setup.py -q build;; \ >*) CC='/openpkg-dev/bin/cc -pthread' LDSHARED='/openpkg-dev/bin/cc -shared >-L/openpkg-dev/lib -lndbm -lgdbm' OPT='-DNDEBUG -g -O2 -Wall >-Wstrict-prototypes' ./python -E ./setup.py build;; \ >esac >running build >running build_ext >db.h: found (4, 3) in /openpkg-dev/include >INFO: Can't locate Tcl/Tk libs and/or headers >building 'bsddb185' extension >/openpkg-dev/bin/cc -pthread -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC >-fno-strict-aliasing -I. -I/tmp/rse/openpkg/Python-2.4.1/./Include >-I/openpkg-dev/include -I/tmp/rse/openpkg/Python-2.4.1/Include >-I/tmp/rse/openpkg/Python-2.4.1 -c >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c -o >build/temp.freebsd-5.4-STABLE-i386-2.4/bsddbmodule.o >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c: In function >`newdbhashobject': >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c:58: error: `HASHINFO' >undeclared (first use in this function) >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c:58: error: (Each >undeclared identifier is reported only once >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c:58: error: for each >function it appears in.) >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c:58: error: parse error >before "info" >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c:63: error: `info' >undeclared (first use in this function) >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c:74: warning: implicit >declaration of function `dbopen' >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c:74: warning: assignment >makes pointer from integer without a cast >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c: In function >`newdbbtobject': >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c:106: error: `BTREEINFO' >undeclared (first use in this function) >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c:106: error: parse error >before "info" >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c:111: error: `info' >undeclared (first use in this function) >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c:124: warning: assignment >makes pointer from integer without a cast >/tmp/rse/openpkg/Python-2.4.1/Modules/bsddbmodule.c: In function >`newdbrnobject': > > Ralf S. Engelschall > [EMAIL PROTECTED] > www.engelschall.com > >______________________________________________________________________ >The OpenPKG Project www.openpkg.org >Developer Communication List openpkg-dev@openpkg.org > -- Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``... because most politicians and bureaucrats are technological idiots, it's going to be crucial for the rank and file members of the IT community to find its collective voice soon.'' --Michael Vizard, InfoWorld Editor in Chief. ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org