This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年02月06日 20:46 by tshepang, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| note-on-building-on-recent-debian-releases.patch | tshepang, 2012年02月06日 20:46 | |||
| Messages (8) | |||
|---|---|---|---|
| msg152773 - (view) | Author: Tshepang Lekhonkhobe (tshepang) * | Date: 2012年02月06日 20:46 | |
I was puzzled why the various parts, like readline and ssl, failed to be built into my Python. It was after seeing #11715 that I realized I needed to install dpkg-dev, whose binary, dpkg-architecture, helps detect the locations of those libraries (). |
|||
| msg152851 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2012年02月08日 12:53 | |
Or, rather, setup.py should be smart enough to warn about that. |
|||
| msg152867 - (view) | Author: Barry A. Warsaw (barry) * (Python committer) | Date: 2012年02月08日 15:19 | |
On Feb 08, 2012, at 12:53 PM, Antoine Pitrou wrote: >Or, rather, setup.py should be smart enough to warn about that. It shouldn't just be limited to Debian and its derivatives. Other platforms (even Linux OSes) will probably have similar issues. |
|||
| msg152870 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2012年02月08日 15:37 | |
> >Or, rather, setup.py should be smart enough to warn about that. > > It shouldn't just be limited to Debian and its derivatives. Other platforms > (even Linux OSes) will probably have similar issues. The issue (having to install dpkg-dev) is specifically about Debian and Ubuntu. I don't think we should have tons of platform-specific instructions in the devguide, and I think that in this case setup.py should detect that the required tool is missing (depending on the platform, of course). |
|||
| msg152872 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年02月08日 15:51 | |
The correct way to get build dependencies on Debian and derivatives is to use "aptitude build-dep pythonX.Y" (see #13472). I think dpkg-dev would get installed as a dependency; Tshepang, could you uninstall dpkg-dev and test the aptitude command? |
|||
| msg152874 - (view) | Author: Barry A. Warsaw (barry) * (Python committer) | Date: 2012年02月08日 15:55 | |
On Feb 08, 2012, at 03:51 PM, Éric Araujo wrote: >The correct way to get build dependencies on Debian and derivatives is to use >"aptitude build-dep pythonX.Y" (see #13472). I think dpkg-dev would get >installed as a dependency; Tshepang, could you uninstall dpkg-dev and test >the aptitude command? +1 and that definitely works. I use that all the time on new VMs. If it *doesn't* work, then that's a bug in the Debian pythonX.Y package. |
|||
| msg152875 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年02月08日 15:57 | |
Then I propose to close this as duplicate of #13472. |
|||
| msg152878 - (view) | Author: Tshepang Lekhonkhobe (tshepang) * | Date: 2012年02月08日 16:07 | |
@Barry, it does work on Debian as well @Eric, I agree with closing it as a dupe |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:26 | admin | set | github: 58164 |
| 2012年02月08日 17:08:07 | eric.araujo | set | status: open -> closed resolution: duplicate superseder: devguide doesn’t list all build dependencies stage: resolved |
| 2012年02月08日 16:07:19 | tshepang | set | messages: + msg152878 |
| 2012年02月08日 15:57:37 | eric.araujo | set | messages: + msg152875 |
| 2012年02月08日 15:55:40 | barry | set | messages: + msg152874 |
| 2012年02月08日 15:51:03 | eric.araujo | set | nosy:
+ eric.araujo messages: + msg152872 |
| 2012年02月08日 15:37:09 | pitrou | set | messages: + msg152870 |
| 2012年02月08日 15:19:36 | barry | set | messages: + msg152867 |
| 2012年02月08日 12:53:54 | pitrou | set | nosy:
+ barry, pitrou messages: + msg152851 |
| 2012年02月06日 20:46:37 | tshepang | create | |