gyp: Duplicate basenames in sources section

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark

Re: gyp: Duplicate basenames in sources section

Postby 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
peter-b
Livecode Staff Member
Livecode Staff Member
 
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: gyp: Duplicate basenames in sources section

Postby 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:
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 2515
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US

Re: gyp: Duplicate basenames in sources section

Postby 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.
LCfraser
Livecode Staff Member
Livecode Staff Member
 
Posts: 71
Joined: Thu Nov 28, 2013 11:18 am

Re: gyp: Duplicate basenames in sources section

Postby mwieder » Tue Jan 26, 2016 1:00 am

Worked for me. Thanks for that.
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 2515
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US

Re: gyp: Duplicate basenames in sources section

Postby 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.
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 2515
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US

Previous

Return to Engine Contributors

Who is online

Users browsing this forum: No registered users and 1 guest