Thursday, 5 July 2007

required file `./config.rpath' not found

If you ever encounter this error:

eddy@twix:/tmp/wormux/wormux$ ./autogen.sh
[+] Clean files generated by autoconf, aclocal, automake and configure
[+] Run aclocal
[+] Run autoheader
[+] Run automake
configure.ac:25: required file `./config.rpath' not found

Try this simple fix:

eddy@twix:/tmp/wormux/wormux$ touch config.rpath
eddy@twix:/tmp/wormux/wormux$ ./autogen.sh
[+] Clean files generated by autoconf, aclocal, automake and configure
[+] Run aclocal
[+] Run autoheader
[+] Run automake
[+] Run autoconf

Now run ./configure


Now you can go on with your work. Credits go to Daniel P. Berrange: http://www.mail-archive.com/fedora-xen@redhat.com/msg01017.html


P.S.: Apparently this is an automake 1.10 issue and can be avoided by using automake 1.9

4 comments:

Philipp Kern said...

autoreconf -f -i usually helps, too.

Anonymous said...

Thank you very much.
I got a help by your information.
:)

Smirnov.Andrey said...

Thank you very much!

flihp said...

If you're using gettext you should probably run 'gettextize' in your source tree. It may do more than you want it to but, like 'libtoolize' it does some magic that (among other things) puts the config.rpath file in place.

YMMV