SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
checking for python... /usr/local/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... /usr/lib64/python2.7/site-packages
checking for python extension module directory... /usr/lib64/python2.7/site-packages
checking for headers required to compile python extensions... found
checking for Python library path...
configure: error: cannot find Python library path
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
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
:S that's sort of odd.. Since the python interpreter Im using is the one that comes within the slackware installation.
it doesn't seems so: here
Code:
$ which python
/usr/bin/python
Quote:
Originally Posted by n4rf
Code:
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/local/bin/python
you can try a
Code:
file /usr/local/bin/python
and
Code:
/usr/local/bin/python -V
/usr/bin/python -V
Quote:
Do you suggest uninstalling? Installing manually somewhere else?
I suggest removing it but I have no idea:
- 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*
cat /var/log/package/python-2.*
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/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.