On 2013-04-07 18:58, Li-Wen Hsu wrote: > On Sun, Apr 7, 2013 at 1:23 PM, Douglas Thrift > <doug...@douglasthrift.net> wrote: >> On 4/6/2013 6:48 PM, Jaret Bartsch wrote: > > [...] > >>> In file included from mod_wsgi.c:142: >>> /usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such file >>> or directory >>> apxs:Error: Command failed with rc=65536 >>> . >>> *** [mod_wsgi.la] Error code 1 >>> 1 error >>> *** [do-build] Error code 1 >>> >>> Stop in /usr/ports/www/mod_wsgi3. > > [...] > >> Hello, >> >> I'm not sure what's going on, but this seems like a problem with how >> Python and/or Apache are configured. I've CCed the FreeBSD mailing lists >> for those. >> > > It looks like that PTH option is enabled when building Python. I can > build mod_wsgi{,3} correctly with default options of Python. But I > don't have time to check what's going wrong currently. Is there > anybody can help get into this? >
Just a guess ... - python was build with the options "THREADS + PTH" and PTH was removed later - it's a FreeBSD current machine with BSD_GREP enabled. (I have some reports where apache / apache module build fails with BSD_GREP on current.) To get some more information please send use the output of the following script http://people.freebsd.org/~ohauer/scripts/check_python_pth.sh -- olli _______________________________________________ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"