New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./configure --prefix=/ breaks, won't build C modules #44509
Comments
This appears to be a new issue with Python 2.5 ./configure --prefix=/ --enable-shared fails to build the C modules, as a "-L." is missing from the gcc command line used to generate the module.so file from the module.o file. Using any other value for --prefix works. Setting the environment variable LDFLAGS to "-L." before running ./configure appears to be a successful workaround. Here is a representative failure (all the C modules fail). Note the "cannot find -lpython2.5" message; this is because -L. is missing frmo the gcc command line. building 'crypt' extension |
Closing, since this is ancient. Please, open a new bug if still relevant (for 2.7, 3.2 or 3.3). |
I took the five minutes to test this. It does not fail in 2.7. I remember we fixed some other issues with '-prefix=/', so I presume this got fixed at that time as a byproduct. Either that, or it was a Fedora bug of some sort. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: