PDA

View Full Version : FreeCiv


compiledkernel
October 31st, 2007, 04:53 PM
Discuss here. All discussions fall under the general rules of the UGA Code.
No swearing, profanity, nudity or other such subversive images or communications.
No Personal Attacks. Spamming of any kind will not be tolerated.

Vadi
November 2nd, 2007, 08:10 AM
Can anyone get this to work?

There is no .deb, and the source code points to a non-existent INSTALL file :(

slickwilly
November 2nd, 2007, 08:40 AM
I just gave it a go myself, I think the problem, looking back over the output of autogen.sh is that I, and probably you also have a newer version of automake than what the game would like (1.6), this means the makefiles have screwed up syntax.
Using galternatives to set automake 1.6 as preferred version of automake to use might work, if you don't like digging about in makefiles.

If you get it work, post about it please, I've decided I can't really take the time off my machine today to compile this beast, as I have work to do and it will take a couple of hours :(


Slick

compiledkernel
November 2nd, 2007, 09:30 AM
I ran a normal
./configure
make && make install

and got it running, its only complaint was libgtk2.0-dev or the lack there of, not knowing which client to build. "sudo apt-get install libgtk2.0-dev" fixed that and I was able to continue the configure and install.

slickwilly
November 2nd, 2007, 09:39 AM
I think he's talking about this message, which is what I got when I tried to build it:

make[7]: Nothing to be done for `all-am'

and also nothing to be done for 'all'

both of which are signs that it's trying to use the wrong version of automake, at least that's my understanding.


Slick

compiledkernel
November 2nd, 2007, 09:40 AM
Hmmm, I never ran into that actually.

slickwilly
November 2nd, 2007, 09:47 AM
Here are the relevant lines from autogen.sh output that I base my conclusion on, and galternatives does not work for changing automake, autogen finds the new version anyhow:

+ checking for autoconf >= 2.55 ... found 2.61, ok.
+ checking for autoheader >= 2.55 ... found 2.61, ok.
+ checking for automake >= 1.6 ... found 1.10, ok.
+ checking for aclocal >= 1.6 ... found 1.10, ok.
+ checking for xgettext >= 0.10.36 ... found 0.16.1, ok.
+ checking for msgfmt >= 0.10.36 ... found 0.16.1, ok.
+ creating acinclude.m4
+ running /usr/bin/aclocal-1.10 ...
acinclude.m4:972: the serial number must appear before any macro definition
acinclude.m4:2757: the serial number must appear before any macro definition
acinclude.m4:3160: the serial number must appear before any macro definition
acinclude.m4:3405: warning: ill-formed serial number `AM2', expecting a version string with only digits and dots
acinclude.m4:3774: the serial number must appear before any macro definition
acinclude.m4:3804: the serial number must appear before any macro definition
acinclude.m4:3816: warning: ill-formed serial number `AM1', expecting a version string with only digits and dots
acinclude.m4:3920: the serial number must appear before any macro definition
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT

As you can see it's finding newer versions than >= versions it is looking for, which would be the problem, it appears to me anyhow.

Slick

slickwilly
November 2nd, 2007, 10:07 AM
Oh and I suppose it's important to note that I was building 2.1.0 release, not any of the beta's or rc's, he did not say which version he was trying to build, important stuff, duh me for not thinking of it sooner, I have yet to have my third pot of coffee :(

Slick

compiledkernel
November 2nd, 2007, 10:40 AM
hrmmm....Nope, I havent run into it yet, and I just compiled the 2.1.0 source on a Feisty box here at work, and then reinstalled it on my laptop, just for kicks. Still not running into that issue.

slickwilly
November 2nd, 2007, 12:57 PM
Well just for giggles I downloaded the windows binary for the gtk client and gave it a run through WINE, wow! 15mins of wine fixme's followed by a page fault, lol :)

Well hopefully someone who can get this to compile will have mercy upon thoughs of us who cannot, and put together a binary package and chuck it up on Getdeb :)

I'll give another shot and getting this to compile later, too many jobs in the background right now, it would take aeons...

Slick

Vadi
November 2nd, 2007, 01:01 PM
I already asked getdeb to compile a package :)

It was pretty quick for me and didn't complain.

Vadi
November 3rd, 2007, 07:32 PM
Gotta love getdeb.net - (click (http://www.getdeb.net/app.php?name=FreeCiv))

himasaram
November 5th, 2007, 03:30 AM
Can anyone get this to work?

There is no .deb, and the source code points to a non-existent INSTALL file :(

What do you mean by non-existent? It's located in the root directory of the source code. Are you sure you downloaded the tarball from sourceforge.net?

Vadi
November 5th, 2007, 07:19 AM
There was an INSTALL.cygwin, but no INSTALL itself.

I installed it fine with the standard ./configure, make, and sudo make install.

Artificial Intelligence
November 6th, 2007, 05:18 AM
A
sudo aptitude update && sudo aptitude upgrade
sudo aptitude install build-essential
sudo aptitude install libgtk2.0-dev gettext libintl-perl bison bcp xlibs-dev x-dev libsdl1.2-dev libsdl-mixer1.2-dev libreadline5-dev


cd ~/Desktop
tar jxfv freeciv-2.1.0.tar.bz2
cd freeciv-2.1.0
./configure
make
sudo make install

should do it.

Loki.Satyr
June 1st, 2008, 03:12 AM
Distibution: Ubuntu 8.04 Hardy
Package: freeciv-client-gtk
If the game does not start try:
civclient-gtk --Plugin sdl

If you get the console error message:
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
then run:
killall pulseaudio
civclient-gtk --Plugin sdl