Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: josemaria.alkala on May 04, 2011, 05:52:58 PM
-
Good evening,
I am trying to create this extension. I am not managing to even execute successfully "configure". It fails saying:
checking for Python library path...
configure: error: cannot find Python library path
I think it is related with:
/usr/local/lib/python2.7/config/libpython2.7.a
or:
/usr/local/lib/libpython2.7.so
/usr/local/lib/libpython2.7.so.1.0
Any clue about how could I resolve this issue?
Cheers,
Jose M.
-
Hi josemaria.alkala
Open up AppBrowser and install python-dev.tcz and see if that helps.
-
Assuming python-dev.tcz, pygtk-dev.tcz, goocanvas-dev.tcz and their deps installed, this patch should let it find the python path. It is a result of the libpython2.7a being a symlink instead of a real file. I will update the python-dev extension to make that a real file to prevent this in the future.
-
On second thought seeing that that particular file is over 5MB large and there are not many - if any other - sources that have a problem finding python, I think I will leave it alone rather than impose a copying to RAM of that large of a file. It would be different if there were even just a few other sources that had this issue finding the python path.
-
First, thanks for your quick answers.
I had installed python-dev, pygtk-2.7-dev and goocanvas-dev. I applied the patch to pygoocanvas (just writting this for the record):
patch configure configurepatch
Now it compiles. So thanks again. You helped.
Jose M.