On Sat, Feb 25, 2012 at 10:57 AM, Mike Zabrocki
<zabro...@mathstat.yorku.ca> wrote:
> I've never been able to compile sage for some reason and I always gave

The reason is surely "cruft" in /usr/local.   How about if you rename
/usr/local to /usr/local.orig,
do a clean build, then report what happens?

After your build finishes, you could rename /usr/local.orig back to /usr/local.

William

> up instead of following the instructions to report the error.  OK,
> here goes....
>
> I am currently trying to compile sage-4.8
>
> I am using MacOS X 10.5.8 with Dev Tools 3.1.3 (the latest that seems
> to be compatible with OSX 10.5)
>
> 45 minutes into the complie I get errors ... here is what happens in
> the output just before:
>
>  gcc -DHAVE_CONFIG_H -I. -I. -I.
> -I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2
> -I/Users/zabrocki/Downloads/sage-4.8/local/include
> -I/Users/zabrocki/Downloads/sage-4.8/local/include -fPIC -g
> -I/Users/zabrocki/Downloads/sage-4.8/local/include
> -I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2/ -MT
> wbmp.lo -MD -MP -MF .deps/wbmp.Tpo -c wbmp.c  -fno-common -DPIC -o
> .libs/wbmp.o
>  gcc -DHAVE_CONFIG_H -I. -I. -I.
> -I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2
> -I/Users/zabrocki/Downloads/sage-4.8/local/include
> -I/Users/zabrocki/Downloads/sage-4.8/local/include -fPIC -g
> -I/Users/zabrocki/Downloads/sage-4.8/local/include
> -I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2/ -MT
> wbmp.lo -MD -MP -MF .deps/wbmp.Tpo -c wbmp.c -o wbmp.o >/dev/null 2>&1
> /bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g
> -I"/Users/zabrocki/Downloads/sage-4.8/local/include"
> -I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2/
> -L/Users/zabrocki/Downloads/sage-4.8/local/lib
> -L/Users/zabrocki/Downloads/sage-4.8/local/lib  -o libgd.la -rpath
> /Users/zabrocki/Downloads/sage-4.8/local/lib -version-info 2:0:0
> gd.lo gdfx.lo gd_security.lo gd_gd.lo gd_gd2.lo gd_io.lo gd_io_dp.lo
> gd_gif_in.lo gd_gif_out.lo gd_io_file.lo gd_io_ss.lo gd_jpeg.lo
> gd_png.lo gd_ss.lo gd_topal.lo gd_wbmp.lo gdcache.lo gdfontg.lo
> gdfontl.lo gdfontmb.lo gdfonts.lo gdfontt.lo gdft.lo gdhelpers.lo
> gdkanji.lo gdtables.lo gdxpm.lo wbmp.lo -liconv -lfontconfig
> -lfreetype -lpng12 -lz
> grep: /usr/local/lib/libfreetype.la: No such file or directory
> sed: /usr/local/lib/libfreetype.la: No such file or directory
> libtool: link: `/usr/local/lib/libfreetype.la' is not a valid libtool archive
> make[4]: *** [libgd.la] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> Error building gd.
>
> real    0m20.361s
> user    0m9.704s
> sys     0m9.796s
> ************************************************************************
> Error installing package gd-2.0.35.p6
> ************************************************************************
> Please email sage-devel (http://groups.google.com/group/sage-devel)
> explaining the problem and including the relevant part of the log file
>  /Users/zabrocki/Downloads/sage-4.8/spkg/logs/gd-2.0.35.p6.log
> Describe your computer, operating system, etc.
> If you want to try to fix the problem yourself, *don't* just cd to
> /Users/zabrocki/Downloads/sage-4.8/spkg/build/gd-2.0.35.p6 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 '/Users/zabrocki/Downloads/sage-4.8/spkg/build/gd-2.0.35.p6' &&
> '/Users/zabrocki/Downloads/sage-4.8/sage' -sh)
> When you are done debugging, you can type "exit" to leave the subshell.
> ************************************************************************
> make[1]: *** [installed/gd-2.0.35.p6] Error 1
>
> real    51m2.655s
> user    37m16.063s
> sys     10m30.873s
> Error building Sage.
> make: *** [build] Error 1
>
>
> ....help?
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to 
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to