mr. dav please see the version of expat,freetype,fontconfig if the
versions are differ then such errors are come. Please go through the
instructions carefully.
byshan
On 5/19/07, Dan Nicholson <[EMAIL PROTECTED]> wrote:
> On 5/19/07, Dan Winkler <[EMAIL PROTECTED]> wrote:
> > Hello all
> >
> > I am currently working off the most recent snapshot of BLFS-SVN
> >
> > I am currently stuck at the Xorg stage.
> >
> > Following the books commands all seems to build well untill we hit the
> > libXfonts-1.1.0 package.
> >
> > make[3]: Entering directory `/sources/xc/lib/libXfont-1.1.0/src/FreeType'
> > if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
> > -I. -I. -I../.. -I../../include/X11/fonts -I../../include
> > -I/usr/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
> > -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
> > -fno-strict-aliasing -g -O2 -D_BSD_SOURCE -DHAS_FCHOWN
> > -DHAS_STICKY_DIR_BIT -D_XOPEN_SOURCE -MT ftenc.lo -MD -MP -MF
> > ".deps/ftenc.Tpo" -c -o ftenc.lo ftenc.c; \
> > then mv -f ".deps/ftenc.Tpo" ".deps/ftenc.Plo"; else rm -f
> > ".deps/ftenc.Tpo"; exit 1; fi
> > mkdir .libs
> > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/X11/fonts
> > -I../../include -I/usr/include/freetype2 -Wall -Wpointer-arith
> > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> > -Wnested-externs -fno-strict-aliasing -g -O2 -D_BSD_SOURCE
> > -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_XOPEN_SOURCE -MT ftenc.lo -MD -MP
> > -MF .deps/ftenc.Tpo -c ftenc.c -fPIC -DPIC -o .libs/ftenc.o
> > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/X11/fonts
> > -I../../include -I/usr/include/freetype2 -Wall -Wpointer-arith
> > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> > -Wnested-externs -fno-strict-aliasing -g -O2 -D_BSD_SOURCE
> > -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_XOPEN_SOURCE -MT ftenc.lo -MD -MP
> > -MF .deps/ftenc.Tpo -c ftenc.c -o ftenc.o >/dev/null 2>&1
> > if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
> > -I. -I. -I../.. -I../../include/X11/fonts -I../../include
> > -I/usr/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
> > -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
> > -fno-strict-aliasing -g -O2 -D_BSD_SOURCE -DHAS_FCHOWN
> > -DHAS_STICKY_DIR_BIT -D_XOPEN_SOURCE -MT ftfuncs.lo -MD -MP -MF
> > ".deps/ftfuncs.Tpo" -c -o ftfuncs.lo ftfuncs.c; \
> > then mv -f ".deps/ftfuncs.Tpo" ".deps/ftfuncs.Plo"; else rm -f
> > ".deps/ftfuncs.Tpo"; exit 1; fi
> > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/X11/fonts
> > -I../../include -I/usr/include/freetype2 -Wall -Wpointer-arith
> > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> > -Wnested-externs -fno-strict-aliasing -g -O2 -D_BSD_SOURCE
> > -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_XOPEN_SOURCE -MT ftfuncs.lo -MD
> > -MP -MF .deps/ftfuncs.Tpo -c ftfuncs.c -fPIC -DPIC -o .libs/ftfuncs.o
> > ftfuncs.c:57:10: error: #include expects "FILENAME" or <FILENAME>
> > ftfuncs.c:59:10: error: #include expects "FILENAME" or <FILENAME>
> > ftfuncs.c:60:10: error: #include expects "FILENAME" or <FILENAME>
> > ftfuncs.c: In function 'FreeTypeOpenInstance':
> > ftfuncs.c:467: error: 'TT_Face' undeclared (first use in this function)
>
> Oh. I think this is an issue with freetype-2.3.x. It doesn't allow use
> of freetype internals anymore. I think you should try using a newer
> libXfont. The most recent is 1.2.8. It doesn't seem to have this
> issue. I've been using this and it's fine. It may require a newer
> fontsproto.
>
> http://xorg.freedesktop.org/releases/individual/lib/libXfont-1.2.8.tar.gz
>
> That version will be in the book soon when I push in the Xorg-7.2
> updates. There are also patches floating around if you want to use
> libXfont-1.1.0. Here's one:
>
> http://www.rocklinux.net/sources/package/xorg/libxfont/freetype2.patch
>
> --
> Dan
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page