GNOME Bugzilla – Bug 592275
I can not run ./autogen.sh or do make in fresh git version
Last modified: 2009-10-13 16:28:11 UTC
i used git version of libsoup to compile webkit from svn. Last time, after i did "git pull" for libsoup, when i do "./autogen.sh", I have: Running aclocal-1.10... aclocal-1.10: couldn't open directory `m4': No such file or directory when i do ./configure make I have: gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"libsoup\" -I.. -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DG_DISABLE_SINGLE_INCLUDES -I/usr/include/libxml2 -pthread -DORBIT2=1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/local/include -I/usr/local/include -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wmissing-format-attribute -Wmissing-include-dirs -Wundef -D_REENTRANT -MT soup-date.lo -MD -MP -MF .deps/soup-date.Tpo -c soup-date.c -o soup-date.o >/dev/null 2>&1 mv -f .deps/soup-date.Tpo .deps/soup-date.Plo make[3]: *** No rule to make target `soup-dns.lo', needed by `libsoup-2.4.la'. Stop. What can I do? glib is compiled from version in git repository, ./autogen.sh in glib directory works.
what is the complete output of autogen.sh up to the error message?
[marina@localhost libsoup]$ ./autogen.sh /usr/bin/gnome-autogen.sh checking for autoconf >= 2.53... testing autoconf2.50... not found. testing autoconf... found 2.63 checking for automake >= 1.9... testing automake-1.10... found 1.10.1 checking for libtool >= 1.4.3... testing libtoolize... found 1.5.24 checking for pkg-config >= 0.14.0... testing pkg-config... found 0.23 checking for gtk-doc >= 1.0... testing gtkdocize... found 1.9 Checking for required M4 macros... Checking for forbidden M4 macros... **Warning**: I am going to run `configure' with no arguments. If you wish to pass any to it, please specify them on the `./autogen.sh' command line. Processing ./python/configure.in Running libtoolize... Running aclocal-1.10... aclocal-1.10: couldn't open directory `m4': No such file or directory
I am on Fedora 9, but glib is in /usr/local from git; gtk+-2.16.5
if you do mkdir m4 mkdir python/m4 by hand it should fix things. this must have to do with what version of auto* you have
Thanks, that helped
There's now an m4 directory in git