Awesome, thank you! I'd still sort of like to know why Python was trying to load them as built-in modules, but this works, so I'm happy.
I submitted a pull request with what I have. Both gregorio and gregorio-git build and function fine on my machine and in a close to base install VM. On Sun, Apr 5, 2015 at 3:07 PM Br. Elijah Schwab, O.Carm < elijahsch...@gmail.com> wrote: > > Br Elijah: strangely enough, building develop with makepkg and your > > PKGBUILD works just fine for building gregorio, although following the > > steps directly doesn't (yylex error). But if that works, than okay. The > > fonts still don't work, though: > > > > Traceback (most recent call last): > > File "squarize.py", line 42, in <module> > > import fontforge, psMat > > ImportError: 'psMat' is not a built-in module > > > > Have you done anything in particular with fontforge? What sorts of > > fontforge- or psMat-related files do you have in > > /usr/lib/python[3.4|2.7]/site-packages? I only have fontforge.so and > > psMat.so in the 3.4 directory. > > Upon closer inspection, I too have that problem. Since makepkg > successfully built a pkg I did not inspect that _everything_ was > fine. > > I have the same files (fontforge.so, psMat.so), both from > fontforge-20150330-1. I found the problem, one cannot simply import both > fontforge and psMat into python. You can do one or the other. If you > open a python interpreter and > > import fontforge > > then import psMat fails. Open a new interpreter and import psMat, then > import fontforge fails. We need to use fontforge itself to run the > script. Attached is a revised PKGBUILD that works for me. > > -Br. Elijah Schwab, O.Carm > _______________________________________________ > Gregorio-users mailing list > Gregorio-users@gna.org > https://mail.gna.org/listinfo/gregorio-users >
_______________________________________________ Gregorio-users mailing list Gregorio-users@gna.org https://mail.gna.org/listinfo/gregorio-users