From owner-freebsd-ports@FreeBSD.ORG Thu May 5 11:12:20 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6290E106566B for ; Thu, 5 May 2011 11:12:20 +0000 (UTC) (envelope-from tomse@tomse.dk) Received: from pasmtpA.tele.dk (pasmtpa.tele.dk [80.160.77.114]) by mx1.freebsd.org (Postfix) with ESMTP id 23C728FC12 for ; Thu, 5 May 2011 11:12:19 +0000 (UTC) Received: from [192.168.5.95] (unknown [62.243.124.37]) by pasmtpA.tele.dk (Postfix) with ESMTP id 59320800557 for ; Thu, 5 May 2011 12:40:55 +0200 (CEST) Message-ID: <4DC27EB6.8020005@tomse.dk> Date: Thu, 05 May 2011 12:40:54 +0200 From: Carsten Jensen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <19905.35570.176341.924425@jerusalem.litteratus.org> <4DC19A77.8000604@FreeBSD.org> In-Reply-To: <4DC19A77.8000604@FreeBSD.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: databases/tdb fails to compile X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2011 11:12:20 -0000 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 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 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