[Fontconfig] 答复: Re: Install error

zhang.heng16 at zte.com.cn zhang.heng16 at zte.com.cn
Tue Sep 4 20:04:38 PDT 2012


Hi mpsuzuki,

I changed to the other redhat which was installed just.And the freetype 
was installed at /home/zhang/freetype-2.4.8.
My command to configure the fontconfig is './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'.
It's ok.But when i run 'make' it also showed errors like before.It's so 
collapse.

Best Regards!
Jeff





suzuki toshiya <mpsuzuki at hiroshima-u.ac.jp> 
2012-09-04 19:54

ÊÕ¼þÈË
zhang.heng16 at zte.com.cn
³­ËÍ
fontconfig at lists.freedesktop.org
Ö÷Ìâ
Re: [Fontconfig] Install error






One of the point I have to emphasize is:
if you dislike the efforts to recover a Linux system which is confused
by overwriting installation of unmanaged software package (I know some
people could enjoy it), do not set the prefix as "--prefix=/usr".
It will overwrite existing software (managed/configured by the system
installer and package manager), and the system would be something like
a minefield which you cannot be sure all mines are swept.

In summary, I recommend you to reinstall the system and set the prefix
to the directory that the system software won't look, like, 
/home/zhang/fontconfig-2.3.2/
etc.

Regards,
mpsuzuki


zhang.heng16 at zte.com.cn wrote:
> Hi,
> 
> this mail is from Jeff .I need your professional help. The below is my 
> problem¨D¨D
> In the stage of installation, i received some mistake notice at my first 

