cant run scons configure

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
c01dfu510n
Space Krill
Posts: 2
Joined: Thu Aug 13, 2009 9:29 pm

cant run scons configure

#1 Post by c01dfu510n »

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

Re: cant run scons configure

#2 Post by gthx »

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.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: cant run scons configure

#3 Post by Geoff the Medio »

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

Re: cant run scons configure

#4 Post by gthx »

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

Re: cant run scons configure

#5 Post by c01dfu510n »

thanks for your help.
it worked.

Post Reply