[csw-users] ?help with ft2 related build problem?
Alessio Cervellin
a.cervellin at virgilio.it
Sun Apr 29 13:15:55 CEST 2007
try to set CFLAGS this way:
epoxrt CFLAGS="$CFLAGS -
I/opt/csw/include/freetype2"
then run "configure" again, and then
build...
----Messaggio originale----
Da: jdp at syntelos.com
Data: 28-
apr-2007 22.53
A: "blastwave users"<users at lists.blastwave.org>
Ogg:
[csw-users] ?help with ft2 related build problem?
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..
_______________________________________________
users
mailing list
users at lists.blastwave.org
https://lists.blastwave.
org/mailman/listinfo/users
More information about the users
mailing list