Opened 19 years ago

Closed 19 years ago

#7535 closed defect (fixed)

py-sqlite 2.0.7_0: include path is broken, won't build

Reported by: yaseppochi (Stephen J. Turnbull) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port:

Description

Note the -I/opt/local/include/include at the end of this mess. /opt/local/include/sqlite3.h is there, but /opt/local/include/include doesn't exist.

papa% port -ud upgrade py-sqlite DEBUG: Found port in file:///Users/steve/Software/Ports/dports/python/py-sqlite DEBUG: epoch: in tree: 0 installed: 0 DEBUG: py-sqlite 2.0.7_0 exists in the ports tree DEBUG: py-sqlite 2.0.5_0 is installed DEBUG: Found port in file:///Users/steve/Software/Ports/dports/lang/python24 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: python24 2.4.2_3 exists in the ports tree DEBUG: python24 2.4.2_3 is installed DEBUG: No need to upgrade! python24 2.4.2_3 >= python24 2.4.2_3 DEBUG: Found port in file:///Users/steve/Software/Ports/dports/databases/sqlite3 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: sqlite3 3.3.4_0 exists in the ports tree DEBUG: sqlite3 3.3.4_0 is installed DEBUG: Found port in file:///Users/steve/Software/Ports/dports/devel/readline DEBUG: epoch: in tree: 0 installed: 0 DEBUG: readline 5.0.005_0 exists in the ports tree DEBUG: readline 5.0.005_0 is installed DEBUG: No need to upgrade! readline 5.0.005_0 >= readline 5.0.005_0 DEBUG: No need to upgrade! sqlite3 3.3.4_0 >= sqlite3 3.3.4_0 DEBUG: variants to install DEBUG: available variants are : DEBUG: new portvariants: DEBUG: Changing to port directory: /Users/steve/Software/Ports/dports/python/py-sqlite DEBUG: Requested variant powerpc is not provided by port py-sqlite. DEBUG: Requested variant darwin is not provided by port py-sqlite. DEBUG: Requested variant macosx is not provided by port py-sqlite. DEBUG: Found port in file:///Users/steve/Software/Ports/dports/lang/python24 DEBUG: Changing to port directory: /Users/steve/Software/Ports/dports/lang/python24 DEBUG: Searching for dependency: python24 DEBUG: Found Dependency: receipt exists for python24 DEBUG: Found port in file:///Users/steve/Software/Ports/dports/databases/sqlite3 DEBUG: Changing to port directory: /Users/steve/Software/Ports/dports/databases/sqlite3 DEBUG: Searching for dependency: sqlite3 DEBUG: Found Dependency: receipt exists for sqlite3 DEBUG: Skipping completed com.apple.main (py-sqlite) DEBUG: Skipping completed com.apple.fetch (py-sqlite) DEBUG: Skipping completed com.apple.checksum (py-sqlite) DEBUG: Skipping completed com.apple.extract (py-sqlite) DEBUG: Skipping completed com.apple.patch (py-sqlite) DEBUG: Skipping completed com.apple.configure (py-sqlite) ---> Building py-sqlite with target build DEBUG: Executing com.apple.build (py-sqlite) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_Users_steve_Software_Ports_dports_python_py-sqlite/work/pysqlite-2.0.7" && /opt/local/bin/python2.4 setup.py build' Not building documentation file install-source.html, because docutils and/or SilverCity is not installed. Not building documentation file usage-guide.html, because docutils and/or SilverCity is not installed. running build running build_py running build_ext building 'pysqlite2._sqlite' extension gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DPYSQLITE_VERSION="2.0.7" -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=4 -I/opt/local/include/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I/opt/local/include/python2.4 -c src/module.c -o build/temp.darwin-7.9.0-Power_Macintosh-2.4/src/module.o In file included from src/module.c:24: src/connection.h:32:21: sqlite3.h: No such file or directory

Change History (2)

comment:1 Changed 19 years ago by yaseppochi (Stephen J. Turnbull)

Of course, removing the reinplace that changes "/usr/local" to "/opt/local/include" wins. sheesh....

comment:2 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

fixed by using PREFIX via a patch, then replacing that with $prefix;

Note: See TracTickets for help on using tickets.