From owner-freebsd-python@FreeBSD.ORG Thu Mar 21 12:29:30 2013 Return-Path: Delivered-To: freebsd-python@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 91F76713 for ; Thu, 21 Mar 2013 12:29:30 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward5h.mail.yandex.net (forward5h.mail.yandex.net [IPv6:2a02:6b8:0:f05::5]) by mx1.freebsd.org (Postfix) with ESMTP id 4B3D92A6 for ; Thu, 21 Mar 2013 12:29:27 +0000 (UTC) Received: from smtp3h.mail.yandex.net (smtp3h.mail.yandex.net [84.201.186.20]) by forward5h.mail.yandex.net (Yandex) with ESMTP id 46A09D0191F; Thu, 21 Mar 2013 16:29:26 +0400 (MSK) Received: from smtp3h.mail.yandex.net (localhost [127.0.0.1]) by smtp3h.mail.yandex.net (Yandex) with ESMTP id E455C1B40991; Thu, 21 Mar 2013 16:29:25 +0400 (MSK) Received: from ip-86-110-189-214.spark-rostov.ru (ip-86-110-189-214.spark-rostov.ru [86.110.189.214]) by smtp3h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id TPFi484R-TPFKmGXs; Thu, 21 Mar 2013 16:29:25 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1363868965; bh=WNPTPZeIoucxIQZJveX3Hnz8EPzP4ebsxKf/Nj3rXHI=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=lP2cvqkYP03DiypplWs7Y5r28NUvJPiDvdDFV8y8bftN+bIKvvJkIt0meQj/yBdhk cHPB1JOpKtzOkgwwfaRqjRvIn0Of7mQmTD+qdd6NMLkBC9nQ+R8QiQZnvwH6qWyiLX g4poAL7a39YSOw92ktL0R6hX8y+zeWiOP9r1NV0k= Message-ID: <514AFD08.40602@yandex.ru> Date: Thu, 21 Mar 2013 16:28:56 +0400 From: Ruslan Makhmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: Len Conrad Subject: Re: can't compile py-ldap2 References: <201303211323512.SM01804@W500.Go2France.com> In-Reply-To: <201303211323512.SM01804@W500.Go2France.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-python@FreeBSD.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2013 12:29:30 -0000 Hi, Len Conrad wrote on 21.03.2013 16:23: > building '_ldap' extension > cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -fPIC -DHAVE_TLS -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.10 -IModules -I/usr/local/include -I/usr/local/include/sasl -I/usr/include -I/usr/local/include/python2.7 -c Modules/LDAPObject.c -o temp.freebsd-8.2-RELEASE-i386-2.7/Modules/LDAPObject.o > In file included from Modules/common.h:10, > from Modules/LDAPObject.c:4: > /usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such file or directory > error: command 'cc' failed with exit status 1 > *** Error code 1 > > the same pkg in ftparchive for 8.2 is for python 2.6. > > Any way to get this compiled? > > thanks, > Len Am I right that you disabled THREADS options when building python? If yes, try to enable it and reinstall python, then try to build py-ldap2. -- Regards, Ruslan Tinderboxing kills... the drives.