Page 1 of 1

Automake / conf problem

Posted: Sat Sep 18, 2004 16:38
by Snorre
Hi

I tried to compile the library on my linux system, but there's maybe an error in the configure script, or you are using a different automake / conf version.

I tried ./configure running into that error:

Code: Select all

snorre@snorre ~/cegui/cegui_mk2 $ ./configure
./configure: line 1308: syntax error near unexpected token `CEGUI,'
./configure: line 1308: `AM_INIT_AUTOMAKE(CEGUI, 0.01)'


After that - I tried to run autoconf myself - ok - no error.

Next step:
automake

Code: Select all

snorre@snorre ~/cegui/cegui_mk2 $ automake
configure.ac: 4: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
automake-1.5: configure.ac: required file `./install-sh' not found
automake-1.5: configure.ac: required file `./mkinstalldirs' not found
automake-1.5: configure.ac: required file `./missing' not found
configure.ac: 10: required file `./ltmain.sh' not found
configure.ac: 10: required file `./config.guess' not found
configure.ac: 10: required file `./config.sub' not found
automake-1.5: Makefile.am: required file `./INSTALL' not found
automake-1.5: Makefile.am: required file `./NEWS' not found
automake-1.5: Makefile.am: required file `./README' not found
automake-1.5: Makefile.am: required file `./COPYING' not found
automake-1.5: Makefile.am: required file `./AUTHORS' not found
automake-1.5: Makefile.am: required file `./ChangeLog' not found
automake-1.5: configure.ac: required file `./depcomp' not found


Someone got a idea whats wrong?

cheers,
Sven

[edit] Forgot to add my version number in the post:
autoconf (GNU Autoconf) 2.59
automake (GNU automake) 1.5

Automake / conf problem

Posted: Sat Sep 18, 2004 18:39
by CrazyEddie
Did you do ./bootstrap first?

Automake / conf problem

Posted: Sun Sep 19, 2004 20:58
by _mental_
I'd also highly recommend upgrading your version of automake to 1.6 or above. IIRC 1.5 had a few issues though I can't remember for the life of me what they were.

Automake / conf problem

Posted: Sun Jan 02, 2005 02:44
by _mental_
Which version of libtool do you have installed?

Automake / conf problem

Posted: Sun Jan 02, 2005 15:56
by _mental_
I get around a bit ;)

What version of pkg-config are you using? Also could you post your config.log.

[edit]
I'm not going to be around for a few days so I won't be able to get back to you immediately
[/edit]

Re: Automake / conf problem

Posted: Sat Nov 19, 2005 13:05
by WhiteKnight
./configure: line 19024: syntax error near unexpected token 'freetype2'
./configure: line 19024: `PKG_CHECK_MODULES(freetype2, freetype2 >= 0.15.0)'

I got the same error. Mine was the result of /share/aclocal/pkg.m4 not being found. I'm using MSYS, so I solved it by copying pkg.m4 to /mingw/share/aclocal/.