> >
> > I am using the host.def file that is provided with
> > the book-6.1.
> > Do I need to make some more changes in host.def?
>
> hmm, do you have installed FreeType2 in /usr/local or
> in /usr? In the first case, you must create a link
> from /usr/include/freetype2 to /usr/local/freetype2
> for ftheader.h to be found. Perhaps there is another
> cleaner method, but this one was good for me.
> And if you don't install FontConfig in /usr, you must
> add in host.def a FontconfigDir parameter to give tour
> installation path.
>
> I hope this will help you.
> G. Moko
>
Thanks a lot G. Moko. I got rid of the first error by making a
symbolic link to freetype2 in /usr/include.
Now I am facing the issue of undefined reference to 'inflate'. For
convinience I'll mention the error message again:
------
make[3]: Entering directory
`/home/nupur/downloads/XFree86-4.5/build-xc/programs/bdftopcf'
rm -f bdftopcf
gcc -m32 -o bdftopcf -O2 -fno-strength-reduce -fno-strict-aliasing
-ansi -pipe -L../../exports/lib bdftopcf.o -lXfont -lfntstubs
-lfreetype -lz -lm -Wl,-rpath-link,../../exports/lib
../../exports/lib/libXfont.so: undefined reference to `inflate'
../../exports/lib/libXfont.so: undefined reference to `inflateEnd'
../../exports/lib/libXfont.so: undefined reference to `inflateInit2_'
collect2: ld returned 1 exit status
make[3]: *** [bdftopcf] Error 1
make[3]: Leaving directory
`/home/nupur/downloads/XFree86-4.5/build-xc/programs/bdftopcf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nupur/downloads/XFree86-4.5/build-xc/programs'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/nupur/downloads/XFree86-4.5/build-xc'
make: *** [all] Error 2
------------
Can you help me in knowing the cause of this error message? I have
installed ssh after installing XFree86. So, that might be causing the
trouble?
Regards,
Nupur
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page