Error while installing X11R6.8.2

Nupur channu.j at gmail.com
Tue Oct 4 01:44:52 PDT 2005


On 10/4/05, Matthieu Herrb <matthieu.herrb at laas.fr> wrote:
> Nupur wrote:
> > Thank you for your replies.
> > I have one more query, if you can help.
> > What does expat do?
> > and on what basis should i decide whether to install expat or disable
> > it in hosts.def?
> >
> It's an XML parser needed by fontconfig to parse its configuration
> files. If you set it to NO in host.def, it won't be disabled. X will
> build its own local copy and install it.
> --
>                                        Matthieu
>

I did what you told. But could not find the entry HasExpat in
hosts.def. Is it alright? I installed expat manually from the source
itself, by changing the mode of configure file in expat directory to
777 and then installed it. It was successful.

But it seems, something else is missing as well, as I am getting the
following errors:

In file included from ../../extras/fontconfig/src/fcint.h:38,
                 from fcatomic.c:49:
../../extras/fontconfig/fontconfig/fcfreetype.h:26:22: ft2build.h: No
such file or directory
../../extras/fontconfig/fontconfig/fcfreetype.h:27:10: #include
expects "FILENAME" or <FILENAME>
In file included from ../../extras/fontconfig/src/fcint.h:38,
                 from fcatomic.c:49:
../../extras/fontconfig/fontconfig/fcfreetype.h:30: error: parse error
before "FcFreeTypeCharIndex"
../../extras/fontconfig/fontconfig/fcfreetype.h:30: error: parse error
before "face"
../../extras/fontconfig/fontconfig/fcfreetype.h:30: warning: type
defaults to `int' in declaration of `FcFreeTypeCharIndex'
../../extras/fontconfig/fontconfig/fcfreetype.h:30: error: ISO C
forbids data definition with no type or storage class
../../extras/fontconfig/fontconfig/fcfreetype.h:33: error: parse error
before "face"
../../extras/fontconfig/fontconfig/fcfreetype.h:36: error: parse error
before "face"
../../extras/fontconfig/fontconfig/fcfreetype.h:39: error: parse error
before "FT_Face"
../../extras/fontconfig/fontconfig/fcfreetype.h:42: warning: type
defaults to `int' in declaration of `FT_Face'
../../extras/fontconfig/fontconfig/fcfreetype.h:42: error: parse error
before "f"
In file included from fcatomic.c:49:
../../extras/fontconfig/src/fcint.h:496: error: parse error before "encoding"
fcatomic.c: In function `FcAtomicLock':
fcatomic.c:101: warning: unused variable `fd'
fcatomic.c:102: warning: unused variable `f'
make[4]: *** [fcatomic.o] Error 1
make[4]: Leaving directory `/home/nupur/downloads/x.org/build-xc/lib/fontconfig'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/nupur/downloads/x.org/build-xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nupur/downloads/x.org/build-xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/nupur/downloads/x.org/build-xc'
make: *** [World] Error 2

Searched on google and someone said that install libfreetype6 on
slackware. Does it hold true for redhat as well. do i need to install
libfreetype6?



More information about the xorg mailing list