Compiling freeciv-2.4.0-beta1 using MinGW

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
Unknown
Posts: 20
Joined: Sat Feb 23, 2013 5:18 pm

Re: Compiling freeciv-2.4.0-beta1 using MinGW

Postby Unknown » Fri Mar 01, 2013 1:39 pm

Patch solves the problem. But now i have a new error.

Code: Select all

make[2]: Leaving directory `/home/freeciv-2.4.0-beta1/R2_4_0_beta1/dependencies'
Making all in utility
make[2]: Entering directory `/home/freeciv-2.4.0-beta1/R2_4_0_beta1/utility'
cd . && ./generate_specenum.py
/usr/bin/env: python: No such file or directory
make[2]: *** [specenum_generate] Error 127

User avatar
JTN
Elite
Posts: 462
Joined: Wed Jan 30, 2013 12:15 am

Re: Compiling freeciv-2.4.0-beta1 using MinGW

Postby JTN » Mon Mar 04, 2013 12:29 am

Obvious question (I haven't looked into this in any depth): do you have a python executable as part of your MinGW installation?

(If not, perhaps configure should have spotted this. If so, perhaps we have a problem finding it, or making the specenum script use the found one. In any case, I don't see anything mentioning Python as a build dependency in the INSTALL instructions.)

cazfi
Elite
Posts: 1720
Joined: Tue Jan 29, 2013 6:54 pm

Re: Compiling freeciv-2.4.0-beta1 using MinGW

Postby cazfi » Mon Mar 04, 2013 5:23 pm

Python should not be dependency when building from release tarball. Tarball should contain all those files python is needed to (re)generate.

Have you copied files around or maybe some other way messed with file timestamps? That could cause it to think that some files are outdated, and should be regenerated with python. What source package exactly are you using (.tar.bz2 or .zip?) OTOH if you build from svn checkout/export, you definitely need python.

Unknown
Posts: 20
Joined: Sat Feb 23, 2013 5:18 pm

Re: Compiling freeciv-2.4.0-beta1 using MinGW

Postby Unknown » Tue Mar 05, 2013 3:45 pm

I am compiling the code downloaded using svn. So I will need python. Thank you.

Unknown
Posts: 20
Joined: Sat Feb 23, 2013 5:18 pm

Re: Compiling freeciv-2.4.0-beta1 using MinGW

Postby Unknown » Tue Mar 05, 2013 4:32 pm

Installed python and now I am able to compile freeciv-2.4.0-beta.Thanks for the help.

cazfi
Elite
Posts: 1720
Joined: Tue Jan 29, 2013 6:54 pm

Re: Compiling freeciv-2.4.0-beta1 using MinGW

Postby cazfi » Wed Mar 06, 2013 9:23 am

If you are using svn anyway, you may want to consider using head of stable 2.4 branch (S2_4) instead of beta1 tag. There's quite a number of bugs fixed since beta1 http://freeciv.wikia.com/wiki/NEWS-2.4.0-beta2