trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: October 2012

[tdegraphics][autotools] regenerate Autoconf/Automake files

From: Fat-Zer <fatzer2@...>
Date: Wed, 31 Oct 2012 08:47:40 +0400
It seems I discovered another bug in cmake files. And to be sure,
there it is and how to fix it, I need to compile it with autotools.
But when I'm trying to regenerate files I run into troubles.
What's wrong?

============================== LOG
========================================================
vm-gentoo-test-amd64 tmp # git clone
http://git.trinitydesktop.org/cgit/tdegraphics
Cloning into 'tdegraphics'...
vm-gentoo-test-amd64 tmp # cd tdegraphics/
vm-gentoo-test-amd64 tdegraphics # git submodule init
Submodule 'admin'
(http://system@.../scm/git/tde-common-admin)
registered for path 'admin'
Submodule 'cmake'
(http://system@.../scm/git/tde-common-cmake)
registered for path 'cmake'
vm-gentoo-test-amd64 tdegraphics # git submodule update
Cloning into 'admin'...
remote: Counting objects: 283, done
remote: Finding sources: 100% (283/283)
remote: Total 283 (delta 196), reused 283 (delta 196)
Receiving objects: 100% (283/283), 401.15 KiB | 97 KiB/s, done.
Resolving deltas: 100% (196/196), done.
Submodule path 'admin': checked out 'efdff81cd246d0737ecb1a82ef6fd588c0a6bc08'
Cloning into 'cmake'...
remote: Counting objects: 353, done
remote: Finding sources: 100% (353/353)
remote: Total 353 (delta 232), reused 353 (delta 232)
Receiving objects: 100% (353/353), 50.68 KiB, done.
Resolving deltas: 100% (232/232), done.
Submodule path 'cmake': checked out 'f1cea7f894713183e061fa6d2b69b05889a90a03'
vm-gentoo-test-amd64 tdegraphics # cp -Rpv $(find /usr/share -iname
libtool.m4) admin/libtool.m4.in
<</usr/share/aclocal/libtool.m4>> -> <<admin/libtool.m4.in>>
vm-gentoo-test-amd64 tdegraphics # cp -Rpv $(find /usr/share -iname
ltmain.sh) admin/libtool.m4.in
<</usr/share/libtool/config/ltmain.sh>> -> <<admin/libtool.m4.in>>
vm-gentoo-test-amd64 tdegraphics # make -f admin/Makefile.common
*** automake (GNU automake) 1.11.6 found.
*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating Makefile.am
*** Creating configure.files
*** Creating configure.in
*** Creating aclocal.m4
acinclude.m4:7907: error: m4_defn: undefined macro: _AC_LANG
../../lib/autoconf/lang.m4:108: AC_LANG_POP is expanded from...
../../lib/autoconf/c.m4:448: AC_PROG_CC is expanded from...
/usr/share/aclocal/libtool.m4:143: _LT_SETUP is expanded from...
/usr/share/aclocal/libtool.m4:69: LT_INIT is expanded from...
acinclude.m4:7907: the top level
autom4te-2.68: /usr/bin/m4 failed with exit status: 1
aclocal-1.11: /usr/bin/autom4te failed with exit status: 1
make: *** [cvs] Ошибка 1
============================== LOG
========================================================

BTW is it ok to ask for support on build issues here? or I'm supposed
to do it in trinity-users maillist?