This might just be another issue like in 
http://trac.sagemath.org/ticket/15677
Or the order in which arguments are fed to libtool: "-lz -lbz2 
-L/home/evan.oman/sage-6.1/local/lib -lpng12 -no-undefined".
Whatsoever, it seems freetype decided not to find the bz2 lib and only 
built a static archive.

So the only solution I'm thinking about is to modify/patch the freetype 
archive so that it builds a shared lib and then we'll see what happens.
You might just decompress the freetype tarball, run "./autogen.sh" on a 
recent linux system with tautotools installed, retar it, update the 
checksums and try to reinstall it.
If freetype does not build a shared lib though, then you'll have to patch 
the makefiles to modidy the order of the linking flags.

On Thursday, March 13, 2014 3:21:11 PM UTC+1, Evan Oman wrote:
>
> Ahh, they are attached.
>
> Also I found a stack exchange article 
> here<http://stackoverflow.com/questions/4011705/python-the-imagingft-c-module-is-not-installed>,
>  
> is this the same issue? I do have libfreetype installed for sure though so 
> I don't think thats my problem.
>
> On Thursday, March 13, 2014 2:53:43 AM UTC-5, Jean-Pierre Flori wrote:
>>
>> I would need the bz2 and freetype logs.
>>
>> On Thursday, March 13, 2014 1:43:51 AM UTC+1, Evan Oman wrote:
>>>
>>> Oh and here is the full Pillow log. It seems to fail after trying this:
>>>
>>> building 'PIL._imagingft' extension
>>>
>>> I remember that being mentioned somewhere but without a solution.
>>>
>>> On Wednesday, March 12, 2014 7:35:19 PM UTC-5, Evan Oman wrote:
>>>>
>>>> Yep the admin thing did it, successfully installed gf2x. Don't know why 
>>>> I wasn't running cygwin as admin the entire time....
>>>>
>>>> But now I got an error on Pillows which I understand to be an image 
>>>> manipulation liubrary for python:
>>>>
>>>> /home/evan.oman/sage-6.1/local/var/tmp/sage/build/freetype-2.5.2.p0/src/src/bzip2/ftbzip2.c:198:
>>>>  
>>>> undefined reference to `BZ2_bzDecompressEnd'
>>>> /home/evan.oman/sage-6.1/local/lib/libfreetype.a(ftbzip2.o): In 
>>>> function `ft_bzip2_file_fill_output':
>>>> /home/evan.oman/sage-6.1/local/var/tmp/sage/build/freetype-2.5.2.p0/src/src/bzip2/ftbzip2.c:303:
>>>>  
>>>> undefined reference to `BZ2_bzDecompress'
>>>> /home/evan.oman/sage-6.1/local/lib/libfreetype.a(ftbzip2.o): In 
>>>> function `ft_bzip2_file_reset':
>>>> /home/evan.oman/sage-6.1/local/var/tmp/sage/build/freetype-2.5.2.p0/src/src/bzip2/ftbzip2.c:227:
>>>>  
>>>> undefined reference to `BZ2_bzDecompressEnd'
>>>> /home/evan.oman/sage-6.1/local/var/tmp/sage/build/freetype-2.5.2.p0/src/src/bzip2/ftbzip2.c:238:
>>>>  
>>>> undefined reference to `BZ2_bzDecompressInit'
>>>> /home/evan.oman/sage-6.1/local/lib/libfreetype.a(ftbzip2.o): In 
>>>> function `ft_bzip2_file_init':
>>>> /home/evan.oman/sage-6.1/local/var/tmp/sage/build/freetype-2.5.2.p0/src/src/bzip2/ftbzip2.c:183:
>>>>  
>>>> undefined reference to `BZ2_bzDecompressInit'
>>>> collect2: error: ld returned 1 exit status
>>>> error: command 'gcc' failed with exit status 1
>>>> Error building / installing Pillow
>>>>
>>>> I tried to install the tarball attached 
>>>> here<http://trac.sagemath.org/ticket/15539#comment:15> but 
>>>> I think that it is the same one distributed with sage.
>>>>
>>>> Also I found a mention of the Pillow install problem here 
>>>> <http://trac.sagemath.org/ticket/15317#comment:25>and 
>>>> they said that it was an easy fix though I did not follow how the 
>>>> suggestion would solve the issue.
>>>>
>>>>
>>>> On Wednesday, March 12, 2014 5:26:50 PM UTC-5, Jean-Pierre Flori wrote:
>>>>>
>>>>>
>>>>>
>>>>> On Wednesday, March 12, 2014 10:08:32 PM UTC+1, Dima Pasechnik wrote:
>>>>>>
>>>>>> On 2014-03-12, Evan Oman <eva...@gmail.com> wrote: 
>>>>>> > False alarm, I let it sit overnight and it appeared to pass after 
>>>>>> about 6 
>>>>>> > hours of running. 
>>>>>> > 
>>>>>> > However, no surprise, another package halted the build with the 
>>>>>> error: 
>>>>>> > 
>>>>>> > cat ../gf2x/gf2x-thresholds.h > tuned_thresholds.h 
>>>>>> > ./update-thresholds -o tuned_thresholds.h < tunetoom.res 
>>>>>> > /bin/sh: ./update-thresholds: Permission denied 
>>>>>> > Makefile:2205: recipe for target 'tune-toom' failed 
>>>>>> > make[4]: *** [tune-toom] Error 126 
>>>>>> > make[4]: Leaving directory 
>>>>>> > 
>>>>>> '/home/evan.oman/sage-6.1/local/var/tmp/sage/build/gf2x-1.1.p0/src/src' 
>>>>>> > Makefile:976: recipe for target 'tune-toom' failed 
>>>>>> > make[3]: *** [tune-toom] Error 2 
>>>>>> > make[3]: Leaving directory 
>>>>>> > '/home/evan.oman/sage-6.1/local/var/tmp/sage/build/gf2x-1.1.p0/src' 
>>>>>> > Error: Failed to tune gf2x. 
>>>>>> > 
>>>>>> > What does it mean "Permission Denied"? Is that something to do with 
>>>>>> my 
>>>>>> > system configuration and permissions? 
>>>>>>
>>>>>> it probably just means that the file update-thresholds does not have 
>>>>>> executable permissions. 
>>>>>> Can you cd to the appropriate directory (probably to 
>>>>>> /home/evan.oman/sage-6.1/local/var/tmp/sage/build/gf2x-1.1.p0/src) 
>>>>>> and run 
>>>>>> ls -l update-thresholds 
>>>>>>
>>>>> Nope, the problem is that it contains update in its name so requires 
>>>>> admin rights from windows 7 (or vista).
>>>>> See http://trac.sagemath.org/ticket/15339
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to