Page 2 of 2

Re: gyp: Duplicate basenames in sources section

Posted: Mon Jan 11, 2016 11:09 am
by peter-b
If it helps, I believe gyp requires Python 2.7. I think most of our Python build scripts are written in the expectation of Python 2.7, too.

Re: gyp: Duplicate basenames in sources section

Posted: Tue Jan 19, 2016 2:59 am
by mwieder
Got it sorted.

Whatever build of gyp is bundled in the repository is incompatible with the version in the unbuntu distro.
As long as I remove gyp from my path (sudo apt-get uninstall gyp) then I can compile LiveCode.

Of course, that means that I can no longer use gyp for any other projects. :evil:
At the moment that isn't causing me any problems because I'm using node's version, which they have renamed.
But it would be nice if we played well with others as well.

And there's no way to get build information from gyp. :roll:

Re: gyp: Duplicate basenames in sources section

Posted: Mon Jan 25, 2016 12:14 pm
by LCfraser
I've tweaked the Gyp main file to ensure that it uses the python modules in the Gyp directory rather than those from the system's Gyp. Try cherry-picking the commit in https://github.com/livecode/livecode/pull/3503 to see if that fixes it.

Re: gyp: Duplicate basenames in sources section

Posted: Tue Jan 26, 2016 1:00 am
by mwieder
Worked for me. Thanks for that.

Re: gyp: Duplicate basenames in sources section

Posted: Sat Feb 27, 2016 1:03 am
by mwieder
...and if anyone's still reading here, it's been merged into the develop branch now. Thanks, team.