python / python/cpython

./configure: add option to disable LZMA build

Open
#137,812 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build type-feature
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

I want to build Python for a chrooted environment without LZMA. The host system has liblzma and ./configure includes in the built liblzma, but then make && make install fails.

  • Add option to ./configure to disable LZMA when building and installing python.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ./configure entry point and trace how LZMA support is detected and included in the build. Test the resulting option in the described chrooted environment with make && make install; done means Python builds and installs without including LZMA when the option is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.