Date: Thu, 05 May 2011 12:40:54 +0200 From: Carsten Jensen <tomse@tomse.dk> To: freebsd-ports@freebsd.org Subject: databases/tdb fails to compile Message-ID: <4DC27EB6.8020005@tomse.dk> In-Reply-To: <4DC19A77.8000604@FreeBSD.org> References: <19905.35570.176341.924425@jerusalem.litteratus.org> <4DC19A77.8000604@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm trying to install samba35, during the compile phase it installs python27 if it isn't already installed (I've previously installed it with pth enabled) and it compiles/installs the tdb (or tries to). I've linked /usr/local/includes/pth/pth.h and pthread.h to /usr/local/includes/pth/python2.7 (this is required for py-imaging which I'm also using bunt wondering if this is the right way?). Now I get this compile error <snip> cc -I./include -Iinclude -O2 -pipe -fno-strict-aliasing -I./libreplace -o bin/tdbtool tools/tdbtool.o -L. -ltdb cc -I./include -Iinclude -O2 -pipe -fno-strict-aliasing -I./libreplace -o bin/tdbdump tools/tdbdump.o -L. -ltdb cc -I./include -Iinclude -O2 -pipe -fno-strict-aliasing -I./libreplace -o bin/tdbbackup tools/tdbbackup.o -L. -ltdb ln -fs libtdb.so.1 libtdb.so cc -shared -o tdb.so pytdb.o -L. -ltdb `/usr/local/bin/python-config --ldflags` /usr/bin/ld: cannot find -lpth gmake: *** [tdb.so] Error 1 *** Error code 1 Stop in /usr/ports/databases/tdb. *** Error code 1 </snip> Googling the error I noticed this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=152111 Which didn't work for me I've tried some different things, and basically ended out in installing python26, adding tdb from the packages repo, uninstalling python26 and reinstalling python27 to continue. are there any hints to if this should be reported as a bug, though it's there already, or how to take it from here ?? cheers Carsten
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DC27EB6.8020005>