buildprep on Debian
Hal Murray
halmurray at sonic.net
Sat Mar 29 09:24:04 UTC 2025
> Same conceptual idea as python-is-python3, right?
> But just install python3-dev directly.
Maybe, but there is something going on that I don't understand yet.
Here is the code in my buildprep:
apt)
$install build-essential # Build environment
$install bison libssl-dev # build
$install libcap-dev libseccomp-dev # build
$install libavahi-compat-libdnssd-dev # optional build
$install pps-tools
$install python3-dev python-is-python3
$install python-dev-is-python3
;;
Here is the output from ./buildprep -n (my working coy)
apt-get install -y build-essential
apt-get install -y bison libssl-dev
apt-get install -y libcap-dev libseccomp-dev
apt-get install -y libavahi-compat-libdnssd-dev
apt-get install -y pps-tools
apt-get install -y python3-dev python-is-python3
apt-get install -y python-dev-is-python3
apt-get install -y python-dev
Somebody is adding that python-dev
Ahh. I found this:
# Prerequisites for the client Python tools: python extensions
case $installer in
apt)
$install "python${PYVERS}-dev"
;;
So PYVERS must be empty.
That's because python hasn't been installed yet so python --version
doesn't work.
Mumble. I'll try to fix it in the morning.
Do we care if buildprep works on python 2?
--
These are my opinions. I hate spam.
More information about the devel
mailing list