[Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages (original) (raw)
Barry Warsaw barry at python.org
Wed May 9 03:16:53 CEST 2012
- Previous message: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages
- Next message: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On May 09, 2012, at 02:17 AM, Matthias Klose wrote:
IMO, the correct fix would be not to hard-code the system include and library directories, but get them from gcc directly (if CC is gcc), and not relying on dpkg-architecture.
$ gcc -v -E - </dev/null_ _[...]_ _#include <...> search starts here: /usr/lib/gcc/x8664-linux-gnu/4.6/include /usr/local/include /usr/lib/gcc/x8664-linux-gnu/4.6/include-fixed /usr/include/x8664-linux-gnu /usr/include End of search list. [...] LIBRARYPATH=/usr/lib/gcc/x8664-linux-gnu/4.6/:/usr/lib/gcc/x8664-linux-gnu/4.6/../../../x8664-linux-gnu/:/usr/lib/gcc/x8664-linux-gnu/4.6/../../../../lib/:/lib/x8664-linux-gnu/:/lib/../lib/:/usr/lib/x8664-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x8664-linux-gnu/4.6/../../../:/lib/:/usr/lib/
+1
This would make a good fix for Python 3.3. Matthias, perhaps you can work up a patch for that?
-Barry
- Previous message: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages
- Next message: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]