[Xcb] another "no rule to make target `xproto.c'"

Alex A. Schmidt alex at lana.ccne.ufsm.br
Tue Jul 4 17:24:39 PDT 2006


Hi,

This topic "No rule to make target `xproto.c'" has been addressed before in
this mailing-list by Josh Triplett and Neil Dokkalfar back in nov/2004,
but their discussion about it is not helping me. I getting the same:

make[1]: Entering directory `/usr/local/software_dependencies/libxcb-0.9/src'
make[1]: *** No rule to make target `xproto.c', needed by `all'.  Stop.
make[1]: Leaving directory `/usr/local/software_dependencies/libxcb-0.9/src'
make: *** [all-recursive] Error 1

from trying to build libxcb-0.9 with 

sparc-sun-solaris2.7: sun4u sparc SUNW,Ultra-5_10

gcc-3.4.2:  Reading specs    
                 from /usr/local/lib/gcc/sparc-sun-solaris2.7/3.4.2/specs
                 Configured with: ../configure --with-as=/usr/ccs/bin/as         
                                          --with-ld=/usr/ccs/bin/ld 
                                          --disable-nl
                                          Thread model: posix
                                          gcc version 3.4.2

and most of packages from sunfreeware, and also some from gnu, gnome, xlibs,
etc... 

I also have pkg-config-0.19 up and running.

I installed xcb-proto just fine. 

What could be wrong? 

Alex A. Schmidt

Contents of my /usr/local/lib/pkgconfig and the output of 
"./configure" from libxcb-0.9 follows:

drwxr-xr-x   2 bin      bin         1536 Jul  4 20:47 .
drwxr-xr-x  28 bin      bin        13312 Jul  4 19:07 ..
-rw-r--r--   1 root     other        360 Jul  4 17:24 ORBit-2.0.pc
-rw-r--r--   1 root     other        306 Jul  4 17:24 ORBit-CosNaming-2.0.pc
-rw-r--r--   1 root     other        312 Jul  4 17:21 ORBit-idl-2.0.pc
-rw-r--r--   1 root     other        307 Jul  4 17:24 ORBit-imodule-2.0.pc
-rw-r--r--   1 root     other        261 Jul  1 13:53 atk.pc
-rw-r--r--   1 root     other        218 Jul  3 12:06 audiofile.pc
-rw-r--r--   1 root     other        194 Jul  1 20:59 bigreqsproto.pc
-rw-r--r--   1 root     other        242 Jul  3 20:21 esound.pc
-rw-r--r--   1 bin      bin          242 Jan 20  2005 fontconfig.pc
-rw-r--r--   1 bin      bin          266 Jan 20  2005 freetype2.pc
-rw-r--r--   1 bin      bin          313 Feb 20  2004 gdk-2.0.pc
-rw-r--r--   1 bin      bin          274 Feb 20  2004 gdk-pixbuf-2.0.pc
-rw-r--r--   1 bin      bin          287 Feb 20  2004 gdk-pixbuf-xlib-2.0.pc
-rw-r--r--   1 bin      bin          313 Feb 20  2004 gdk-x11-2.0.pc
-rw-r--r--   1 bin      bin          322 Jun 10  2001 gdk.pc
-rw-r--r--   1 root     other        350 Jul  1 12:35 glib-2.0.pc
-rw-r--r--   1 bin      bin          239 Jun  6  2001 glib.pc
-rw-r--r--   1 root     other        332 Jul  2 01:06 glitz-glx.pc
-rw-r--r--   1 root     other        220 Jul  2 01:05 glitz.pc
-rw-r--r--   1 root     other        259 Jul  1 12:35 gmodule-2.0.pc
-rw-r--r--   1 root     other        259 Jul  1 12:35 gmodule-export-2.0.pc
-rw-r--r--   1 root     other        258 Jul  1 12:35 gmodule-no-export-2.0.pc
-rw-r--r--   1 bin      bin          227 Jun  6  2001 gmodule.pc
-rw-r--r--   1 root     other        246 Jul  1 12:35 gobject-2.0.pc
-rw-r--r--   1 root     other        247 Jul  1 12:35 gthread-2.0.pc
-rw-r--r--   1 bin      bin          237 Jun  6  2001 gthread.pc
-rw-r--r--   1 bin      bin          339 Feb 20  2004 gtk+-2.0.pc
-rw-r--r--   1 bin      bin          339 Feb 20  2004 gtk+-x11-2.0.pc
-rw-r--r--   1 bin      bin          197 Jun 10  2001 gtk+.pc
-rw-r--r--   1 root     other        231 Jul  4 18:43 ice.pc
-rw-r--r--   1 root     other        190 Jul  1 21:04 inputproto.pc
-rw-r--r--   1 root     other        184 Jul  1 21:04 kbproto.pc
-rw-r--r--   1 root     other        238 Jul  4 16:16 libIDL-2.0.pc
-rw-r--r--   1 bin      bin          329 Feb 21  2004 libexslt.pc
-rw-r--r--   1 bin      bin          192 Sep 12  2004 libgcj.pc
lrwxrwxrwx   1 root     other         11 Jul  1 18:48 libpng.pc -> libpng12.pc
-rw-r--r--   1 bin      bin          238 Dec 13  2004 libpng12.pc
-rw-r--r--   1 bin      bin          299 Aug 30  2005 libxml-2.0.pc
-rw-r--r--   1 bin      bin          245 Jan 18  2003 libxml.pc
-rw-r--r--   1 bin      bin          320 Feb 21  2004 libxslt.pc
-rw-r--r--   1 bin      bin          305 Feb 25  2005 pango.pc
-rw-r--r--   1 bin      bin          359 Feb 25  2005 pangoft2.pc
-rw-r--r--   1 bin      bin          261 Feb 25  2005 pangox.pc
-rw-r--r--   1 bin      bin          305 Feb 25  2005 pangoxft.pc
-rw-r--r--   1 root     other        184 Jul  1 18:03 render.pc
-rw-r--r--   1 root     other        252 Jul  4 18:54 sm.pc
-rw-r--r--   1 root     other        324 Jul  1 22:58 x11.pc
-rw-r--r--   1 root     other        238 Jul  1 19:59 xau.pc
-rw-r--r--   1 root     other        158 Jul  4 20:06 xcb-proto.pc
-rw-r--r--   1 root     other        192 Jul  1 20:58 xcmiscproto.pc
-rw-r--r--   1 root     other        246 Jul  1 20:16 xdmcp.pc
-rw-r--r--   1 root     other        193 Jul  1 20:53 xextensions.pc
-rw-r--r--   1 root     other        188 Jul  1 20:54 xextproto.pc
-rw-r--r--   1 root     other        202 Jul  1 21:05 xf86bigfontproto.pc
-rw-r--r--   1 bin      bin          524 Feb 25  2005 xft.pc
-rw-r--r--   1 root     other        213 Jul  4 20:05 xproto.pc
-rw-r--r--   1 root     other        300 Jul  1 18:19 xrender.pc
-rw-r--r--   1 root     other        294 Jul  4 19:10 xt.pc
-rw-r--r--   1 root     other        237 Jul  1 20:07 xtrans.pc


newton#[/usr/local/software_dependencies/libxcb-0.9]> ./configure
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for check - version >= 0.8.2... yes
checking build system type... sparc-sun-solaris2.7
checking host system type... sparc-sun-solaris2.7
checking for a sed that does not truncate output... /usr/xpg4/bin/sed
checking for egrep... egrep
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/local/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.7 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking dynamic linker characteristics... solaris2.7 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking dynamic linker characteristics... solaris2.7 ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for xsltproc... /usr/local/bin/xsltproc
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XCBPROTO... yes
checking for XPROTO... yes
checking for XAU... yes
checking for XDMCP... yes
checking for XdmcpWrap in -lXdmcp... yes
checking XCBPROTO_XCBINCLUDEDIR... /usr/local/include/X11/XCB
checking for ANSI C header files... (cached) yes
checking for library containing gethostbyname... -lnsl
checking for library containing connect... -lsocket
checking what compiler optimizations to apply...
checking what debugging options to apply... -g
checking whether gcc supports symbol visibility... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating xcb.pc
config.status: creating xcb-composite.pc
config.status: creating xcb-damage.pc
config.status: creating xcb-dpms.pc
config.status: creating xcb-glx.pc
config.status: creating xcb-randr.pc
config.status: creating xcb-record.pc
config.status: creating xcb-render.pc
config.status: creating xcb-res.pc
config.status: creating xcb-screensaver.pc
config.status: creating xcb-shape.pc
config.status: creating xcb-shm.pc
config.status: creating xcb-sync.pc
config.status: creating xcb-xevie.pc
config.status: creating xcb-xf86dri.pc
config.status: creating xcb-xfixes.pc
config.status: creating xcb-xprint.pc
config.status: creating xcb-xtest.pc
config.status: creating xcb-xv.pc
config.status: creating xcb-xvmc.pc
config.status: creating src/config.h
config.status: executing depfiles commands





More information about the Xcb mailing list