Subject: Re: pkgsrc problems: pango
To: Steve Bellovin <smb@research.att.com>
From: Andreas Kahari <ak+netbsd@freeshell.org>
List: netbsd-users
Date: 02/28/2004 02:11:52
I don't even get that far. It seems to not find
"freetype/config/ftstdlib.h". I'm not sure I understand how
this buildlinking works, but when ftxopen.c is compiled for the
second (?) time, the /usr/X11R6/include/freetype2 directory is
not in CPPFLAGS.
This is on a i386 system with all updated sources. I have
OBJHOSTNAME=3D coffee
WRKOBJDIR=3D /usr/tmp
=2E.. in mk.conf (but that doesn't matter it seems).
gmake[3]: Entering directory `/usr/tmp/devel/pango/work.coffee/pango-1.2.5/=
pango/opentype'
/bin/sh ../../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I../.. =
-DPANGO_ENABLE_ENGINE -DSYSCONFDIR=3D\"/usr/pkg/libdata\" -DLIBDIR=3D\"/usr=
/pkg/lib\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/p=
kg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R6/inc=
lude -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/inc=
lude -I../.. -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include -I/usr=
/X11R6/include/freetype2 -O2 -pipe -I/usr/pkg/include -I/usr/include -I/us=
r/X11R6/include -I/usr/X11R6/include/freetype2 -Wall -c ftxopen.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=3D\"/us=
r/pkg/libdata\" -DLIBDIR=3D\"/usr/pkg/lib\" -DG_DISABLE_DEPRECATED -DG_DISA=
BLE_CAST_CHECKS -pthread -I/usr/tmp/devel/pango/work.coffee/.buildlink/incl=
ude/glib/glib-2.0 -I/usr/tmp/devel/pango/work.coffee/.buildlink/lib/glib-2.=
0/include -I/usr/tmp/devel/pango/work.coffee/.x11-buildlink/include -I/usr/=
tmp/devel/pango/work.coffee/.x11-buildlink/include/freetype2 -I/usr/tmp/dev=
el/pango/work.coffee/.buildlink/include -O2 -pipe -Wall -c ftxopen.c -fPIC=
-DPIC -o .libs/ftxopen.o
In file included from /usr/tmp/devel/pango/work.coffee/.x11-buildlink/inclu=
de/freetype2/freetype/internal/ftstream.h:24,
from ftxopen.c:18:
/usr/tmp/devel/pango/work.coffee/.x11-buildlink/include/freetype2/freetype/=
internal/ftobjs.h:30:75: freetype/config/ftstdlib.h: No such file or direct=
ory
In file included from /usr/tmp/devel/pango/work.coffee/.x11-buildlink/inclu=
de/freetype2/freetype/freetype.h:42,
from /usr/tmp/devel/pango/work.coffee/.x11-buildlink/inclu=
de/freetype2/freetype/ftmodule.h:24,
from /usr/tmp/devel/pango/work.coffee/.x11-buildlink/inclu=
de/freetype2/freetype/ftrender.h:24,
from /usr/tmp/devel/pango/work.coffee/.x11-buildlink/inclu=
de/freetype2/freetype/internal/ftobjs.h:31,
from /usr/tmp/devel/pango/work.coffee/.x11-buildlink/inclu=
de/freetype2/freetype/internal/ftstream.h:24,
(etc.)
Cheers,
Andreas
On Sat, Feb 28, 2004 at 10:13:46AM +0900, Steve Bellovin wrote:
> Pango isn't compiling for me:
>=20
> gcc -O2 -I/usr/pkgsrc/devel/pango/work/.buildlink/include -I/usr/pkgsrc/d=
evel/pango/work/.buildlink/include/freetype2 -I/usr/pkgsrc/devel/pango/work=
/.x11-buildlink/include -Wall -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o .l=
ibs/pango-querymodules querymodules.o -Wl,--export-dynamic ./.libs/libpang=
oft2-1.0.so -L/usr/pkgsrc/devel/pango/work/.buildlink/lib -L/usr/pkgsrc/dev=
el/pango/work/.x11-buildlink/lib -L/usr/pkgsrc/devel/pango/work/pango-1.2.5=
/pango/.libs ./.libs/libpangox-1.0.so ./.libs/libpangoxft-1.0.so /usr/pkgsr=
c/devel/pango/work/pango-1.2.5/pango/.libs/libpango-1.0.so /usr/pkgsrc/deve=
l/pango/work/.buildlink/lib/libgobject-2.0.so /usr/pkgsrc/devel/pango/work/=
.buildlink/lib/libgmodule-2.0.so /usr/pkgsrc/devel/pango/work/.buildlink/li=
b/libglib-2.0.so -liconv /usr/pkgsrc/devel/pango/work/.buildlink/lib/libico=
nv.so -lm /usr/pkgsrc/devel/pango/work/.buildlink/lib/libXft.so -lfontconfi=
g -lXrender -lX11 /usr/pkgsrc/devel/pango/work/.buildlink/lib/libfontconfig=
.so -lfreetype -!
[cut]
--=20
Andreas K=E4h=E4ri |( )|
| )( |
East Anglia |( )|
England | )( |