From owner-freebsd-python@FreeBSD.ORG Sat Sep 7 19:25:21 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 64E57FCF for ; Sat, 7 Sep 2013 19:25:21 +0000 (UTC) (envelope-from rnejdl@ringofsaturn.com) Received: from tethys.ringofsaturn.com (tethys.ringofsaturn.com [71.252.219.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 26A3A20EF for ; Sat, 7 Sep 2013 19:25:20 +0000 (UTC) Received: from ASSP.nospam (localhost [127.0.0.1]) (authenticated bits=0) by tethys.ringofsaturn.com (8.14.7/8.14.7) with ESMTP id r87JPEVU091243 for ; Sat, 7 Sep 2013 14:25:14 -0500 (CDT) (envelope-from rnejdl@ringofsaturn.com) Received: from mail.ringofsaturn.com ([127.0.0.1] helo=mail.ringofsaturn.com) by ASSP.nospam with ESMTP (ASSP 1.9.9); 7 Sep 2013 14:25:14 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_ab41394e62876848db2f8179330dc0a9" Date: Sat, 07 Sep 2013 14:25:14 -0500 From: Rusty Nejdl To: python@freebsd.org Subject: Port Request Mail-Reply-To: rnejdl@ringofsaturn.com Message-ID: X-Sender: rnejdl@ringofsaturn.com User-Agent: Roundcube Webmail/0.9.2 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: rnejdl@ringofsaturn.com List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2013 19:25:21 -0000 --=_ab41394e62876848db2f8179330dc0a9 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8 I have been attempting for a little while now to make a port out of this: http://code.google.com/p/apsw/ Unfortunately, I am ignorant of the python ports in freebsd. I need to get this port built in order to update deskutils/calibre to the latest 1.x branch as that is a new requirement. I'm attaching what I have so far and would appreciate any help on it. (yes, I know I didn't make it far.) The failure actually has nothing to do with the port but is with the basic building of the program. [tethys]:/home/rnejdl/Downloads/apsw/apsw-3.8.0.2-r1> python setup.py build running build running build_ext SQLite: Using system sqlite include/libraries building 'apsw' extension creating build creating build/temp.freebsd-9.2-PRERELEASE-amd64-2.7 creating build/temp.freebsd-9.2-PRERELEASE-amd64-2.7/src cc -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -march=nocona -DNDEBUG -O2 -pipe -fno-strict-aliasing -march=nocona -fPIC -DEXPERIMENTAL=1 -DNDEBUG=1 -DAPSW_FORK_CHECKER=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -Isrc -I/usr/local/include/python2.7 -c src/apsw.c -o build/temp.freebsd-9.2-PRERELEASE-amd64-2.7/src/apsw.o src/apsw.c:58:21: error: sqlite3.h: No such file or directory src/apsw.c:62:2: error: #error Your SQLite version is too old. It must be at least 3.8.0 In file included from src/apsw.c:128: src/exceptions.c:24: error: expected declaration specifiers or '...' before 'sqlite3' How do I get setup.py to find sqlite3.h at /usr/local/include/sqlite3.h ? Rusty Nejdl --=_ab41394e62876848db2f8179330dc0a9--