git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: msysGit and SCons: broken?

From
DSDirk Süsserott <newsletter@dirk.my1.cc>
Date
Aug 13, 2009, 19:32 UTC
Message-ID
<4A846A5A.4000000@dirk.my1.cc>
In-Reply-To
<4A7B32EA.2080505@dirk.my1.cc>
Am 06.08.2009 21:45 schrieb Dirk Süsserott:
Show 10 quoted lines
> Am 04.08.2009 00:13 schrieb Johannes Schindelin:
>> On Mon, 3 Aug 2009, Dirk Süsserott wrote:
>>
>> How does your SCons call relate to Git?  Do you call it from the Git 
>> Bash?  Do you call it from cmd.exe directly?  Is Git/bash in your PATH?
> 
> I used to call SCons from Git-bash and it worked. After Git's upgrade 
> (or some other unknown change) I did the same and it didn't work from 
> Git-bash, but it still worked from cmd.exe. Git-bash ist not in my PATH 
> when I run cmd.exe.

If someone had the same or a similar problem: I tracked it down and found a solution. The problem was that I tried to run a Windows program from git-bash. The Windows program then faces the bash's $PATH with a different separator (':' vs. ';') and a different root directory ('/c/' vs. 'C:/'). Scons tries to split the PATH apart to figure out which tools are installed. ActivePython thinks ';' is the right separator and then fails. Thus, I wrote a wrapper to call Scons after manipulating the $PATH variable by first exchanging the separator and then exchanging '/c/' with 'c:/'.

Funny, though, that my things worked a few weeks ago *without* this wrapper. Dunno why. At least it hasn't anything to do with my Git update. I proved that by installing earlier versions of Git.

	Dirk
Previous: Dirk SüsserottNext: Johannes Schindelin
Message 4 of 6 in “msysGit and SCons: broken?”
  1. Dirk SüsserottAug 3, 2009
  2. Johannes SchindelinAug 3, 2009
  3. Dirk SüsserottAug 6, 2009
  4. Dirk SüsserottAug 13, 2009
  5. Johannes SchindelinAug 13, 2009
  6. Dirk SüsserottAug 15, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.