[csw-users] ?help with ft2 related build problem?

John Pritchard jdp at syntelos.com
Sat Apr 28 22:53:19 CEST 2007


Hi,

trying to build inkscape on a fairly clean 2.11 sparc system..

   - usr/local is empty
   - just a solaris-express install 'snv_55b', not built from srcs
   - latest CSW catalog + packages as of this afternoon


subject to dependencies, i was able to successfully configure
inkscape-0.39with the following environment.. (latest that would
configure with CSW
dependents, current would be inkscape-0.45.1)...

export CFLAGS='-mcpu=v9'
export CONFIG_SHELL='/bin/bash'
export LDFLAGS='-L/lib -L/opt/csw/lib -L/usr/X11/lib -L/usr/ccs/lib
-L/usr/dt/lib -L/usr/java/lib -L/usr/lib -L/usr/openwin/lib -L/usr/sfw/lib'
export CPPFLAGS='-I/opt/csw/include -I/usr/X11/include -I/usr/dt/include
-I/usr/java/include -I/usr/include -I/usr/openwin/include
-I/usr/sfw/include'
export PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig:
/usr/lib/pkgconfig:/usr/sfw/lib/pkgconfig

(generic)

but got hung up with this..  looks weird.. (of course the file is there,
yes).. [[i think others would be quick to sort this out]]

jdp at mizar (inkscape-0.39) $ make
make  all-recursive
Making all in src
if g++ -DHAVE_CONFIG_H -I. -I. -I..
-I/opt/csw/include/gtk-2.0-I/opt/csw/lib/gtk-
2.0/include -I/opt/csw/include/atk-1.0 -I/opt/csw/include/cairo
-I/opt/csw/include/pango-1.0 -I/opt/csw/include/glib-2.0-I/opt/csw/lib/glib-
2.0/include -I/opt/csw/lib/sigc++-1.2/include
-I/opt/csw/include/sigc++-1.2-I/usr/include/libxml2
-I/opt/csw/include -I/usr/X11/include
-I/usr/dt/include -I/usr/java/include -I/usr/include -I/usr/openwin/include
-I/usr/sfw/include  -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare
-Woverloaded-virtual -Wswitch  -Wno-unused-parameter -g -O2 -MT
sp-chars.o-MD -MP -MF ".deps/sp-
chars.Tpo" \
  -c -o sp-chars.o `test -f 'sp-chars.cpp' || echo './'`sp-chars.cpp; \
then mv -f ".deps/sp-chars.Tpo" ".deps/sp-chars.Po"; \
else rm -f ".deps/sp-chars.Tpo"; exit 1; \
fi
In file included from ./libnrtype/font-instance.h:10,
                 from sp-chars.cpp:26:
/opt/csw/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file
or directory
In file included from sp-chars.cpp:26:
./libnrtype/font-instance.h:11:11: #include expects "FILENAME" or <FILENAME>
In file included from sp-chars.cpp:26:
./libnrtype/font-instance.h:45: error: `FT_Face' does not name a type
In file included from style.h:18,
                 from sp-chars.cpp:31:
sp-marker.h: In member function `SPMarker* SPMarkerReference::getObject()
const':
sp-marker.h:94: warning: cast from `SPObject*' to `SPMarker*' increases
required alignment of target type
sp-chars.cpp: In function `void sp_chars_release(SPObject*)':
sp-chars.cpp:101: warning: cast from `GTypeInstance*' to `SPChars*'
increases required alignment of target type
sp-chars.cpp: In function `void sp_chars_modified(SPObject*, unsigned int)':
sp-chars.cpp:121: warning: cast from `GTypeInstance*' to `SPChars*'
increases required alignment of target type
sp-chars.cpp:128: warning: cast from `GTypeInstance*' to `SPItem*' increases
required alignment of target type
sp-chars.cpp: In function `void sp_chars_bbox(SPItem*, NRRect*, const
NR::Matrix&, unsigned int)':
sp-chars.cpp:137: warning: cast from `GTypeInstance*' to `SPChars*'
increases required alignment of target type
sp-chars.cpp: In function `NRArenaItem* sp_chars_show(SPItem*, NRArena*,
unsigned int, unsigned int)':
sp-chars.cpp:156: warning: cast from `GTypeInstance*' to `SPChars*'
increases required alignment of target type
sp-chars.cpp: In function `void sp_chars_clear(SPChars*)':
sp-chars.cpp:177: warning: cast from `GTypeInstance*' to `SPItem*' increases
required alignment of target type
sp-chars.cpp: In function `void sp_chars_add_element(SPChars*, guint,
font_instance*, const NRMatrix*)':
sp-chars.cpp:206: warning: cast from `GTypeInstance*' to `SPItem*' increases
required alignment of target type
sp-chars.cpp: In function `void sp_chars_set_paintbox(SPChars*, NRRect*)':
sp-chars.cpp:306: warning: cast from `GTypeInstance*' to `SPItem*' increases
required alignment of target type
*** Error code 1
make: Fatal error: Command failed for target `sp-chars.o'


$ pkg-get -c freetype2
       software                    localrev                   remoterev
      freetype2       2.1.10,REV=2005.12.11                        SAME



Thanks,

.j..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20070428/47761600/attachment-0001.html>


More information about the users mailing list