premake / premake-core

Premake
https://premake.github.io/
BSD 3-Clause "New" or "Revised" License
3.22k stars 620 forks source link

premake5 alpha 2 on OS/X fails with xcode module not found error #52

Closed g1mv closed 9 years ago

g1mv commented 9 years ago
$ ./premake5
Error: [string "src/_premake_main.lua"]:45: module 'xcode' not found:
    no field package.preload['xcode']
    no file './xcode.lua'
    no file '/usr/local/share/lua/5.1/xcode.lua'
    no file '/usr/local/share/lua/5.1/xcode/init.lua'
    no file '/usr/local/lib/lua/5.1/xcode.lua'
    no file '/usr/local/lib/lua/5.1/xcode/init.lua'
    no file './xcode.so'
    no file '/usr/local/lib/lua/5.1/xcode.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
starkos commented 9 years ago

I did accidentally upload a broken build initially. Can you try the download again (http://premake.github.io/download.html#v5)?

g1mv commented 9 years ago

Hello, I just tried again with this link : http://sourceforge.net/projects/premake/files/5.0/premake-5.0-alpha2-macosx.tar.gz/download and got the same error.

starkos commented 9 years ago

Hmm, works okay here. Maybe we're hitting different mirrors? I will make a new set of releases.

starkos commented 9 years ago

Before I make the release, can you test this? http://cl.ly/1R2T2h2n071w

g1mv commented 9 years ago

This one works ! I also tested building with a source package and it worked as well.

starkos commented 9 years ago

Great—I've pushed an alpha3 release, which should be making its way to the mirrors now.