How to configure host.def file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
Hello All,
 
I am compiling XFree86 on my machine and getting an error in libXfontconfig. I want to make some changes in host.def so that the fontconfig and freetype2 of XFree86 code doesn't get compiled instead, it taks the already compiled freetype2 and fontconfig.
 
The solution of this I got from searching on the internet is to add the following lines to host.def:
 
#define HasFreeType2 YES
#define HasFontconfig YES
#define HasExpat YES
#define HasLibpng YES
#define HasZlib YES
#define DefaultFontPath $(FONTDIR)/misc,$(FONTDIR)/75dpi,$(FONTDIR)/100dpi,$(FONTDIR)/Type1, \
                                   $(FONTDIR)/local,$(FONTDIR)/Truetype,$(FONTDIR)/CID,$(FONTDIR)/Speedo
 
But adding these lines also, makes the following error re-occur

 

../../exports/lib/libXfont.so: undefined reference to `ssh_z_inflateEnd'
../../exports/lib/libXfont.so: undefined reference to `ssh_z_inflateInit2_'
../../exports/lib/libXfont.so: undefined reference to `ssh_z_inflate'
/usr/lib/libfreetype.so: undefined reference to `ssh_z_inflateReset'
collect2: ld returned 1 exit status
make[4]: *** [bdftopcf] Error 1
make[4]: Leaving directory `/home/nupur/downloads/x.org/build-xc/programs/bdftopcf'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/nupur/downloads/x.org/build-xc/programs'
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

Can anyone help me on this? Is there any other way to configure the host.def file?
 
Thanks in advance for any help provided.
 
Regards,
Nupur

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux