gyp: Duplicate basenames in sources section
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark
Re: gyp: Duplicate basenames in sources section
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
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: gyp: Duplicate basenames in sources section
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.
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.
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.
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.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: gyp: Duplicate basenames in sources section
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.
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: gyp: Duplicate basenames in sources section
Worked for me. Thanks for that.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: gyp: Duplicate basenames in sources section
...and if anyone's still reading here, it's been merged into the develop branch now. Thanks, team.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev