configure: error: cannot find Python library path
Hi, im having problems trying to compile/install PyGooCanvas either from SBoPkg or source code...
I keep getting this error: Code:
checking for a Python interpreter with version >= 2.2... python I wonder why it can not find it... Currently on Slackware64 14.2 (multilib) |
in the sources directory you should have a config.log file with details on the configure error: try pasting the file on some service like http://pastebin.com
|
Quote:
http://pastebin.com/424FSHJf :) |
it seems you have installed a python interpreter in /usr/local/bin building it from source and that isn't working fine.
|
:S that's sort of odd.. Since the python interpreter Im using is the one that comes within the slackware installation.
Do you suggest uninstalling? Installing manually somewhere else? |
Quote:
Code:
$ which python Quote:
Code:
file /usr/local/bin/python Code:
/usr/local/bin/python -V Quote:
- how you have installed it; - if you are using it and removing it will break something; - if you have installed python modules in /usr/local and removing /usr/local/bin/python impact them in some way. IMHO, a system in which I don't know what I have installed, where and how, should be reinstalled from scratch: who knows what kind of issues I might have with it in the future... |
Well.. That is the fun thing. I did not install it manually. The interpreter (under /usr/local/bin/python ) is the one that comes along with slackware.
Anyways, I gave it a try (at my own risk, knowing things would brake). I uninstalled Python, checked there were no python.. >> ok Installed again with slackpkg... Installed under /usr/local/bin/python... Uninstalled again... Downloaded, compiled and installed manually... Again, under /usr/local/bin/python.. Is there any way I can flag it to be insyalled under /usr/bin (?) |
There is no way the official Slackware python package is installing into /usr/local/bin/. The folders in the package just aren't set up for that. You can see for yourself what the folder structure is for the official package here.
What is the filename of the package you are trying to install? What is your default mirror for slackpkg? Do you have slackpkg+ installed? If so, what repos do you have set up with it? Also, what is the output of the following commands? Code:
ls -la /var/log/packages/python* |
I think you've got a messed up mirror in your slackpkg settings, because the python package that any proper slackware mirror will give you will have python in /usr/bin/
|
OK, thank you all for your answers! finally!
Took me a while, but I got rid of every py* installed package.. Updated my slackpkg mirror list... And installed #slackpkg install python Now... Code:
[root@ASUS tmp]$ which python Thank you all! No its time to fix everything I broke on the process :P hahaha PS: as soon as it comiles PyGooCanvas (reason of the post) will mark it as solved :) |
All times are GMT -5. The time now is 01:29 PM. |