[reportlab-users] build _renderPM extension
joancarles casasín
joanca at casasin.com
Wed Jun 19 10:48:16 EDT 2013
Hi again,
I have brew but cant install with the --universal
And I have last version of freetype installed with macports, I saw the one in brew is not the last one. Hopefully there won't be any conflict…
Many thanks for your help Andy and Robin,
this is the error output I got:
----
Airjca:~ joanca$ sudo brew install freetype --universal
/usr/local/Library/Homebrew/global.rb:43: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
/usr/local/bin/brew:74: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
Error: No available formula for freetype
Apple distributes freetype with OS X, you can find it in /usr/X11/lib.
However not all build scripts look here, so you may need to call ENV.x11
in your formula's install function.
----
jca
- - - - - - - - - - -
Joancarles Casasín
jo només passava per aquí…
www.casasin.com
El 19/06/2013, a les 15:01, Andy Robinson <andy at reportlab.com> va escriure:
> Some of us are working on Mountain Lion and we use Homebrew to get
> these packages. If you have it you should be able to run...
>
> brew install freetype --universal
>
> ...and build renderPM afterwards.
>
> Hope this helps,
>
> Andy Robinson
> ReportLab
>
> On 19 June 2013 12:39, Joancarles Casasín <joanca at casasin.com> wrote:
>> Hi you all,
>>
>> I'm trying to build _renderPM extension. I upgraded to 2.7 version and I was still getting error.
>>
>> I did cd /src/rl_addons/renderPM and python setup.py install
>>
>> Running test_renderPM.py gives this traceback:
>>
>> ImportError: dlopen(/Library/Python/2.7/site-packages/_renderPM.so, 2): Symbol not found: _FT_Done_Face
>> Referenced from: /Library/Python/2.7/site-packages/_renderPM.so
>> Expected in: flat namespace
>> in /Library/Python/2.7/site-packages/_renderPM.so
>>
>> reportlab/tests/runAll.py only gives 'Failed to import renderPM' error.
>>
>> I'm using Mac OSX Mountain Lion.
>>
>>
>> Thanks for your help,
>>
>>
>> jca
>>
>> - - - - - - - - - - -
>> Joancarles Casasín
>> un senyor de lletres i de ciències que passava per aquí
>> www.casasin.com
>>
>> _______________________________________________
>> reportlab-users mailing list
>> reportlab-users at lists2.reportlab.com
>> http://two.pairlist.net/mailman/listinfo/reportlab-users
>
>
>
> --
> Andy Robinson
> Managing Director
> ReportLab Europe Ltd.
> Thornton House, Thornton Road, Wimbledon, London SW19 4NG, UK
> Tel +44-20-8405-6420
More information about the reportlab-users
mailing list