WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pygoocanvas  (Read 2533 times)

Offline josemaria.alkala

  • Newbie
  • *
  • Posts: 7
pygoocanvas
« 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:
Code: [Select]
checking for Python library path...
configure: error: cannot find Python library path

I think it is related with:
Code: [Select]
/usr/local/lib/python2.7/config/libpython2.7.a
or:
Code: [Select]
/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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: pygoocanvas
« Reply #1 on: May 04, 2011, 07:38:44 PM »
Hi josemaria.alkala
Open up AppBrowser and install python-dev.tcz and see if that helps.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: pygoocanvas
« Reply #2 on: May 04, 2011, 08:07:45 PM »
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.



Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: pygoocanvas
« Reply #3 on: May 04, 2011, 08:40:10 PM »
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.

Offline josemaria.alkala

  • Newbie
  • *
  • Posts: 7
Re: pygoocanvas
« Reply #4 on: May 05, 2011, 03:12:18 PM »
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):
Code: [Select]
patch configure configurepatch

Now it compiles. So thanks again. You helped.

Jose M.