Skip to content

scons install with msys2 #36

Description

@pierrextardif

Hi,

I'm trying to run the install with msys2 64 bits, using scons .

When running the install, the version of the python scripts are incompatible with scons python.
From my install I have:
-in msys2 64 bits -

scons --version
SCons by Steven Knight et al.:
        script: v3.1.2.bee7caf9defd6e108fc2998a2520ddb36a967691, 2019-12-17 02:07:09, by bdeegan on octodog
        engine: v3.1.2.bee7caf9defd6e108fc2998a2520ddb36a967691, 2019-12-17 02:07:09, by bdeegan on octodog
        engine path: ['/usr/lib/python3.8/site-packages/SCons']
Copyright (c) 2001 - 2019 The SCons Foundation

Then when checking for version of python which scons uses I get: nano /usr/bin/scons and line1 : #!/usr/bin/python .
I have tried to symlink to my python2 install:
(powershell)

cmd /c 'mklink C:\dev\msys64\usr\bin\python2.exe C:\dev\msys64\mingw64\bin\python2.exe'
symbolic link created for C:\dev\msys64\usr\bin\python2.exe <<===>> C:\dev\msys64\mingw64\bin\python2.exe

In msys2: /usr/bin/python2.exe starts python2 that's fine, but changing the first line of scons to #!/usr/bin/python2.exe , or to python2 - with respect to changing the symlink - doesn't work.
The problem seem to come from the fact that the rest of the scons install depends on the directories near the python install - if i get it correctly -.

Can you provide an install for a python vesion > 3.0?

Best,

P

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions