Re: gnome-shell-extensions required directories (m4 and configure)



Il giorno sab, 19/02/2011 alle 15.45 +1100, Tim Cuthbertson ha scritto:
> I was just doing a jhbuild build, and it failed when it got to gnome-shell:
> 
> 
> configuring gnome-shell *** [31/34]
> ./autogen.sh --prefix /home/tim/gnome-shell/install --libdir
> '/home/tim/gnome-shell/install/lib64'  --disable-static
> --disable-gtk-doc
> /usr/bin/gnome-autogen.sh
> checking for autoconf >= 2.53...
>   testing autoconf2.50... not found.
>   testing autoconf... found 2.67
> checking for automake >= 1.9...
>   testing automake-1.11... found 1.11.1
> checking for libtool >= 1.5...
>   testing libtoolize... found 2.2.6b
> checking for glib-gettext >= 2.2.0...
>   testing glib-gettextize... found 2.29.2
> checking for intltool >= 0.30...
>   testing intltoolize... found 0.41.1
> checking for pkg-config >= 0.14.0...
>   testing pkg-config... found 0.25
> checking for gnome-common >= 2.3.0...
>   testing gnome-doc-common... found 2.28.0
> Checking for required M4 macros...
> Checking for forbidden M4 macros...
> Processing ./configure.ac
> Running libtoolize...
> libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
> libtoolize: copying file `config/ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> libtoolize: copying file `m4/libtool.m4'
> libtoolize: copying file `m4/ltoptions.m4'
> libtoolize: copying file `m4/ltsugar.m4'
> libtoolize: copying file `m4/ltversion.m4'
> libtoolize: copying file `m4/lt~obsolete.m4'
> Running glib-gettextize... Ignore non-fatal messages.
> Copying file mkinstalldirs
> Copying file po/Makefile.in.in
> 
> Please add the files
>   codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
>   progtest.m4
> from the /aclocal directory to your autoconf macro directory
> or directly to your aclocal.m4 file.
> You will also need config.guess and config.sub, which you can get from
> ftp://ftp.gnu.org/pub/gnu/config/.
> 
> Running intltoolize...
> Running gnome-doc-common...
> Running aclocal-1.11...
> configure.ac:2: warning: AC_INIT: not a literal:
> https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell
> Running autoconf...
> configure.ac:2: warning: AC_INIT: not a literal:
> https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell
> Running autoheader...
> configure.ac:2: warning: AC_INIT: not a literal:
> https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell
> Running automake-1.11...
> configure.ac:2: warning: AC_INIT: not a literal:
> https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell
> Processing ./extensions/gnome-shell-extensions/configure.ac
> Running intltoolize...
> cp: cannot create regular file `m4/intltool.m4': No such file or directory
> intltoolize: cannot copy '/usr/share/aclocal/intltool.m4' to 'm4/intltool.m4'
> *** Error during phase configure of gnome-shell: ########## Error
> running ./autogen.sh --prefix /home/tim/gnome-shell/install --libdir
> '/home/tim/gnome-shell/install/lib64'  --disable-static
> --disable-gtk-doc  *** [31/34]
> 
>   [1] Rerun phase configure
>   [2] Ignore error and continue to build
>   [3] Give up on module
>   [4] Start shell
>   [5] Reload configuration
>   [6] Go to phase "wipe directory and start over"
>   [7] Go to phase "clean"
>   [8] Go to phase "distclean"
> choice:
> 
> 
> 
> After a bit of trial and error, I made the empty directories "m4" and
> "config" inside
> ~/gnome-shell/source/gnome-shell/extensions/gnome-shell-extensions,
> and it seems to be working now. So it looks like there needs to be
> some sort of file created and checked into git in these directories
> (even a .gitignore) so that git will track them.
> 
> Or alternatively, make the autoconfigure-whatsit tool not depend on
> these directories already existing, but I doubt that's easy...

This is fixed in Git now, thanks for the report.
Next time, if possible, file a bug in bugzilla (product gnome-shell,
component extensions).

Giovanni

PS: how did you get that git submodule setup?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]