> time using erlang just as followings:
> ...
> fi
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/local/freetype/include/freetype2 
> -I/usr/local/freetype/include -Wall -Wpointer-arith -Wstrict-prototypes 
> -Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
> -fno-strict-aliasing -DFONTCONFIG_PATH=\"/usr/etc/fonts\" -I.. -I../src 
-g 
> -O2 -MT fcfreetype.lo -MD -MP -MF .deps/fcfreetype.Tpo -c fcfreetype.c 
> -fPIC -DPIC -o .libs/fcfreetype.o
> fcfreetype.c:53:10: error: #include expects "FILENAME" or <FILENAME>
> fcfreetype.c:58:10: error: #include expects "FILENAME" or <FILENAME>
> fcfreetype.c:59:10: error: #include expects "FILENAME" or <FILENAME>
> fcfreetype.c:60:10: error: #include expects "FILENAME" or <FILENAME>
> fcfreetype.c: In function 'FcSfntNameTranscode':
> fcfreetype.c:736: warning: pointer targets in passing argument 2 of 
> 'FcStrCmpIgnoreBlanksAndCase' differ in signedness
> fcfreetype.c: In function 'FcSfntNameLanguage':
> fcfreetype.c:752: warning: pointer targets in return differ in 
signedness
> fcfreetype.c: In function 'FcVendorMatch':
> fcfreetype.c:804: warning: pointer targets in passing argument 1 of 
> 'strlen' differ in signedness
> fcfreetype.c: At top level:
> fcfreetype.c:899: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:900: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:901: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:902: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:903: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:904: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:905: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:906: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:907: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:908: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:909: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:910: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:911: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:912: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:913: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:914: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:923: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:924: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:925: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:926: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:927: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:928: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:929: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:930: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:931: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:940: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c:941: warning: pointer targets in initialization differ in 
> signedness
> fcfreetype.c: In function 'FcGetPixelSize':
> fcfreetype.c:958: error: dereferencing pointer to incomplete type
> fcfreetype.c: In function 'FcFreeTypeQuery':
> fcfreetype.c:1157: warning: pointer targets in passing argument 3 of 
> 'FcPatternAddString' differ in signedness
> fcfreetype.c:1172: warning: pointer targets in passing argument 1 of 
> 'FcStrCmpIgnoreBlanksAndCase' differ in signedness
> fcfreetype.c:1172: warning: pointer targets in passing argument 2 of 
> 'FcStrCmpIgnoreBlanksAndCase' differ in signedness
> fcfreetype.c:1176: warning: pointer targets in passing argument 3 of 
> 'FcPatternAddString' differ in signedness
> fcfreetype.c:1182: warning: pointer targets in passing argument 1 of 
> 'FcStrCmpIgnoreBlanksAndCase' differ in signedness
> fcfreetype.c:1182: warning: pointer targets in passing argument 2 of 
> 'FcStrCmpIgnoreBlanksAndCase' differ in signedness
> fcfreetype.c:1186: warning: pointer targets in passing argument 3 of 
> 'FcPatternAddString' differ in signedness
> fcfreetype.c:1403: warning: pointer targets in passing argument 1 of 
> 'FcStringIsConst' differ in signedness
> fcfreetype.c:1435: error: dereferencing pointer to incomplete type
> fcfreetype.c:1437: warning: pointer targets in assignment differ in 
> signedness
> fcfreetype.c:1442: error: dereferencing pointer to incomplete type
> fcfreetype.c:1465: error: dereferencing pointer to incomplete type
> fcfreetype.c:1468: warning: pointer targets in passing argument 1 of 
> 'FcStringIsConst' differ in signedness
> fcfreetype.c:1521: warning: pointer targets in assignment differ in 
> signedness
> fcfreetype.c:1545: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: warning: implicit declaration of function 
> 'FT_MODULE_CLASS'
> fcfreetype.c:1562: warning: nested extern declaration of 
'FT_MODULE_CLASS'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1562: error: dereferencing pointer to incomplete type
> fcfreetype.c:1562: error: invalid type argument of '->'
> fcfreetype.c:1599: error: dereferencing pointer to incomplete type
> fcfreetype.c:1609: error: dereferencing pointer to incomplete type
> fcfreetype.c:1632: warning: pointer targets in passing argument 3 of 
> 'FcPatternAddString' differ in signedness
> fcfreetype.c: In function 'addtag':
> fcfreetype.c:2692: warning: pointer targets in passing argument 1 of 
> 'strcat' differ in signedness
> fcfreetype.c:2693: warning: pointer targets in passing argument 1 of 
> 'strcat' differ in signedness
> fcfreetype.c:2694: warning: pointer targets in passing argument 1 of 
> 'strcat' differ in signedness
> fcfreetype.c:2694: warning: pointer targets in passing argument 2 of 
> 'strcat' differ in signedness
> fcfreetype.c: In function 'GetScriptTags':
> fcfreetype.c:2710: error: 'TT_Face' undeclared (first use in this 
> function)
> fcfreetype.c:2710: error: (Each undeclared identifier is reported only 
> once
> fcfreetype.c:2710: error: for each function it appears in.)
> fcfreetype.c:2710: error: expected ';' before 'tt_face'
> fcfreetype.c:2719: error: 'tt_face' undeclared (first use in this 
> function)
> fcfreetype.c:2722: warning: implicit declaration of function 
> 'FT_STREAM_POS'
> fcfreetype.c:2722: warning: nested extern declaration of 'FT_STREAM_POS'
> fcfreetype.c:2726: warning: implicit declaration of function 
> 'FT_STREAM_SEEK'
> fcfreetype.c:2726: warning: nested extern declaration of 
'FT_STREAM_SEEK'
> fcfreetype.c:2726: warning: implicit declaration of function 
> 'FT_FRAME_ENTER'
> fcfreetype.c:2726: warning: nested extern declaration of 
'FT_FRAME_ENTER'
> fcfreetype.c:2729: warning: implicit declaration of function 
> 'FT_GET_USHORT'
> fcfreetype.c:2729: warning: nested extern declaration of 'FT_GET_USHORT'
> fcfreetype.c:2731: warning: implicit declaration of function 
> 'FT_FRAME_EXIT'
> fcfreetype.c:2731: warning: nested extern declaration of 'FT_FRAME_EXIT'
> fcfreetype.c:2747: warning: implicit declaration of function 
> 'FT_SET_ERROR'
> fcfreetype.c:2747: warning: nested extern declaration of 'FT_SET_ERROR'
> fcfreetype.c:2747: warning: implicit declaration of function 
> 'FT_MEM_ALLOC_ARRAY'
> fcfreetype.c:2747: warning: nested extern declaration of 
> 'FT_MEM_ALLOC_ARRAY'
> fcfreetype.c:2747: error: expected expression before 'FT_ULong'
> fcfreetype.c:2756: warning: implicit declaration of function 
> 'FT_GET_ULONG'
> fcfreetype.c:2756: warning: nested extern declaration of 'FT_GET_ULONG'
> fcfreetype.c:2787: warning: implicit declaration of function 'FT_FREE'
> fcfreetype.c:2787: warning: nested extern declaration of 'FT_FREE'
> fcfreetype.c:2714: warning: unused variable 'memory'
> fcfreetype.c: In function 'FcFontCapabilities':
> fcfreetype.c:2823: warning: pointer targets in passing argument 1 of 
> 'strcpy' differ in signedness
> fcfreetype.c:2800: warning: unused variable 'memory'
> make[1]: *** [fcfreetype.lo] Error 1
> make[1]: Leaving directory `/root/software/fontconfig-2.3.2/src'
> make: *** [install-recursive] Error 1
> 
> Those errors showed after i run the 'make' command. My last command is:
> ./configure --prefix=/usr 
> --with-freetype-config=/usr/local/freetype/bin/freetype-config
> This command ran well! Another point i want to say is that the version 
of 
> my freetype is 2.4.8.
> 
> Could you please help me analyze what's wrong and what should i do to 
> solve those error? Thank you!
> 
> Bset Regards!
> Jeff
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fontconfig




--------------------------------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20120905/66793c3a/attachment-0001.html>


More information about the Fontconfig mailing list