Questions, problems and discussion about compiling FreeOrion.
Moderator: Oberlus
c01dfu510n
Space Krill
Posts: 2 Joined: Thu Aug 13, 2009 9:29 pm
#1
Post
by c01dfu510n » Thu Aug 13, 2009 9:35 pm
Hi.
I try to build the source in Vista 64bit.
When I run the command scons configure this is what i get:
Code: Select all
C:\FreeOrion_SDK\FreeOrion\GG>scons configure
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Python31\Scripts\..\Lib\site-packages\scons-1.2.0.d20090223\SCons\__i
nit__.py", line 43, in <module>
import SCons.compat
File "C:\Python31\Scripts\..\Lib\site-packages\scons-1.2.0.d20090223\SCons\com
pat\__init__.py", line 215
raise Error, "Cannot move a directory '%s' into itself '%s'." % (src, dst)
^
SyntaxError: invalid syntax
C:\FreeOrion_SDK\FreeOrion\GG>
I'll appreciate some help.
Thanks,
CF
gthx
Krill Swarm
Posts: 14 Joined: Mon Aug 10, 2009 10:06 am
Location: Finland
#2
Post
by gthx » Fri Aug 14, 2009 4:58 am
You have Python 3.1? That's not compatible with Python 2 so get Python 2.5 (python25.lib is needed when linking).
There might be something else/more in it but start by downgrading.
Geoff the Medio
Programming, Design, Admin
Posts: 13603 Joined: Wed Oct 08, 2003 1:33 am
Location: Munich
#3
Post
by Geoff the Medio » Fri Aug 14, 2009 5:21 am
gthx wrote: You have Python 3.1? That's not compatible with Python 2 so get Python 2.5 (python25.lib is needed when linking).
This problem seems to be happening well before the linking stage... He can't even get scons configure to run.
That said, scons might not be compatible with Python 3.
gthx
Krill Swarm
Posts: 14 Joined: Mon Aug 10, 2009 10:06 am
Location: Finland
#4
Post
by gthx » Fri Aug 14, 2009 6:51 am
That is what I meant.
I had Python 2.6 but I
also needed to install 2.5 to link. To compile I needed to use Visual Studio Command Line.
Post
c01dfu510n
Space Krill
Posts: 2 Joined: Thu Aug 13, 2009 9:29 pm
#5
Post
by c01dfu510n » Fri Aug 14, 2009 8:41 am
thanks for your help.
it worked.