Building LO fails with autogen

Miklos Vajna vmiklos at collabora.co.uk
Fri Dec 26 07:49:38 PST 2014


Hi Jens,

On Fri, Dec 26, 2014 at 03:21:42PM +0100, Jens Tröger <jens.troeger at light-speed.de> wrote:
> Here is my autoconf:
> 
>   libreoffice-4.3.5.2 > autoconf --version
>   autoconf (GNU Autoconf) 2.69
>   Copyright (C) 2012 Free Software Foundation, Inc.

Yes, that's fine.

> The source tree is the official tar unpacked, fresh and virgin without
> any modifications.  Here's what happens:
> 
>   libreoffice-4.3.5.2 > ./autogen.sh --without-java --enable-headless --with-theme=no

Are you sure you need --enable-headless? If you want to do headless
conversion of documents, then you need the --headless runtime option, no
custom build switches.

>   configure.ac:111: error: possibly undefined macro: AC_MSG_CHECKING
>         If this token and others are legitimate, please use m4_pattern_allow.
>         See the Autoconf documentation.
>   configure.ac:117: error: possibly undefined macro: AC_MSG_RESULT
>   configure.ac:217: error: possibly undefined macro: AC_DEFINE
>   configure.ac:287: error: possibly undefined macro: AC_MSG_WARN
>   configure.ac:3426: error: possibly undefined macro: AC_LANG_SOURCE
>   configure.ac:3928: error: possibly undefined macro: AC_LANG_PUSH
>   configure.ac:3941: error: possibly undefined macro: AC_LANG_POP
>   configure.ac:8175: error: possibly undefined macro: AC_RUN_IFELSE
>   Failed to run autoconf at ./autogen.sh line 157.
> 
> This is on a Gentoo Linux system.  I am not sure what that error message
> means, and looking up "m4_pattern_allow" I found this note:
> 
>   http://lists.gnu.org/archive/html/autoconf/2010-01/msg00050.html
> 
> Do you know what's happening here?

Please ask the Gentoo guys, the same autoconf version is fine here e.g.
on openSUSE, so it seems your problem is somewhat Gentoo-specific.

Thanks,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20141226/388a97ac/attachment.sig>


More information about the LibreOffice mailing list