<div>good to check the build log if the compiler options has valid header file path where points to /home/zhang/freetype-2.4.8 in this case. though it looks weird to me that there was no errors like "No such file or directory" for ft2build.h nor freetype/config/ftheader.h, which contains relevant definition to your errors.<br>
<br><div class="gmail_quote">On Wed, Sep 5, 2012 at 12:04 PM,  <span dir="ltr"><<a href="mailto:zhang.heng16@zte.com.cn" target="_blank">zhang.heng16@zte.com.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br><font face="sans-serif">Hi mpsuzuki,</font>
<br>
<br><font face="sans-serif">I changed to the other redhat which
was installed just.And the freetype was installed at /home/zhang/freetype-2.4.8.</font>
<br><font face="sans-serif">My command to configure the fontconfig
is '<i>./configure --prefix=/home/zhang/fontconfig-2.3.2 --with-freetype-config=/home/zhang/freetype-2.4.8/bin/freetype-config
--with-expat=/home/zhang/expat-2.0.1 --with-freetype=/home/zhang/freetype-2.4.8</i>'.</font>
<br><font face="sans-serif">It's ok.But when i run 'make' it also
showed errors like before.It's so collapse.</font>
<br>
<br><font face="sans-serif">Best Regards!</font>
<br><font face="sans-serif">Jeff</font>
<br>
<br>
<br>
<br>
<br>
<p></p><table width="100%">
<tbody><tr valign="top">
<td width="36%"><font size="1" face="sans-serif"><b>suzuki toshiya <<a href="mailto:mpsuzuki@hiroshima-u.ac.jp" target="_blank">mpsuzuki@hiroshima-u.ac.jp</a>></b>
</font>
<p><font size="1" face="sans-serif">2012-09-04 19:54</font>
</p></td><td width="63%">
<table width="100%">
<tbody><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">收件人</font></div>
</td><td><font size="1" face="sans-serif"><a href="mailto:zhang.heng16@zte.com.cn" target="_blank">zhang.heng16@zte.com.cn</a></font>
</td></tr><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">抄送</font></div>
</td><td><font size="1" face="sans-serif"><a href="mailto:fontconfig@lists.freedesktop.org" target="_blank">fontconfig@lists.freedesktop.org</a></font>
</td></tr><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">主题</font></div>
</td><td><font size="1" face="sans-serif">Re: [Fontconfig] Install error</font></td></tr></tbody></table>
<br>
<table>
<tbody><tr valign="top">
<td>
</td><td></td></tr></tbody></table>
<br></td></tr></tbody></table><div><div class="h5">
<br>
<br>
<br><tt><font>One of the point I have to emphasize is:<br>
if you dislike the efforts to recover a Linux system which is confused<br>
by overwriting installation of unmanaged software package (I know some<br>
people could enjoy it), do not set the prefix as "--prefix=/usr".<br>
It will overwrite existing software (managed/configured by the system<br>
installer and package manager), and the system would be something like<br>
a minefield which you cannot be sure all mines are swept.<br>
<br>
In summary, I recommend you to reinstall the system and set the prefix<br>
to the directory that the system software won't look, like, /home/zhang/fontconfig-2.3.2/<br>
etc.<br>
<br>
Regards,<br>
mpsuzuki<br>
<br>
<br>
<a href="mailto:zhang.heng16@zte.com.cn" target="_blank">zhang.heng16@zte.com.cn</a> wrote:<br>
> Hi,<br>
> <br>
> this mail is from Jeff .I need your professional help. The below is
my <br>
> problem――<br>
> In the stage of installation, i received some mistake notice at my
first <br>
> time using erlang just as followings:<br>
> ...<br>
> fi<br>
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/freetype/include/freetype2
<br>
> -I/usr/local/freetype/include -Wall -Wpointer-arith -Wstrict-prototypes
<br>
> -Wmissing-prototypes -Wmissing-declarations -Wnested-externs <br>
> -fno-strict-aliasing -DFONTCONFIG_PATH=\"/usr/etc/fonts\"
-I.. -I../src -g <br>
> -O2 -MT fcfreetype.lo -MD -MP -MF .deps/fcfreetype.Tpo -c fcfreetype.c
<br>
> -fPIC -DPIC -o .libs/fcfreetype.o<br>
> fcfreetype.c:53:10: error: #include expects "FILENAME" or
<FILENAME><br>
> fcfreetype.c:58:10: error: #include expects "FILENAME" or
<FILENAME><br>
> fcfreetype.c:59:10: error: #include expects "FILENAME" or
<FILENAME><br>
> fcfreetype.c:60:10: error: #include expects "FILENAME" or
<FILENAME><br>
> fcfreetype.c: In function 'FcSfntNameTranscode':<br>
> fcfreetype.c:736: warning: pointer targets in passing argument 2 of
<br>
> 'FcStrCmpIgnoreBlanksAndCase' differ in signedness<br>
> fcfreetype.c: In function 'FcSfntNameLanguage':<br>
> fcfreetype.c:752: warning: pointer targets in return differ in signedness<br>
> fcfreetype.c: In function 'FcVendorMatch':<br>
> fcfreetype.c:804: warning: pointer targets in passing argument 1 of
<br>
> 'strlen' differ in signedness<br>
> fcfreetype.c: At top level:<br>
> fcfreetype.c:899: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:900: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:901: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:902: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:903: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:904: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:905: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:906: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:907: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:908: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:909: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:910: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:911: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:912: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:913: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:914: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:923: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:924: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:925: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:926: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:927: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:928: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:929: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:930: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:931: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:940: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c:941: warning: pointer targets in initialization differ
in <br>
> signedness<br>
> fcfreetype.c: In function 'FcGetPixelSize':<br>
> fcfreetype.c:958: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c: In function 'FcFreeTypeQuery':<br>
> fcfreetype.c:1157: warning: pointer targets in passing argument 3
of <br>
> 'FcPatternAddString' differ in signedness<br>
> fcfreetype.c:1172: warning: pointer targets in passing argument 1
of <br>
> 'FcStrCmpIgnoreBlanksAndCase' differ in signedness<br>
> fcfreetype.c:1172: warning: pointer targets in passing argument 2
of <br>
> 'FcStrCmpIgnoreBlanksAndCase' differ in signedness<br>
> fcfreetype.c:1176: warning: pointer targets in passing argument 3
of <br>
> 'FcPatternAddString' differ in signedness<br>
> fcfreetype.c:1182: warning: pointer targets in passing argument 1
of <br>
> 'FcStrCmpIgnoreBlanksAndCase' differ in signedness<br>
> fcfreetype.c:1182: warning: pointer targets in passing argument 2
of <br>
> 'FcStrCmpIgnoreBlanksAndCase' differ in signedness<br>
> fcfreetype.c:1186: warning: pointer targets in passing argument 3
of <br>
> 'FcPatternAddString' differ in signedness<br>
> fcfreetype.c:1403: warning: pointer targets in passing argument 1
of <br>
> 'FcStringIsConst' differ in signedness<br>
> fcfreetype.c:1435: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1437: warning: pointer targets in assignment differ in
<br>
> signedness<br>
> fcfreetype.c:1442: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1465: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1468: warning: pointer targets in passing argument 1
of <br>
> 'FcStringIsConst' differ in signedness<br>
> fcfreetype.c:1521: warning: pointer targets in assignment differ in
<br>
> signedness<br>
> fcfreetype.c:1545: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: warning: implicit declaration of function <br>
> 'FT_MODULE_CLASS'<br>
> fcfreetype.c:1562: warning: nested extern declaration of 'FT_MODULE_CLASS'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1562: error: invalid type argument of '->'<br>
> fcfreetype.c:1599: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1609: error: dereferencing pointer to incomplete type<br>
> fcfreetype.c:1632: warning: pointer targets in passing argument 3
of <br>
> 'FcPatternAddString' differ in signedness<br>
> fcfreetype.c: In function 'addtag':<br>
> fcfreetype.c:2692: warning: pointer targets in passing argument 1
of <br>
> 'strcat' differ in signedness<br>
> fcfreetype.c:2693: warning: pointer targets in passing argument 1
of <br>
> 'strcat' differ in signedness<br>
> fcfreetype.c:2694: warning: pointer targets in passing argument 1
of <br>
> 'strcat' differ in signedness<br>
> fcfreetype.c:2694: warning: pointer targets in passing argument 2
of <br>
> 'strcat' differ in signedness<br>
> fcfreetype.c: In function 'GetScriptTags':<br>
> fcfreetype.c:2710: error: 'TT_Face' undeclared (first use in this
<br>
> function)<br>
> fcfreetype.c:2710: error: (Each undeclared identifier is reported
only <br>
> once<br>
> fcfreetype.c:2710: error: for each function it appears in.)<br>
> fcfreetype.c:2710: error: expected ';' before 'tt_face'<br>
> fcfreetype.c:2719: error: 'tt_face' undeclared (first use in this
<br>
> function)<br>
> fcfreetype.c:2722: warning: implicit declaration of function <br>
> 'FT_STREAM_POS'<br>
> fcfreetype.c:2722: warning: nested extern declaration of 'FT_STREAM_POS'<br>
> fcfreetype.c:2726: warning: implicit declaration of function <br>
> 'FT_STREAM_SEEK'<br>
> fcfreetype.c:2726: warning: nested extern declaration of 'FT_STREAM_SEEK'<br>
> fcfreetype.c:2726: warning: implicit declaration of function <br>
> 'FT_FRAME_ENTER'<br>
> fcfreetype.c:2726: warning: nested extern declaration of 'FT_FRAME_ENTER'<br>
> fcfreetype.c:2729: warning: implicit declaration of function <br>
> 'FT_GET_USHORT'<br>
> fcfreetype.c:2729: warning: nested extern declaration of 'FT_GET_USHORT'<br>
> fcfreetype.c:2731: warning: implicit declaration of function <br>
> 'FT_FRAME_EXIT'<br>
> fcfreetype.c:2731: warning: nested extern declaration of 'FT_FRAME_EXIT'<br>
> fcfreetype.c:2747: warning: implicit declaration of function <br>
> 'FT_SET_ERROR'<br>
> fcfreetype.c:2747: warning: nested extern declaration of 'FT_SET_ERROR'<br>
> fcfreetype.c:2747: warning: implicit declaration of function <br>
> 'FT_MEM_ALLOC_ARRAY'<br>
> fcfreetype.c:2747: warning: nested extern declaration of <br>
> 'FT_MEM_ALLOC_ARRAY'<br>
> fcfreetype.c:2747: error: expected expression before 'FT_ULong'<br>
> fcfreetype.c:2756: warning: implicit declaration of function <br>
> 'FT_GET_ULONG'<br>
> fcfreetype.c:2756: warning: nested extern declaration of 'FT_GET_ULONG'<br>
> fcfreetype.c:2787: warning: implicit declaration of function 'FT_FREE'<br>
> fcfreetype.c:2787: warning: nested extern declaration of 'FT_FREE'<br>
> fcfreetype.c:2714: warning: unused variable 'memory'<br>
> fcfreetype.c: In function 'FcFontCapabilities':<br>
> fcfreetype.c:2823: warning: pointer targets in passing argument 1
of <br>
> 'strcpy' differ in signedness<br>
> fcfreetype.c:2800: warning: unused variable 'memory'<br>
> make[1]: *** [fcfreetype.lo] Error 1<br>
> make[1]: Leaving directory `/root/software/fontconfig-2.3.2/src'<br>
> make: *** [install-recursive] Error 1<br>
> <br>
> Those errors showed after i run the 'make' command. My last command
is:<br>
> ./configure --prefix=/usr <br>
> --with-freetype-config=/usr/local/freetype/bin/freetype-config<br>
> This command ran well! Another point i want to say is that the version
of <br>
> my freetype is 2.4.8.<br>
> <br>
> Could you please help me analyze what's wrong and what should i do
to <br>
> solve those error? Thank you!<br>
> <br>
> Bset Regards!<br>
> Jeff<br>
> <br>
> <br>
> <br>
> <br>
> ------------------------------------------------------------------------<br>
> <br>
> _______________________________________________<br>
> Fontconfig mailing list<br>
> <a href="mailto:Fontconfig@lists.freedesktop.org" target="_blank">Fontconfig@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/fontconfig" target="_blank">http://lists.freedesktop.org/mailman/listinfo/fontconfig</a><br>
<br>
<br>
</font></tt>
<br>

<br></div></div><pre><font color="blue">
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

</font></pre><br>
<br>_______________________________________________<br>
Fontconfig mailing list<br>
<a href="mailto:Fontconfig@lists.freedesktop.org">Fontconfig@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/fontconfig" target="_blank">http://lists.freedesktop.org/mailman/listinfo/fontconfig</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Akira TAGOH<br>
</div>