Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Scons compile error

Hi Folks,

I've recently started getting errors when compiling the head with scons, which looks to me like I'm not piping the results of a git command correctly.

scons: Reading SConscript files ...
WindowsError: [Error 2] The system cannot find the file specified:
  File "C:\Users\greg\src\titanium_mobile\SConstruct", line 6:
    import package
  File "C:\Users\greg\src\titanium_mobile\site_scons\package.py", line 24:
    p = subprocess.Popen(["git","show","--abbrev-commit"],stderr=subprocess.PIPE, stdout=subprocess.PIPE)
  File "c:\Python26\lib\subprocess.py", line 623:
    errread, errwrite)
  File "c:\Python26\lib\subprocess.py", line 833:
    startupinfo)

I am running git version 1.6.5.1.1367.gcd48 on windows 7.
Any clue as to what would cause this

— asked October 7th 2010 by Gregor Munro
  • pipe
  • scons
  • subprocess
0 Comments

2 Answers

  • Hi Gregor

    I just ran into this issue, and have updated ticket #2427 with all the information I discovered. My installation of scons now successfully compiles titanium_mobile.

    Hope this helps

    — answered January 13th 2011 by Paul Dowsett
    permalink
    3 Comments
    • Gregor

      If this resolved your issue, would you mind closing the question so that others can find the solution easily?

      Thanks

      — commented January 18th 2011 by Paul Dowsett
    • I have the same problem. I would like to view the solution, but I can't view the ticket, it says i don't have permission. Could You paste it here, please?

      — commented May 19th 2011 by Gabe Toth
    • Hi paul Dowsett,

                 while building am having the same issue.Also not able to view the ticket.please paste the steps here.
      

      thanks in advance

      — commented September 5th 2011 by vinod varghese
  • Hi Paul,

    Could you publish your solution here? the link is not accessible.

    Thanks

    — answered September 15th 2011 by Ani Sinanaj
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.