[Mono-list] Re: [Xcb] XCB-PROTO

Nicolas Cornu nicolas.cornu at cyber-developpement.com
Fri Jul 29 01:13:29 EDT 2005


Dickson Patton a écrit :

> Nicolas,
>
> You have to download build ALL the  packages listed on the website:
>
> There are multiple modules in CVS. The modules you need to checkout, 
> build, and install for each part of the project are, in order:
>
>    *
>
>      Xproto from xlibs <http://freedesktop.org/wiki/Software_2fxlibs>
>
>    *
>
>      Xau from xlibs <http://freedesktop.org/wiki/Software_2fxlibs>
>
>    *
>
>      xcb-proto
>
>    *
>
>      xcb
>
> To build Xlib with support for XCB, first build XCB as above. After 
> that, the modules you need to checkout, build, and install for each 
> part of the project are, in order:
>
>    *
>
>      XExtensions from xlibs 
> <http://freedesktop.org/wiki/Software_2fxlibs>
>
>    *
>
>      xtrans from xlibs <http://freedesktop.org/wiki/Software_2fxlibs>
>
>    *
>
>      X11 from xlibs <http://freedesktop.org/wiki/Software_2fxlibs>
>
>
> I just went through it for the first time myself, and had the exact 
> same problems.
>
> Good Luck,
>
> Dickson
>
> Nicolas Cornu wrote:
>
>> I just downloaded XCB-PROTO from CVS
>>
>> i get this error:
>>
>> ---------------------------------------------
>> checking for xsltproc... /usr/bin/xsltproc
>> checking for pkg-config... /usr/bin/pkg-config
>> checking pkg-config is at least version 0.9.0... yes
>> checking for XCBPROTO... checking for XPROTO... configure: error: 
>> Package requirements (xproto) were not met.
>> Consider adjusting the PKG_CONFIG_PATH environment variable if you
>> installed software in a non-standard prefix.
>>
>> Alternatively you may set the XPROTO_CFLAGS and XPROTO_LIBS 
>> environment variables
>> to avoid the need to call pkg-config.  See the pkg-config man page for
>> more details.
>> [root at Nico_linux xcb]# echo $PKG_CONFIG_PATH
>> /usr/lib/pkgconfig/
>> [root at Nico_linux xcb]#
>> -----------------------------------------------
>>
>> /usr/lib/pkgconfig/xcb-proto.pc:
>> -----------------------------------------------
>> prefix=/usr/
>> includedir=${prefix}/include
>> xcbincludedir=${includedir}/X11/XCB
>>
>> Name: XCBProto
>> Description: X protocol descriptions for XCB
>> Version: 0.9
>> -----------------------------------------------
>>
>> Thanks in advance,
>>
>> Cornu Nicolas
>> _______________________________________________
>> xcb mailing list
>> xcb at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/xcb
>
>
>
i have Xproto installed now moved the .pc file to /usr/lib/pkgconfig
I try to compil libgdiplus with Xcb

i get the following error

then mv -f ".deps/cairo_xcb_surface.Tpo" ".deps/cairo_xcb_surface.Plo"; 
else rm -f ".deps/cairo_xcb_surface.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/X11R6/include 
-D_XOPEN_SOURCE=500 -I/usr/local/include -I/usr/include/libpng12 
-I../../libpixman/src -I/usr/include/freetype2 -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -g -O2 -MT cairo_xcb_surface.lo 
-MD -MP -MF .deps/cairo_xcb_surface.Tpo -c cairo_xcb_surface.c  -fPIC 
-DPIC -o .libs/cairo_xcb_surface.o
cairo_xcb_surface.c:40: error: syntax error before '*' token
cairo_xcb_surface.c:43: warning: function declaration isn't a prototype
cairo_xcb_surface.c:48: error: syntax error before "format_from_visual"
cairo_xcb_surface.c:48: error: syntax error before '*' token
cairo_xcb_surface.c:49: warning: return type defaults to `int'
cairo_xcb_surface.c:49: warning: function declaration isn't a prototype
cairo_xcb_surface.c: In function `format_from_visual':
cairo_xcb_surface.c:50: error: syntax error before "nil"
cairo_xcb_surface.c: At top level:
cairo_xcb_surface.c:51: error: syntax error before '*' token
cairo_xcb_surface.c:51: warning: type defaults to `int' in declaration 
of `r'
cairo_xcb_surface.c:51: warning: data definition has no type or storage 
class
cairo_xcb_surface.c:52: error: syntax error before "si"
cairo_xcb_surface.c:52: warning: type defaults to `int' in declaration 
of `si'
cairo_xcb_surface.c:52: warning: data definition has no type or storage 
class
cairo_xcb_surface.c:53: error: syntax error before "di"

In advance thanks,

Cornu Nicolas


More information about the Mono-list mailing list