[issue28207] SQLite headers are not searched in custom locations

2016-09-25 Thread Santiago Castro
Santiago Castro added the comment: Okay, I checked out again and bz2 and openssl were in standard paths in fact, my bad. But I think python should also take into account pkg-config. I left a Dockerfile with how I think it should work with pyenv and Linuxbrew:

[issue28207] SQLite headers are not searched in custom locations

2016-09-25 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Hmmm, currently only _ctypes uses pkg-config to detect libffi's header path, as it's not easy to determine without pkg-config. Is there a magic that enables openssl and bz2 outside standard paths :) Anyway, using pkg-config is not a bad idea. I'd like to hear

[issue28207] SQLite headers are not searched in custom locations

2016-09-24 Thread Santiago Castro
Santiago Castro added the comment: Okay, that did work. But shouldn't it call pkg-config, so I don't need to set the flags manually? I mean, I'm running this in my user's home, in a computer which I don't have root access, and I used Linuxbrew (https://github.com/Linuxbrew/brew) for this,

[issue28207] SQLite headers are not searched in custom locations

2016-09-24 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Could you try this: CPPFLAGS=-I/home//local/include/ LDFLAGS=-L/home//local/lib bash -x /usr/bin/pyenv install 3.5.2 -- ___ Python tracker

[issue28207] SQLite headers are not searched in custom locations

2016-09-20 Thread Santiago Castro
Santiago Castro added the comment: I tried with pyenv (https://github.com/yyuu/pyenv): pyenv install 3.5.2. Maybe the error is from their side, but basically it downloads Python and compiles it: https://github.com/yyuu/pyenv/blob/master/plugins/python-build/install.sh#L24 --

[issue28207] SQLite headers are not searched in custom locations

2016-09-19 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Version 3.5.2 works for me: sqlite: found /home/yen/usr/include/sqlite3.h /home/yen/usr/include/sqlite3.h: version 3.14.2 How did you compile CPython? Could you paste commands you use? -- nosy: +Chi Hsuan Yen ___

[issue28207] SQLite headers are not searched in custom locations

2016-09-19 Thread Santiago Castro
Changes by Santiago Castro : -- title: SQLite headers are not -> SQLite headers are not searched in custom locations ___ Python tracker