How to configure host.def file

Nupur Jain <[email protected]> Tue, 25 Oct 2005 10:05:34 +0530
Newsgroups gmane.comp.xfree86.forum
Message-ID <[email protected]>
------=_Part_1438_18144445.1130214934867
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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.deffile?
 Thanks in advance for any help provided.
 Regards,
Nupur

------=_Part_1438_18144445.1130214934867
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div>&nbsp;</div>
<div>Hello All,</div>
<div>&nbsp;</div>
<div>I am compiling XFree86 on my machine and getting an error&nbsp;in libX=
fontconfig. 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 alr=
eady compiled freetype2 and fontconfig.
</div>
<div>&nbsp;</div>
<div>The solution of this I got from&nbsp;searching on the internet&nbsp;is=
 to add the following lines to host.def:</div>
<div>&nbsp;</div>
<div>#define HasFreeType2 YES</div>
<div>
<div>#define&nbsp;HasFontconfig YES</div></div>
<div>
<div>#define HasExpat YES</div>
<div>
<div>#define HasLibpng YES</div>
<div>
<div>#define HasZlib YES</div>
<div>#define DefaultFontPath $(FONTDIR)/misc,$(FONTDIR)/75dpi,$(FONTDIR)/10=
0dpi,$(FONTDIR)/Type1, \</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(FONTDIR)/loca=
l,$(FONTDIR)/Truetype,$(FONTDIR)/CID,$(FONTDIR)/Speedo</div>
<div>&nbsp;</div>
<div>But adding these lines also, makes the following error re-occur </div>
<div>
<p class=3D"MsoPlainText" style=3D"MARGIN: 0in 0in 0pt"><span style=3D"mso-=
fareast-font-family: 'MS Mincho'"><font face=3D"Courier New" size=3D"2"></f=
ont></span>&nbsp;</p>
<p class=3D"MsoPlainText" style=3D"MARGIN: 0in 0in 0pt"><span style=3D"mso-=
fareast-font-family: 'MS Mincho'"><font face=3D"Courier New" size=3D"2">../=
../exports/lib/libXfont.so: undefined reference to `ssh_z_inflateEnd'<br>..=
/../exports/lib/libXfont.so: undefined reference to `ssh_z_inflateInit2_'
<br>../../exports/lib/libXfont.so: undefined reference to `ssh_z_inflate'<b=
r>/usr/lib/libfreetype.so: undefined reference to `ssh_z_inflateReset'<br>c=
ollect2: ld returned 1 exit status<br>make[4]: *** [bdftopcf] Error 1<br>
make[4]: Leaving directory `/home/nupur/downloads/x.org/build-xc/programs/b=
dftopcf'<br>make[3]: *** [all] Error 2<br>make[3]: Leaving directory `/home=
/nupur/downloads/x.org/build-xc/programs'<br>make[2]: *** [all] Error 2
<br>make[2]: Leaving directory `/home/nupur/downloads/x.org/build-xc'<br>ma=
ke[1]: *** [World] Error 2<br>make[1]: Leaving directory `/home/nupur/downl=
oads/x.org/build-xc'<br>make: *** [World] Error 2</font><br></span></p>
</div>
<div>Can anyone help me on this? Is there any other way to configure the ho=
st.def file?</div>
<div>&nbsp;</div>
<div>Thanks in advance for any help provided.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Nupur</div></div></div></div>

------=_Part_1438_18144445.1130214934867--