Re: [problem] GNU Classpath build problems on Fedora 15
On Tue, 2011-09-27 at 15:31 +0300, Pekka Enberg wrote: I'm seeing this on Fedora 15: [penberg@tux classpath.cvs]$ sh autogen.sh configure.ac:505: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22: AM_ICONV_LINK is expanded from... m4/iconv.m4:77: AM_ICONV is expanded from... configure.ac:505: the top level configure.ac:505: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22: AM_ICONV_LINK is expanded from... m4/iconv.m4:77: AM_ICONV is expanded from... configure.ac:505: the top level I don't have my F15 setup handy, but I think this is missing iconv/gettext m4 macros. Try installing gettext-devel which should provide /usr/share/aclocal/lib-prefix.m4 If that helps we should probably update the INSTALL and/or autogen.sh checks. Cheers, Mark
Re: [problem] GNU Classpath build problems on Fedora 15
On Tue, 2011-09-27 at 15:31 +0300, Pekka Enberg wrote: I'm seeing this on Fedora 15: [penberg@tux classpath.cvs]$ sh autogen.sh configure.ac:505: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22: AM_ICONV_LINK is expanded from... m4/iconv.m4:77: AM_ICONV is expanded from... configure.ac:505: the top level configure.ac:505: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22: AM_ICONV_LINK is expanded from... m4/iconv.m4:77: AM_ICONV is expanded from... configure.ac:505: the top level On Thu, Sep 29, 2011 at 12:52 PM, Mark Wielaard m...@klomp.org wrote: I don't have my F15 setup handy, but I think this is missing iconv/gettext m4 macros. Try installing gettext-devel which should provide /usr/share/aclocal/lib-prefix.m4 Gee, it's that again. Yeah, it helped. Thanks! If that helps we should probably update the INSTALL and/or autogen.sh checks. I'll do that. I guess we can just do: +if [ -e /usr/share/aclocal/lib-prefix.m4 ] ; then + have_gettext=true +fi right? Pekka
Re: [problem] GNU Classpath build problems on Fedora 15
On Thu, 2011-09-29 at 13:19 +0300, Pekka Enberg wrote: On Thu, Sep 29, 2011 at 12:52 PM, Mark Wielaard m...@klomp.org wrote: I don't have my F15 setup handy, but I think this is missing iconv/gettext m4 macros. Try installing gettext-devel which should provide /usr/share/aclocal/lib-prefix.m4 Gee, it's that again. Yeah, it helped. Thanks! If that helps we should probably update the INSTALL and/or autogen.sh checks. I'll do that. I guess we can just do: +if [ -e /usr/share/aclocal/lib-prefix.m4 ] ; then + have_gettext=true +fi right? I would be afraid that is somewhat distro specific. maybe test against $(aclocal --print-ac-dir)/lib-prefix.m4 And I am not even sure the file name is always the same. It seems gnulib also provides lib-prefix.m4 in the havelib module. Maybe we should just incorporate it from there and not depend on gettext-devel to be installed (I am a bit fuzzy on why we have the gettext-devel/lib-prefix.m4 dependency, we only really need iconv support, but there was some dependency on gettext anyway)? Cheers, Mark
Re: [problem] GNU Classpath build problems on Fedora 15
On Thu, Sep 29, 2011 at 2:54 PM, Mark Wielaard m...@klomp.org wrote: It seems gnulib also provides lib-prefix.m4 in the havelib module. Maybe we should just incorporate it from there and not depend on gettext-devel to be installed (I am a bit fuzzy on why we have the gettext-devel/lib-prefix.m4 dependency, we only really need iconv support, but there was some dependency on gettext anyway)? It seems we had lib-prefix-m4 in the tree but Andrew dropped it: 2010-01-30 Andrew John Hughes ahug...@redhat.com * autogen.sh: Allow libtool 2.* through. * configure.ac: Updated via autoupdate. * m4/lib-ld.m4, * m4/lib-link.m4, * m4/lib-prefix.m4: Drop old libtool macros which result in build failure. Hmmh? Pekka
[problem] GNU Classpath build problems on Fedora 15
Hi all, I'm seeing this on Fedora 15: [penberg@tux classpath.cvs]$ sh autogen.sh configure.ac:505: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22: AM_ICONV_LINK is expanded from... m4/iconv.m4:77: AM_ICONV is expanded from... configure.ac:505: the top level configure.ac:505: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22: AM_ICONV_LINK is expanded from... m4/iconv.m4:77: AM_ICONV is expanded from... configure.ac:505: the top level configure.ac:505: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22: AM_ICONV_LINK is expanded from... m4/iconv.m4:77: AM_ICONV is expanded from... configure.ac:505: the top level configure.ac:505: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22: AM_ICONV_LINK is expanded from... m4/iconv.m4:77: AM_ICONV is expanded from... configure.ac:505: the top level libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./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' configure.ac:505: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22: AM_ICONV_LINK is expanded from... m4/iconv.m4:77: AM_ICONV is expanded from... configure.ac:505: the top level configure.ac:505: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22: AM_ICONV_LINK is expanded from... m4/iconv.m4:77: AM_ICONV is expanded from... configure.ac:505: the top level configure.ac:505: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22: AM_ICONV_LINK is expanded from... m4/iconv.m4:77: AM_ICONV is expanded from... configure.ac:505: the top level configure.ac:505: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22: AM_ICONV_LINK is expanded from... m4/iconv.m4:77: AM_ICONV is expanded from... configure.ac:505: the top level configure:18566: error: possibly undefined macro: AC_LIB_PREPARE_PREFIX If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:18567: error: possibly undefined macro: AC_LIB_RPATH configure:18572: error: possibly undefined macro: AC_LIB_LINKFLAGS_BODY configure:18580: error: possibly undefined macro: AC_LIB_APPENDTOVAR autoreconf: /usr/bin/autoconf failed with exit status: 1 Has anyone built GNU Classpath on Fedora 15 successfully? Pekka