Comments (7)
I've got the same issue when tried to launch your build scripts from my docker image without root (map host user(not root) uid:guid to image root). The issue was solved when I switched back to root.
So, as a workaround try to run it with root (ex.: sudo)
from python-build-standalone.
Is this with current master?
Could you please try building with Python 3.7+? I would not be surprised if there is a subtle bug somewhere with Python 3.6.
from python-build-standalone.
I cant install Python 3.7 to Debian8. Is unsupported bu default (except docker conda image).
I was try to build on Ubuntu 18.4 and Python3.7. Its built OK. But i need Debian 8. So, i will try conda and will try install Py3.7 to Deb8 again.
from python-build-standalone.
So, i was successful install Python 3.7 to Debian8.10 and start build standalone. Same error about VERSION.* (((
This is script
# start as sudo
# install ssl
apt-get install -y libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev curl
mkdir ~/dev
cd ~/dev
wget https://www.openssl.org/source/openssl-1.1.1f.tar.gz
tar xzf openssl-1.1.1f.tar.gz
cd openssl-1.1.1f
./config --prefix=${HOME}/openssl --openssldir=${HOME}/openssl
make
make test
make install
# install python
cd ~/dev
wget https://www.python.org/ftp/python/3.7.7/Python-3.7.7.tgz
tar xzf Python-3.7.7.tgz
cd Python-3.7.7
export LD_LIBRARY_PATH=${HOME}/openssl/lib:$LD_LIBRARY_PATH
export LDFLAGS="-L${HOME}/openssl/lib"
export CPPFLAGS="-I${HOME}/openssl/include"
./configure --with-openssl=${HOME}/openssl LDFLAGS="-Wl,-rpath=${HOME}/openssl/lib -L${HOME}/openssl/lib" --with-address-sanitizer --with-undefined-behavior-sanitizer --with-pymalloc --with-ssl
make
make install
# build standalone
cd ~/dev
https://github.com/indygreg/python-build-standalone.git
cd python-build-standalone
python3.7 ./build-linux.py --python cpython-3.7
The error:
Makefile:78: .../python-build-standalone/build/versions/VERSION.*: No such file or directory
Makefile:289: warning: overriding recipe for target '.../python-build-standalone/build/cpython--x86_64-unknown-linux-gnu-noopt.tar'
Makefile:286: warning: ignoring old recipe for target '.../python-build-standalone/build/cpython--x86_64-unknown-linux-gnu-noopt.tar'
make: *** No rule to make target '.../python-build-standalone/build/versions/VERSION.*'. Stop.
from python-build-standalone.
I'm also having trouble with this. I tried on Ubuntu 18.04.4 LTS x86_64 (Python 3.6.9) and 20.04.1 LTS x86_64 (Python 3.8.5) both with exactly the same problem. Even the basic build command ./build-linux.py
without arguments fails with this error.
I tested bypassing line 80 of cpython_unix/Makefile (include $(OUTDIR)/versions/VERSION.*
) and was met with a stranger error: make: *** No rule to make target '('Connection', needed by 'unable'. Stop.
My end goal is to compile for aarch64 using this pull request but I'm trying to verify the x86_64 build works first (vadimcn's fork suffers the same error with both x86_64 and aarch64 host architecture).
from python-build-standalone.
This problem still occurs with 24ced1e. If we could get some basic information on the supported build environment that would be extremely helpful.
from python-build-standalone.
I've got the same issue when tried to launch your build scripts from my docker image without root (map host user(not root) uid:guid to image root). The issue was solved when I switched back to root. So, as a workaround try to run it with root (ex.: sudo)
I am building with root permission and still got the same error No rule to make target '.../python-build-standalone/build/versions/VERSION.*
. Then I rerun a Docker container on the host and map the Docker socket into the container docker run -it -v /var/run/docker.sock:/var/run/docker.sock your_image
. This time ./build-linux.py
works fine in the new container.
I think the reason is that by mapping the Docker socket, Docker commands within the container can communicate with the Docker engine on the host, thereby achieving the purpose of running Docker containers inside the container.
from python-build-standalone.
Related Issues (20)
- Question regarding Windows dependencies
- Find another mirror for xz HOT 2
- provide tar.gz/tar.bz/tar.xz in addition to tar.zst HOT 1
- Release for Python 3.8.19, 3.9.19, and 3.10.14 HOT 27
- Progress bar or progress reporting for release tasks
- `just release` should be idempotent
- Move release process to GitHub Actions
- What are the "install only" builds? HOT 2
- Python unable to see CA certificates in Fedora/Rocky/Alma/RHEL systems HOT 1
- MUSL distributions lacking proper interpreter information HOT 6
- [bug]: `venv` creation fails on `linux-musl` builds HOT 18
- unable to install poetry HOT 2
- Support for Python beta releases (3.13)? HOT 7
- Please archive this repository, Greg. HOT 6
- Fails to build on Win 11 with Preview visual studio
- Release for Python 3.12.4? HOT 6
- Provide framework build on macOS?
- Questions about libpython size, specifically on Linux x86_64 HOT 6
- Linux builds break PyInstaller HOT 3
- install_only builds should be stripped? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-build-standalone.