Port Request

Rusty Nejdl rnejdl at ringofsaturn.com
Sat Sep 7 19:25:21 UTC 2013


 

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 
 


More information about the freebsd-python mailing list