#18816: Problem installing sage-6.7 (gd package)
-----------------------------+----------------------------
   Reporter:  ayyer          |            Owner:
       Type:  task           |           Status:  new
   Priority:  major          |        Milestone:  sage-6.8
  Component:  PLEASE CHANGE  |         Keywords:
  Merged in:                 |          Authors:
  Reviewers:                 |  Report Upstream:  N/A
Work issues:                 |           Branch:
     Commit:                 |     Dependencies:
   Stopgaps:                 |
-----------------------------+----------------------------
 Hi,

 I'm having trouble upgrading from Sage-6.4 to Sage-6.7 on my Macbook Pro.
 The installation aborts at the libgd-2.1.1.p0 stage with the following
 error:
 {{{
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I.
 -I/Applications/Sage-6.2.app/Contents/Resources/sage/local/include/libpng12
 -I/Users/buildbot/build/sage/bsd-1/sage_git/build/local/include/freetype2
 -g -fvisibility=hidden -MT gdft.lo -MD -MP -MF .deps/gdft.Tpo -c gdft.c
 -fno-common -DPIC -o .libs/gdft.o
 gdft.c:153:22: fatal error: ft2build.h: No such file or directory
  #include <ft2build.h>
                       ^
 compilation terminated.
 make[5]: *** [gdft.lo] Error 1
 make[4]: *** [all] Error 2
 make[3]: *** [all-recursive] Error 1
 Error building gd.
 }}}

 The ''ft2build.h'' file is in the local/include/freetype2 subdirectory.
 I think the problem is in the
 ''-I/Users/buildbot/build/sage/bsd-1/sage_git/build/local/include/freetype2''
 part, which seems incorrectly copy-pasted from someone else's computer (I
 don't have the ''buildbot'' directory on my computer!). I'm too much of a
 newbie to fiddle with it, so could someone tell me what to do? I tried to
 do
 {{{
 make
 -I/Applications/Sage-6.2.app/Contents/Resources/sage/local/include/freetype2
 start
 }}}
 from the root directory, but that failed too.

 Here is the link to the log file if it helps:
 [https://www.dropbox.com/s/hal4fp0p3rb2hrw/libgd-2.1.1.p0?dl=0]

 Thanks for your help.

 PS: Sage-6.7 installed perfectly well on my linux desktop. I'm surprised
 that other people are not having this issue.

--
Ticket URL: <http://trac.sagemath.org/ticket/18816>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

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

Reply via email to