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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to