I tried the autogen idea with my virtual Ubuntu 12.04, ran the autogen.sh, retared it, and tried reinstalling but with no avail. Here was the end of the make output:
collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Error building / installing Pillow real 0m18.865s user 0m12.932s sys 0m4.965s ************************************************************************ Error installing package pillow-2.2.2 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/evan.oman/sage-6.1/logs/pkgs/pillow-2.2.2.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/evan.oman/sage-6.1/local/var/tmp/sage/build/pillow-2.2.2 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/evan.oman/sage-6.1/local/var/tmp/sage/build/pillow-2.2.2' && '/home/evan.oman/sage-6.1/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Makefile:850: recipe for target '/home/evan.oman/sage-6.1/local/var/lib/sage/installed/pillow-2.2.2' failed make[2]: *** [/home/evan.oman/sage-6.1/local/var/lib/sage/installed/pillow-2.2.2] Error 1 make[2]: Leaving directory '/home/evan.oman/sage-6.1/build' Makefile:374: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/evan.oman/sage-6.1/build' real 0m21.132s user 0m13.386s sys 0m6.202s *************************************************************** Error building Sage. The following package(s) may have failed to build: package: pillow-2.2.2 log file: /home/evan.oman/sage-6.1/logs/pkgs/pillow-2.2.2.log build directory: /home/evan.oman/sage-6.1/local/var/tmp/sage/build/pillow-2.2.2 The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. Makefile:19: recipe for target 'build' failed Is this a new error or a different version of the same old thing? Also what do you mean by update the check sums? Is this done automatically with the tar command? So if it looks like patching is my only options what changes would I make and in what file would I make them? On Thursday, March 13, 2014 9:45:18 AM UTC-5, Jean-Pierre Flori wrote: > > 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.