Error Getting Source From GIT

1 view
Skip to first unread message

Shaun Clark

unread,
Jan 12, 2014, 9:44:18 AM1/12/14
to node-...@googlegroups.com
When I follow the instructions from the GIT wiki I get to 98% and then this happens:

_______ running '/usr/bin/python src/build/win/setup_cygwin_mount.py --win-only' in '/Users/shaunclark/Documents/node-webkit'


________ running '/usr/bin/python src/build/util/lastchange.py -o src/build/util/LASTCHANGE' in '/Users/shaunclark/Documents/node-webkit'


________ running '/usr/bin/python src/build/util/lastchange.py -s src/third_party/WebKit -o src/build/util/LASTCHANGE.blink' in '/Users/shaunclark/Documents/node-webkit'


________ running '/usr/bin/python src/build/gyp_chromium' in '/Users/shaunclark/Documents/node-webkit'

Updating projects from gyp files...

gyp: Some files not reachable, cycle in .gyp file dependency graph detected involving some or all of: /Users/shaunclark/Documents/node-webkit/src/chrome/common_constants.gyp /Users/shaunclark/Documents/node-webkit/src/ui/surface/surface.gyp /Users/shaunclark/Documents/node-webkit/src/chrome/common/extensions/api/api.gyp /Users/shaunclark/Documents/no......very big list of files goes here.

Error: Command /usr/bin/python src/build/gyp_chromium returned non-zero exit status 1 in /Users/shaunclark/Documents/node-webkit

Hook '/usr/bin/python src/build/gyp_chromium' took 17.56 secs


I am on a mac 10.9.1, thanks!


Shaun

Roger

unread,
Jan 13, 2014, 2:40:23 AM1/13/14
to Shaun Clark, node-...@googlegroups.com
Shaun Clark <shaun...@synclio.com> writes:

> gyp: Some files not reachable, cycle in .gyp file dependency graph detected
> involving some or all of:

This is fine. Just move forward to run the following command as in the Wiki.

./build/gyp_chromium --no-circular-check content/content.gyp

The `gclient` download tool automatically run this without the
`--no-circular-check` switch so you're seeing that error.
--
Roger

Shaun Clark

unread,
Jan 13, 2014, 5:59:18 PM1/13/14
to node-...@googlegroups.com, Shaun Clark
Whoa I think that worked, thanks! Now can you suggest a good example for me to look at to get the hang out how this is put together, I've read the developer docs, but it would be awesome to get a hello world type example if you have one. Thanks a lot!

Shaun Clark

unread,
Jan 13, 2014, 6:05:45 PM1/13/14
to node-...@googlegroups.com, Shaun Clark
Whoops, maybe I spoke a bit too soon, I next run and get:

./build/gyp_chromium content/content.gyp --no-circular-check

Updating projects from gyp files...

Using overrides found in /Users/shaunclark/.gyp/include.gypi

xcodebuild: error: SDK "macosx10.6" cannot be located.

I am on 10.9.1, there are 4 files with that string in them:

test_shorthand.sh
configure.sh
General.xcconfig
SnowLeopardOrLater.xcconfig

did I forget a flag somewhere? Thanks!

Trevor Linton

unread,
Jan 14, 2014, 12:11:20 PM1/14/14
to node-...@googlegroups.com, Shaun Clark
You'll need to change your default SDK to 10.8, or install macosx 10.6 sdk (Although good luck finding it). 

Before you use build/gyp_chromium do:

export GYP_DEFINES=mac_sdk=10.8

Trevor Linton

unread,
Jan 14, 2014, 12:12:33 PM1/14/14
to node-...@googlegroups.com, Shaun Clark
Also, see 


Specifically Xcode 4.4 tips, it just links the 10.6 sdk to the default sdk.. That also works.

Shaun Clark

unread,
Jan 17, 2014, 2:05:50 PM1/17/14
to node-...@googlegroups.com, Shaun Clark
I think that did it, thanks for the reply!
Reply all
Reply to author
Forward
0 new messages