Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303051 - media-gfx/fontforge-20090923 fails to install python modules: fontforge.so and psMat.so
Summary: media-gfx/fontforge-20090923 fails to install python modules: fontforge.so an...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-01 03:06 UTC by Andreas Proteus
Modified: 2010-02-11 22:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix to build python scripting module (fontforge-20090923.ebuild.diff,488 bytes, patch)
2010-02-11 20:22 UTC, Jouni Kosonen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Proteus 2010-02-01 03:06:30 UTC
I emerge fontforge with USE="python" but the the two python modules:
fontforge.so and psMat.so are not installed.

Any ideas?

Reproducible: Always
Comment 1 Jouni Kosonen 2010-02-11 20:22:57 UTC
Created attachment 219277 [details, diff]
Fix to build python scripting module

Use enable-pyextension instead of with-pyextension
Comment 2 Jouni Kosonen 2010-02-11 20:24:08 UTC
From the config.log of fontforge-20090923:
configure:28720: WARNING: unrecognized options: --with-pyextension

It appears that the correct option to pass is --enable-pyextension instead.
I tried this with the attached modification to the ebuild, and the resulting installation does contain these files:

   /usr/lib/python2.6/site-packages/fontforge.so
   /usr/lib/python2.6/site-packages/psMat.so

This may or may not be all that is needed, but at least xgridfit works now.
It failed to find a scriptable fontforge earlier.

Comment 3 Andreas Proteus 2010-02-11 22:05:47 UTC
(In reply to comment #2)
I can confirm that with  the patch applied,  the two python modules are now build as expected.

This is what I needed.

Thank you very much.

Kind regards.