[Xcb] No rule to make target `xproto.c'

Neil Dokkalfar neil at next-touch.com
Mon Nov 8 12:10:10 PST 2004


Josh Triplett wrote:

>Neil Dokkalfar wrote:
>  
>
>>Josh Triplett wrote:
>>    
>>
>>>So you need to get a newer automake.
>>>      
>>>
>>Thanks for the answer but:
>>$ automake --version
>>automake (GNU automake) 1.8.5
>>    
>>
>
>Strange.  From your original mail:
>  
>
>>neil at localhost ~/xcb/xcb $ ./autogen.sh
>>[...]
>>configure.ac: 12: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
>>automake-1.5: configure.ac: `AM_INIT_AUTOMAKE' must be used
>>[...]
>>autoreconf-2.59: automake failed with exit status: 1
>>    
>>
>
>Why is this referencing "automake-1.5"?
>

 From /usr/bin/automake (a script):

# Executes the correct autoconf version.
#
# - defaults to automake-1.4
# - runs automake-1.8 if it exists and...
#   - envvar WANT_AUTOMAKE is set to `1.8'
#     -or-
#   - `Makefile.in' was generated by automake-1.8 or superior, which
#     specifically needs automake-1.8
#     -or_
#   - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.8
# - runs automake-1.7 if it exists and...
#   - envvar WANT_AUTOMAKE is set to `1.7'
#     -or-
#   - `Makefile.in' was generated by automake-1.7 or superior, which
#     specifically needs automake-1.7
#     -or-
#   - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifyint the use of 1.7
#     -or-


I'm using Gentoo.

So:

neil at localhost xcb $ WANT_AUTOMAKE="1.7" autoreconf -f -i
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
src/Makefile.am: installing `./compile'
src/Makefile.am: installing `./depcomp'
neil at localhost xcb $ ./configure --prefix=/usr
checking for a BSD-compatible install... /bin/install -c
[...]

config.status: executing depfiles commands
neil at localhost xcb $ make
Making all in src
make[1]: Entering directory `/home/neil/xcb/xcb/src'
make[1]: *** No rule to make target `xproto.c', needed by `all'.  Stop.
make[1]: Leaving directory `/home/neil/xcb/xcb/src'
make: *** [all-recursive] Error 1

Everything sounds ok before the make. Don't know what's going wrong.

>
>Also, is there any particular reason why you sent this mail privately
>instead of to the list?
>
>- Josh Triplett
>  
>
Just an error, sorry :)

Thanks



More information about the xcb mailing list