[Xcb] No rule to make target `xproto.c'
Josh Triplett
josh at freedesktop.org
Mon Nov 8 13:37:30 PST 2004
Neil Dokkalfar wrote:
> 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.
Ah; that's interesting. Some Googling shows that this is a common
problem on Gentoo, and that setting WANT_AUTOMAKE to the newest
available version is indeed the standard solution.
> 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.
This usually occurs when the protocol description files can't be found.
Can you show the full output of the configure script, as well as the
output of ls -lR /usr/include/X11/XCB ?
- Josh Triplett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://freedesktop.org/pipermail/xcb/attachments/20041108/a906c591/signature.pgp
More information about the xcb
mailing list