#7816: gd fails to build on Open Solaris - missing header file
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  drkirkby  
       Type:  defect    |      Status:  new       
   Priority:  major     |   Milestone:  sage-4.3.1
  Component:  solaris   |    Keywords:            
Work_issues:            |      Author:            
   Upstream:  N/A       |    Reviewer:            
     Merged:            |  
------------------------+---------------------------------------------------
 gd is not building on Open Solaris due to a missing header file
 X11/xpm.h.
 {{{
 gcc -DHAVE_CONFIG_H -I. -I. -I.
 -I/export/home/drkirkby/sage-4.3/local/include/freetype2
 -I/export/home/drkirkby/sage-4.3/local/include
 -I/export/home/drkirkby/sage-4.3/local/include -Wall -m64 -fPIC -g
 -I/export/home/drkirkby/sage-4.3/local/include
 -I/export/home/drkirkby/sage-4.3/local/include/freetype2/ -MT gdkanji.lo
 -MD -MP -MF .deps/gdkanji.Tpo -c gdkanji.c -o gdkanji.o >/dev/null 2>&1
 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
 -I.   -I/export/home/drkirkby/sage-4.3/local/include/freetype2
 -I/export/home/drkirkby/sage-4.3/local/include
 -I/export/home/drkirkby/sage-4.3/local/include   -Wall -m64 -fPIC -g
 -I"/export/home/drkirkby/sage-4.3/local/include"
 -I/export/home/drkirkby/sage-4.3/local/include/freetype2/ -MT gdtables.lo
 -MD -MP -MF ".deps/gdtables.Tpo" -c -o gdtables.lo gdtables.c; \
         then mv -f ".deps/gdtables.Tpo" ".deps/gdtables.Plo"; else rm -f
 ".deps/gdtables.Tpo"; exit 1; fi
  gcc -DHAVE_CONFIG_H -I. -I. -I.
 -I/export/home/drkirkby/sage-4.3/local/include/freetype2
 -I/export/home/drkirkby/sage-4.3/local/include
 -I/export/home/drkirkby/sage-4.3/local/include -Wall -m64 -fPIC -g
 -I/export/home/drkirkby/sage-4.3/local/include
 -I/export/home/drkirkby/sage-4.3/local/include/freetype2/ -MT gdtables.lo
 -MD -MP -MF .deps/gdtables.Tpo -c gdtables.c  -fPIC -DPIC -o
 .libs/gdtables.o
  gcc -DHAVE_CONFIG_H -I. -I. -I.
 -I/export/home/drkirkby/sage-4.3/local/include/freetype2
 -I/export/home/drkirkby/sage-4.3/local/include
 -I/export/home/drkirkby/sage-4.3/local/include -Wall -m64 -fPIC -g
 -I/export/home/drkirkby/sage-4.3/local/include
 -I/export/home/drkirkby/sage-4.3/local/include/freetype2/ -MT gdtables.lo
 -MD -MP -MF .deps/gdtables.Tpo -c gdtables.c -o gdtables.o >/dev/null 2>&1
 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
 -I.   -I/export/home/drkirkby/sage-4.3/local/include/freetype2
 -I/export/home/drkirkby/sage-4.3/local/include
 -I/export/home/drkirkby/sage-4.3/local/include   -Wall -m64 -fPIC -g
 -I"/export/home/drkirkby/sage-4.3/local/include"
 -I/export/home/drkirkby/sage-4.3/local/include/freetype2/ -MT gdxpm.lo -MD
 -MP -MF ".deps/gdxpm.Tpo" -c -o gdxpm.lo gdxpm.c; \
         then mv -f ".deps/gdxpm.Tpo" ".deps/gdxpm.Plo"; else rm -f
 ".deps/gdxpm.Tpo"; exit 1; fi
  gcc -DHAVE_CONFIG_H -I. -I. -I.
 -I/export/home/drkirkby/sage-4.3/local/include/freetype2
 -I/export/home/drkirkby/sage-4.3/local/include
 -I/export/home/drkirkby/sage-4.3/local/include -Wall -m64 -fPIC -g
 -I/export/home/drkirkby/sage-4.3/local/include
 -I/export/home/drkirkby/sage-4.3/local/include/freetype2/ -MT gdxpm.lo -MD
 -MP -MF .deps/gdxpm.Tpo -c gdxpm.c  -fPIC -DPIC -o .libs/gdxpm.o
 gdxpm.c:28:21: error: X11/xpm.h: No such file or directory
 gdxpm.c: In function 'gdImageCreateFromXpm':
 gdxpm.c:32: error: 'XpmInfo' undeclared (first use in this function)
 gdxpm.c:32: error: (Each undeclared identifier is reported only once
 gdxpm.c:32: error: for each function it appears in.)
 gdxpm.c:32: error: expected ';' before 'info'
 gdxpm.c:33: error: 'XpmImage' undeclared (first use in this function)
 gdxpm.c:33: error: expected ';' before 'image'
 gdxpm.c:42: warning: implicit declaration of function
 'XpmReadFileToXpmImage'
 gdxpm.c:42: error: 'image' undeclared (first use in this function)
 gdxpm.c:42: error: 'info' undeclared (first use in this function)
 gdxpm.c:43: error: 'XpmSuccess' undeclared (first use in this function)
 make[4]: *** [gdxpm.lo] Error 1
 make[4]: Leaving directory
 `/export/home/drkirkby/sage-4.3/spkg/build/gd-2.0.35.p2/src'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory
 `/export/home/drkirkby/sage-4.3/spkg/build/gd-2.0.35.p2/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/export/home/drkirkby/sage-4.3/spkg/build/gd-2.0.35.p2/src'
 Error building gd.

 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7816>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.


Reply via email to