gyp: Duplicate basenames in sources section

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, LCMark

peter-b
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: gyp: Duplicate basenames in sources section

Post by peter-b » Mon Jan 11, 2016 11:09 am

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.
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2595
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: gyp: Duplicate basenames in sources section

Post by mwieder » Tue Jan 19, 2016 2:59 am

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:

LCfraser
Livecode Staff Member
Livecode Staff Member
Posts: 71
Joined: Thu Nov 28, 2013 11:18 am
Contact:

Re: gyp: Duplicate basenames in sources section

Post by LCfraser » Mon Jan 25, 2016 12:14 pm

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.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2595
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: gyp: Duplicate basenames in sources section

Post by mwieder » Tue Jan 26, 2016 1:00 am

Worked for me. Thanks for that.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2595
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: gyp: Duplicate basenames in sources section

Post by mwieder » Sat Feb 27, 2016 1:03 am

...and if anyone's still reading here, it's been merged into the develop branch now. Thanks, team.

Post Reply

Return to “Engine Contributors”