[Scons-users] Scons install under Msys / MinGW path problem

Philipp Kraus philipp.kraus at flashpixx.de
Sat Oct 6 06:33:00 EDT 2012


On 2012-10-05 20:23:12 +0200, Philipp Kraus said:


> On 2012-10-05 20:19:25 +0200, Kraus Philipp said:

>

>> Am 05.10.2012 um 20:02 schrieb William Deegan:

>>

>>> Phil,

>>> On Oct 5, 2012, at 4:32 AM, Kraus Philipp <philipp.kraus at flashpixx.de> wrote:

>>>

>>>> Hello,

>>>>

>>>> I try to install Scons under MinGW / MSYS and the Scons installer runs,

>>>> but no files are created:

>>>> The out put shows:

>>>>

>>>> running install_scripts

>>>> creating c:opt\scons_msys\Scripts

>>>> copying script/scons -> c:opt\scons_msys\Scripts\scons-2.2.0.py

>>>> copying script/scons -> c:opt\scons_msys\Scripts\scons.py

>>>> copying script/sconsign -> c:opt\scons_msys\Scripts\sconsign-2.2.0.py

>>>> copying script/sconsign -> c:opt\scons_msys\Scripts\sconsign.py

>>>> copying script/scons-time -> c:opt\scons_msys\Scripts\scons-time-2.2.0.py

>>>> copying script/scons-time -> c:opt\scons_msys\Scripts\scons-time.py

>>>> copying script/scons.bat -> c:opt\scons_msys\Scripts

>>>> copying script/scons.bat -> c:opt\scons_msys\Scripts\scons-2.2.0.bat

>>>> running install_data

>>>> running install_egg_info

>>>> Writing

>>>> c:opt\scons_msys\Lib\site-packages\scons-2.2.0\scons-2.2.0-py2.7.egg-inf

>>>> o

>>>> Installed SCons library modules into

>>>> c:opt\scons_msys\Lib\site-packages\scons-2.

>>>> 2.0

>>>> Installed SCons scripts into c:opt\scons_msys\Scripts

>>>>

>>>> and my install command is:

>>>>

>>>> python setup.py install --prefix=/c/opt/scons_msys

>>>>

>>>> On my build scripts Scons mixing unix pathes /..../ with windows pathes c:\

>>>> The path names, that are produced bei the python modules os are unix

>>>> based, all pathe eg node-, dir-object of Scons

>>>> are produced with Windows-styled pathes

>>>>

>>>> How can I use Scons under MSYS with correct pathes ?

>>>

>>> Which flavor of python are you using? win32 or other?

>>

>> I'm using the http://www.python.org/download/ 2.7.3 Windows Installer

>> (first I have installed Python than MSYS / MinGW, than Scons within the

>> MinGW shell).

>> I have installed Scons with a relative prefix path, but the path

>> problem exists also within my build scripts.

>

> I have forgot: The same Scons version under the Cygwin Shell works perfect.


Some additional information:

I can run only the scons.bat in MinGW Shell, it produce the error

/c/opt/scons/2.2.0/msys/Scripts/scons.bat: line 1: syntax error near
unexpectedtoken `('
/c/opt/scons/2.2.0/msys/Scripts/scons.bat: line 1: `@REM Copyright (c)
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
The SCons Foundation'

(same on Scons 2.1.0)

a call "scons" on my source directory whitch stores the Sconstruct
script does not work. The error message is, that the command scons not
known.
The Scons directory is added to my PATH environment variable, because I
can call scons.bat

Phil




More information about the Scons-users mailing list