Compiling from SVN - Ubuntu 6.06

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
freecraft
Posts: 94
Joined: April 28th, 2005, 12:49 am
Location: Serbia
Contact:

Compiling from SVN - Ubuntu 6.06

Post by freecraft »

I made a svn checkout yesterday in hope to get the latest wesnoth. But here I have some problems. When I run sh autogen.sh, this comes out:

Code: Select all

aclocal: configure.ac: 270: macro `AM_PROG_CC_C_O' not found in library
configure.ac: 44: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
cp: cannot create regular file `[config]/install-sh': No such file or directory
automake: configure.ac: installing `[config]/install-sh'
    error while copying

cp: cannot create regular file `[config]/mkinstalldirs': No such file or directory
automake: configure.ac: installing `[config]/mkinstalldirs'
    error while copying

cp: cannot create regular file `[config]/missing': No such file or directory
automake: configure.ac: installing `[config]/missing'
    error while copying

cp: cannot create regular file `[config]/config.guess': No such file or directory
automake: configure.ac: installing `[config]/config.guess'
    error while copying

cp: cannot create regular file `[config]/config.sub': No such file or directory
automake: configure.ac: installing `[config]/config.sub'
    error while copying

Makefile.am:9: LITE does not appear in AM_CONDITIONAL
Makefile.am:44: INSTALLDATA does not appear in AM_CONDITIONAL
Makefile.am:55: DUMMYLOCALES does not appear in AM_CONDITIONAL
Makefile.am:65: TINYGUI does not appear in AM_CONDITIONAL
Makefile.am:86: INSTALLDATA does not appear in AM_CONDITIONAL
Makefile.am:138: PO4AUPDATE does not appear in AM_CONDITIONAL

... etc etc etc ...


`widgets/scrollbar.cpp' is in subdirectory
automake: src/Makefile.am: not supported: source file `widgets/slider.cpp' is in subdirectory
automake: src/Makefile.am: not supported: source file `widgets/widget.cpp' is in subdirectory
automake: src/Makefile.am: not supported: source file `sdl_ttf/SDL_ttf.c' is in subdirectory
src/Makefile.am:29: variable `SDL_TTF_LIBS' not defined
src/Makefile.am:29: variable `LIBINTL' not defined
doc/Makefile.am:1: AC_PROG_MAKE_SET must be used in `configure.ac'
doc/man/Makefile.am:5: GAME does not appear in AM_CONDITIONAL
doc/man/Makefile.am:3: INSTALL_MAN_PAGES defined both conditionally and unconditionally
doc/man/Makefile.am:9: SERVER does not appear in AM_CONDITIONAL
doc/man/Makefile.am:13: EDITOR does not appear in AM_CONDITIONAL
configure.ac:48: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:49: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:93: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:270: error: possibly undefined macro: AM_PROG_CC_C_O
I have autoconf 1.9 and all required development libraries (or atleast I think so). What are these "MACRO"s all about? I guess I miss something. I'm running on Ubuntu 6.06.

Help? ><
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

Works fine here on both branch and trunk but I've got automake-1.10 and autoconf-2.61 here. Seems like you're using older versions?
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
freecraft
Posts: 94
Joined: April 28th, 2005, 12:49 am
Location: Serbia
Contact:

Post by freecraft »

I've just checked in synaptic. I'm running the newest libraries in ubuntu repository. Exactly this:

autoconf 2.59
automake 1.9.6

I don't think it is up to it, I mean, those tools don't change so oftenly, do they?

Maybe I should stick around with tarballs ;)

But SVN is better, heeelp!
Soliton
Site Administrator
Posts: 1687
Joined: April 5th, 2005, 3:25 pm
Location: #wesnoth-mp

Post by Soliton »

freecraft wrote:I've just checked in synaptic. I'm running the newest libraries in ubuntu repository. Exactly this:

autoconf 2.59
automake 1.9.6
You have those versions installed but do you also use them? Check with 'update-alternatives'.
"If gameplay requires it, they can be made to live on Venus." -- scott
tsr
Posts: 790
Joined: May 24th, 2006, 1:05 pm

Post by tsr »

I don't know if this applies in this case but the thing with svn (latest, not releases) is that the code is under development, you might have checked out in a bad moment.

/tsr - tossing in a free thought!
freecraft
Posts: 94
Joined: April 28th, 2005, 12:49 am
Location: Serbia
Contact:

Post by freecraft »

Soliton wrote:
freecraft wrote:I've just checked in synaptic. I'm running the newest libraries in ubuntu repository. Exactly this:

autoconf 2.59
automake 1.9.6
You have those versions installed but do you also use them? Check with 'update-alternatives'.
:idea:

Thats it :)

automake --version showed I use version 1.4 - even I have removed it!

A install -> completely removed fixed the version to 1.9.6. Works like a charm now (lets hope, configure is running now). I will come back if I have more problems.

Soliton, thank you very much :) I still remember our first matches (Drakes and Undeads) ...
Post Reply