gtk2 don't build #76

Closed
zeppelinlg opened this Issue Jan 9, 2013 · 9 comments

Comments

Projects
None yet
2 participants
Contributor

zeppelinlg commented Jan 9, 2013

Hi

I have this error on gtk2-ubuntu building :

aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:54: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.in:54: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

Thanks for your work

Contributor

zeppelinlg commented Jan 9, 2013

Seems because of the recent automake 1.13 update.

Owner

chenxiaolong commented Jan 9, 2013

Thanks! Fixed in commit 75016b0 and 18b234d

Contributor

zeppelinlg commented Jan 9, 2013

You're welcome, samething for libdbusmenu.

Owner

chenxiaolong commented Jan 10, 2013

libdbusmenu is fixed in commit 2e189b6

Contributor

zeppelinlg commented Jan 10, 2013

They say things come in threes :) libindicate :
configure.ac:6: error: 'AM_CONFIG_HEADER': this macro is obsolete.

Contributor

zeppelinlg commented Jan 10, 2013

for file in $(find . -regex ".*configure\.\(ac\|in\)"); do
    return=$(grep -n "AM_CONFIG_HEADER" $file)
    if [ ! -z "$return" ]; then
        echo $file":"$return
    fi
done

This is the result, perhaps this can help you :)

./Unity-for-Arch/indicator-session/src/indicator-session-12.10.4/configure.ac:6:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch/libunity-misc/src/libunity-misc-4.0.4/configure.ac:8:AM_CONFIG_HEADER([config.h])
./Unity-for-Arch/libindicate/src/libindicate-12.10.1/configure.ac:6:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch/appmenu-gtk/src/appmenu-gtk-12.10.2/configure.ac:8:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch/qt-ubuntu/src/qt-everywhere-opensource-src-4.8.2/src/3rdparty/harfbuzz/configure.ac:7:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch/indicator-application/src/indicator-application-12.10.0/configure.ac:7:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch/libunity/src/libunity-6.12.0/configure.ac:5:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch/nux/src/nux-3.10.0/configure.ac:63:AM_CONFIG_HEADER([config.h])
./Unity-for-Arch/indicator-sound/src/indicator-sound-12.10.1/configure.ac:6:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch/indicator-messages/src/indicator-messages-12.10.5/configure.ac:6:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch/indicator-applet/src/indicator-applet-12.10.1/configure.ac:6:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch/indicator-appmenu/src/indicator-appmenu-12.10.3/configure.ac:11:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch-Extra/lightdm-unity-greeter/src/unity-greeter-12.10.4/configure.ac:10:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch-Extra/pidgin-libnotify-ubuntu/src/pidgin-libnotify-0.14/configure.ac:8:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch-Extra/python2-magic/src/file-5.11/configure.ac:6:AM_CONFIG_HEADER(config.h)
./Unity-for-Arch-Extra/xfce4-indicator-plugin/src/xfce4-indicator-plugin-0.5.0/configure.in:36:AM_CONFIG_HEADER([config.h])
Owner

chenxiaolong commented Jan 10, 2013

Wow, that's a lot :D

libindicate: Fixed in e16350c
indicator-session: Fixed in 7d1e375
libunity-misc: PKGBUILD does not run autoreconf
appmenu-gtk: Already fixed in 14db192
qt-ubuntu: Haven't had time to build this humongous thing yet :)
indicator-application: PKGBUILD does not run autoreconf
libunity: Already fixed in cf6cf8d
nux: Already fixed in 3d21ed4
indicator-sound: Fixed upstream in version 12.10.2daily12.11.21.1
indicator-messages: Already fixed in 63aff16
indicator-applet: PKGBUILD does not run autoreconf
indicator-appmenu: Already fixed in 1afd47e
lightdm-unity-greeter: Already fixed in chenxiaolong/Unity-for-Arch-Extra@b10d2c4
pidgin-libnotify-ubuntu: Fixed in chenxiaolong/Unity-for-Arch-Extra@6b2b206
python2-magic: The C sources are not compiled, so autotools isn't used
xfce4-indicator-plugin: PKGBUILD does not run autoreconf

Hopefully, that's all of them :)

Contributor

zeppelinlg commented Jan 10, 2013

xfce4-indicator-plugin fail on build with the same error. perhaps xdt-autogen make a call to autoconf.

Owner

chenxiaolong commented Jan 11, 2013

Should be fixed in commit chenxiaolong/Unity-for-Arch-Extra@5c2bbdb I haven't had a chance to test yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment