<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16625"></HEAD>
<BODY>
<P> Hi,all<BR>I am installing cairo1.10.0 under wine, after configuring
with the following command, I type "make check", then many errors come out.</P>
<P>./configure --enable-xlib=no --enable-ps=no --enable-win32=yes
--enable-win32-font=yes CC=winegcc CFLAGS="-g -pipe -mno-cygwin" LDFLAGS="-pipe
-mwindows -mno-cygwin -m32 -L$HOME/pixman/pixman/.libs"
pixman_CFLAGS="-I$HOME/pixman/pixman" pixman_LIBS="-lpixman-1"</P>
<P>the pixman's verion is 0.19.4 and is configured by the following
FLAGS:<BR>./configure --enable-gtk=no CC=winegcc CFLAGS="-g -pipe -mno-cygwin"
LDFLAGS="-pipe -mwindows -mno-cygwin -m32"</P>
<P>$OKEN>make check<BR>make check-recursive<BR>make[1]: Entering
directory `/home/oken/cairo'<BR>Making check in src<BR>make[2]: Entering
directory `/home/oken/cairo/src'<BR>Checking that enabled public/private headers
can be compiled standalone<BR> CHECK cairo.h<BR>cairo-QtK4Y9.o: file not
recognized: File format not recognized<BR>winebuild: /usr/bin/ld -r failed with
status 256<BR>winegcc: winebuild failed<BR> CHECK
cairo-deprecated.h<BR>cairo-deprecated-XxJoWg.o: file not recognized: File
format not recognized<BR>winebuild: /usr/bin/ld -r failed with status
256<BR>winegcc: winebuild failed<BR> CHECK
cairo-win32.h<BR>cairo-win32-PxV8Xn.o: file not recognized: File format not
recognized<BR>winebuild: /usr/bin/ld -r failed with status 256<BR>winegcc:
winebuild failed<BR> CHECK cairo-ft.h<BR>cairo-ft-IYSiEC.o: file not
recognized: File format not recognized<BR>winebuild: /usr/bin/ld -r failed with
status 256<BR>winegcc: winebuild failed<BR> CHECK
cairo-pdf.h<BR>cairo-pdf-kih0eU.o: file not recognized: File format not
recognized<BR>winebuild: /usr/bin/ld -r failed with status 256<BR>winegcc:
winebuild failed<BR> CHECK cairo-svg.h<BR>cairo-svg-sUoMe0.o: file not
recognized: File format not recognized<BR>winebuild: /usr/bin/ld -r failed with
status 256<BR>winegcc: winebuild failed<BR> CHECK
cairoint.h<BR>cairoint-ochcba.o: file not recognized: File format not
recognized<BR>winebuild: /usr/bin/ld -r failed with status 256<BR>winegcc:
winebuild failed<BR> CHECK
cairo-analysis-surface-private.h<BR>cairo-analysis-surface-private-rG0zve.o:
file not recognized: File format not recognized<BR>winebuild: /usr/bin/ld -r
failed with status 256<BR>winegcc: winebuild failed<BR> CHECK
cairo-arc-private.h<BR>cairo-arc-private-I9uhxT.o: file not recognized: File
format not recognized<BR>winebuild: /usr/bin/ld -r failed with status
256<BR>winegcc: winebuild failed<BR> CHECK
cairo-atomic-private.h<BR>cairo-atomic-private-JYj3rF.o: file not recognized:
File format not recognized<BR>winebuild: /usr/bin/ld -r failed with status
256<BR>winegcc: winebuild failed<BR> CHECK
cairo-boxes-private.h<BR>cairo-boxes-private-JIZb6O.o: file not recognized: File
format not recognized<BR>winebuild: /usr/bin/ld -r failed with status
256<BR>winegcc: winebuild failed<BR> CHECK
cairo-cache-private.h<BR>cairo-cache-private-ftfdH3.o: file not recognized: File
format not recognized<BR>winebuild: /usr/bin/ld -r failed with status
256<BR>winegcc: winebuild failed<BR> CHECK
cairo-clip-private.h<BR>cairo-clip-private-Nmjwjf.o: file not recognized: File
format not recognized<BR>winebuild: /usr/bin/ld -r failed with status
256<BR>winegcc: winebuild failed<BR> CHECK
cairo-combsort-private.h<BR>cairo-combsort-private-2GH2lg.o: file not
recognized: File format not recognized<BR>winebuild: /usr/bin/ld -r failed with
status 256<BR>winegcc: winebuild failed<BR> CHECK
cairo-compiler-private.h<BR>cairo-compiler-private-AS08Xj.o: file not
recognized: File format not recognized<BR>winebuild: /usr/bin/ld -r failed with
status 256<BR>.............<BR>.............<BR>winegcc: winebuild
failed<BR>make[2]: *** [headers-standalone] Error 1<BR>make[2]: Leaving
directory `/home/oken/cairo/src'<BR>make[1]: *** [check-recursive] Error
1<BR>make[1]: Leaving directory `/home/oken/cairo'<BR>make: *** [check] Error
2<BR><BR>then i type make, and another error occurs:<BR><BR>In file included
from cairo-deflate-stream.c:40:<BR>/usr/include/zlib.h:1374: error: expected
'=', ',', ';', 'asm' or '__attribute__' before
'gzseek64'<BR>/usr/include/zlib.h:1375: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'gztell64'<BR>/usr/include/zlib.h:1376: error: expected
declaration specifiers or '...' before 'off64_t'<BR>/usr/include/zlib.h:1377:
error: expected declaration specifiers or '...' before 'off64_t'<BR>winegcc: gcc
failed<BR>make[3]: *** [cairo-deflate-stream.lo] Error
1<BR><BR>/usr/include/zlib.h:<BR>#if defined(_LARGEFILE64_SOURCE) ||
_FILE_OFFSET_BITS == 64<BR> ZEXTERN gzFile ZEXPORT gzopen64
OF((const char *, const char *));<BR>1374 ZEXTERN z_off64_t ZEXPORT
gzseek64 OF((gzFile, z_off64_t, int));<BR>1375 ZEXTERN z_off64_t
ZEXPORT gztell64 OF((gzFile));<BR>1376 ZEXTERN uLong ZEXPORT
adler32_combine64 OF((uLong, uLong, z_off64_t));<BR>1377 ZEXTERN
uLong ZEXPORT crc32_combine64 OF((uLong, uLong,
z_off64_t));<BR>#endif<BR><BR>what's wrong?<BR>how to fix them?<BR><BR>oken</P>
<P> </P></BODY></HTML>