Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-08 Thread Matthias Klose
On 05.05.2012 16:13, Antoine Pitrou wrote: On Sat, 05 May 2012 16:04:40 +0200 Christian Heimes li...@cheimes.de wrote: Am 05.05.2012 15:39, schrieb Antoine Pitrou: On Sat, 05 May 2012 15:31:24 +0200 Christian Heimes li...@cheimes.de wrote: Am 05.05.2012 12:36, schrieb Antoine Pitrou:

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-08 Thread Barry Warsaw
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:

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-05 Thread Antoine Pitrou
Hello, On Fri, 04 May 2012 14:07:28 -0400 Edward C. Jones edcjo...@comcast.net wrote: Filelist of package libbz2-dev in wheezy of architecture amd64 /usr/include/bzlib.h /usr/lib/x86_64-linux-gnu/libbz2.a /usr/lib/x86_64-linux-gnu/libbz2.so /usr/share/doc/libbz2-dev setup.py probably

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-05 Thread Christian Heimes
Am 05.05.2012 12:36, schrieb Antoine Pitrou: Hello, On Fri, 04 May 2012 14:07:28 -0400 Edward C. Jones edcjo...@comcast.net wrote: Filelist of package libbz2-dev in wheezy of architecture amd64 /usr/include/bzlib.h /usr/lib/x86_64-linux-gnu/libbz2.a /usr/lib/x86_64-linux-gnu/libbz2.so

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-05 Thread Antoine Pitrou
On Sat, 05 May 2012 15:31:24 +0200 Christian Heimes li...@cheimes.de wrote: Am 05.05.2012 12:36, schrieb Antoine Pitrou: Hello, On Fri, 04 May 2012 14:07:28 -0400 Edward C. Jones edcjo...@comcast.net wrote: Filelist of package libbz2-dev in wheezy of architecture amd64

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-05 Thread Tshepang Lekhonkhobe
This is likely because you don't have dpkg-dev installed. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-05 Thread Tshepang Lekhonkhobe
On Sat, May 5, 2012 at 3:43 PM, Tshepang Lekhonkhobe tshep...@gmail.com wrote: This is likely  because you don't have dpkg-dev installed. http://bugs.python.org/issue13956 ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-05 Thread Christian Heimes
Am 05.05.2012 15:39, schrieb Antoine Pitrou: On Sat, 05 May 2012 15:31:24 +0200 Christian Heimes li...@cheimes.de wrote: Am 05.05.2012 12:36, schrieb Antoine Pitrou: Hello, On Fri, 04 May 2012 14:07:28 -0400 Edward C. Jones edcjo...@comcast.net wrote: Filelist of package libbz2-dev in

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-05 Thread Antoine Pitrou
On Sat, 05 May 2012 16:04:40 +0200 Christian Heimes li...@cheimes.de wrote: Am 05.05.2012 15:39, schrieb Antoine Pitrou: On Sat, 05 May 2012 15:31:24 +0200 Christian Heimes li...@cheimes.de wrote: Am 05.05.2012 12:36, schrieb Antoine Pitrou: Hello, On Fri, 04 May 2012 14:07:28 -0400

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-05 Thread Christian Heimes
Am 05.05.2012 16:13, schrieb Antoine Pitrou: Perhaps setup.py should detect that? It shouldn't be too hard to parse /etc/debian_version in order to know whether the system is multiarch-enabled. That would avoid confusing build failures. This sounds like a good idea. dpkg-architecture is

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-05 Thread Barry Warsaw
On May 05, 2012, at 04:04 PM, Christian Heimes wrote: The fix needs the dpkg-architecture program. As Tshepang pointed out it may not be available on Edward's box. I always install build-essential on all development boxes as it includes GCC, make and dpkg-dev. That's probably it. Certainly

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-05 Thread Edward C. Jones
dpkg-architecture -qDEB_HOST_MULTIARCH gives x86_64-linux-gnu Installing dpkg-dev fixed the problem. Now both 3.3a3 and a developmental clone work. There is already a Debian package for 3.3 alpha3. See http://packages.debian.org/source/experimental/python3.3 A large diff for Debian Python is

[Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-04 Thread Edward C. Jones
I use up-to-date Debian testing (wheezy), amd64 architecture. I have made a clone of the developmental version of Python 3.3. make -s -j3 prints: ... Python build finished, but the necessary bits to build these modules were not found: _bz2 _curses_curses_panel _dbm

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-04 Thread Oleg Broytman
On Fri, May 04, 2012 at 02:07:28PM -0400, Edward C. Jones edcjo...@comcast.net wrote: From the Debian website, I got the list of all the files in these three packages: Don't know about amd64 arch, sorry. You can list content of a package from command line: dpkg [-L|--listfiles] libbz2-dev

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-04 Thread Chris Angelico
On Sat, May 5, 2012 at 4:07 AM, Edward C. Jones edcjo...@comcast.net wrote: /usr/include/bzlib.h /usr/lib/x86_64-linux-gnu/libbz2.a /usr/lib/x86_64-linux-gnu/libbz2.so /lib/x86_64-linux-gnu/libbz2.so.1 /lib/x86_64-linux-gnu/libbz2.so.1.0 /lib/x86_64-linux-gnu/libbz2.so.1.0.4 I have an