librsvg : make failure

Sutapa Maity <Sutapa.Maity-UdXhSnd/[email protected]>
Newsgroups gmane.comp.gnome.lib.librsvg.devel
Message-ID <[email protected]>
Hi,

I am trying to build librsvg on UltraSPARC-III+ platform running Solaris 
10 update 1 on it.

Hardware: Sun-Blade-1000, 2xUS-III+, 1.2GHz
OS 	: Solaris 10 update 1

freetype: freetype-2.3.1-sol10-sparc-local

glib	: glib-2.13.0-sol10-sparc-local

cairo	: cairo-1.4.6
libxml	: libxml-1.8.17

Compiler: Sun 's cc i.e Studio 12


./configure
-> went successfully.

However, make gives following errors.  Which pachage needs to be 
installed, so that it could find "FT_Outline_MoveToFunc" defined?

========================================================================
make
......
.....
rsvg-text.c: In function 'rsvg_text_render_vectors':
rsvg-text.c:788: error: 'FT_Outline_MoveToFunc' undeclared (first use in 
this function)
rsvg-text.c:788: error: (Each undeclared identifier is reported only once
rsvg-text.c:788: error: for each function it appears in.)
rsvg-text.c:788: error: syntax error before 'moveto'
rsvg-text.c:789: error: 'FT_Outline_LineToFunc' undeclared (first use in 
this function)
rsvg-text.c:789: error: syntax error before 'lineto'
rsvg-text.c:790: error: 'FT_Outline_ConicToFunc' undeclared (first use 
in this function)
rsvg-text.c:790: error: syntax error before 'conicto'
rsvg-text.c:791: error: 'FT_Outline_CubicToFunc' undeclared (first use 
in this function)
rsvg-text.c:790: error: syntax error before 'conicto'
rsvg-text.c:791: error: 'FT_Outline_CubicToFunc' undeclared (first use 
in this function)
rsvg-text.c:791: error: syntax error before 'cubicto'
*** Error code 1
make: Fatal error: Command failed for target `rsvg-text.lo'
Current working directory 
/net/perftech-035/data00/sutapa/svg216/librsvg-2.16.1
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='. moz-plugin gdk-pixbuf-loader gtk-engine data doc'; for subdir in 
$list; do \
   echo "Making $target in $subdir"; \
   if test "$subdir" = "."; then \
     dot_seen=yes; \
     local_target="$target-am"; \
   else \
     local_target="$target"; \
   fi; \
   (cd $subdir && make  $local_target) \
    || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
   make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory 
/net/perftech-035/data00/sutapa/svg216/librsvg-2.16.1
*** Error code 1
make: Fatal error: Command failed for target `all'

===============================================================
I found "FT_Outline_MoveToFunc" indeed not defined:

cd /usr/local/include/freetype2/freetype

grep "FT_Outline_MoveToFunc" *
ftimage.h:  /*    FT_Outline_MoveToFunc 
              */
ftimage.h:  (*FT_Outline_MoveToFunc)( const FT_Vector*  to,
ftimage.h:#define FT_Outline_MoveTo_Func  FT_Outline_MoveToFunc
ftimage.h:    FT_Outline_MoveToFunc   move_to;


Thank you in advance for your responses.

Sutapa

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.