Page 2 of 2

Re: Compiling freeciv-2.4.0-beta1 using MinGW

Posted: Fri Mar 01, 2013 1:39 pm
by Unknown
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

Re: Compiling freeciv-2.4.0-beta1 using MinGW

Posted: Mon Mar 04, 2013 12:29 am
by JTN
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.)

Re: Compiling freeciv-2.4.0-beta1 using MinGW

Posted: Mon Mar 04, 2013 5:23 pm
by cazfi
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.

Re: Compiling freeciv-2.4.0-beta1 using MinGW

Posted: Tue Mar 05, 2013 3:45 pm
by Unknown
I am compiling the code downloaded using svn. So I will need python. Thank you.

Re: Compiling freeciv-2.4.0-beta1 using MinGW

Posted: Tue Mar 05, 2013 4:32 pm
by Unknown
Installed python and now I am able to compile freeciv-2.4.0-beta.Thanks for the help.

Re: Compiling freeciv-2.4.0-beta1 using MinGW

Posted: Wed Mar 06, 2013 9:23 am
by cazfi
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