Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#16025 closed defect (worksforme)

mod_wsgi: error: Python.h: No such file or directory

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ys@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jmroot (Joshua Root)
Port: mod_wsgi

Description

Can't build mod_wsgi:

mod_wsgi.c:106:20: error: Python.h: No such file or directory
mod_wsgi.c:107:21: error: compile.h: No such file or directory
mod_wsgi.c:108:18: error: node.h: No such file or directory
mod_wsgi.c:111:2: error: #error Sorry, mod_wsgi requires at least Python 2.3.0.
mod_wsgi.c:115:2: error: #error Sorry, mod_wsgi requires that Python supporting thread.

Full output of port -d install mod_wsgi attached.

This is on Mac OS X 10.4.11 Intel with Xcode 2.5 and MacPorts trunk @38333. python24 is installed:

$ port installed python24
The following ports are currently installed:
  python24 @2.4.5_3+darwin_8 (active)
$

Attachments (1)

mod_wsgi.txt (79.4 KB) - added by ryandesign (Ryan Carsten Schmidt) 16 years ago.
port -d install mod_wsgi

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: mod_wsgi.txt added

port -d install mod_wsgi

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Hmm, works for me on Leopard/XCode 3.1/MP trunk. Those MACOSX_DEPLOYMENT_TARGET errors look mighty suspicious.

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Port: mod_wsgi added
Resolution: worksforme
Status: newclosed

This should work now that MDT is set explicitly, so long as python24 was built with MP 1.7.0+ (which the latest version should be, since it was updated quite recently).

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.