Yake - Community Forum
September 09, 2010, 04:19:47 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: News #2: Feel free to pester the members of the Community Support! Look out for blue stars! Smiley
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Premake problems on Linux  (Read 2169 times)
Calder
Newbie
*
Posts: 8


View Profile
« on: April 28, 2009, 01:46:13 PM »

I'm trying to compile Yake on Linux, and having a rather bad time of it.  If someone can help me figure out what I'm doing wrong, it would be greatly appreciated.  First, I get Premake from their website and build it.  Then I take the 'premake' executable from bin/release and put it in /usr/local/bin.  Next I cd to Yake's scripts/linux directory and do 'sh build.sh'.  That doesn't work because premake is under premake4.  So I open up that script and change premake to premake4, and then I get this error:
No Premake script (premake4.lua) found!
So after a bit of snooping, I change '--file yake.lua' to '--file=yake.lua', and now I get a new error:
/home/calder/Desktop/yake/scripts/premake/yake.lua:5: attempt to call global 'addoption' (a nil value)
After looking at yake.lua, I assume addoption is a typo for addOption, but after replacing that I'm stuck in exactly the same place.

Thanks in advance for any and all help building this.  Also, if someone could actually check that the Linux scripts work before releasing them in the future, that would be great.

-Calder
Logged
Calder
Newbie
*
Posts: 8


View Profile
« Reply #1 on: April 28, 2009, 07:01:03 PM »

Well, I tried using Premake 3.7 instead, and with that I at least get the following result:
calder@divvy:~/Developer/yake/scripts/linux$ sh build.sh
256fmod.so
ERROR: Failed to find library 'fmod.so'!
nil
** yake.lua: plugins.lua:23: attempt to concatenate local 'path' (a nil value)
** Script failed to run, ending.

So I'm sorry for the harsh things I said about build.sh. :S  ...but I'd still really like some help on this.  I'm quite stuck right now, and these forums seem to be kinda vacant...
Logged
Calder
Newbie
*
Posts: 8


View Profile
« Reply #2 on: May 09, 2009, 06:59:20 PM »

HElp?  Please?  Anyone?
Logged
psyclonist
Administrator
Hero Member
*****
Gender: Male
Posts: 2811



View Profile WWW
« Reply #3 on: May 18, 2009, 09:11:44 PM »

Mmh. Did you check 'deps.lua' for the proper paths to the fmod libs?
Logged
Calder
Newbie
*
Posts: 8


View Profile
« Reply #4 on: May 22, 2009, 01:35:44 AM »

Sorry, fmod wasn't in the DEPENDENCIES Readme file, so I'm trying that now.  Thanks!
Logged
psyclonist
Administrator
Hero Member
*****
Gender: Male
Posts: 2811



View Profile WWW
« Reply #5 on: May 22, 2009, 01:14:53 PM »

Package detection/configuration on Linux is still a bit of a pain - we'll have to tackle this for one of the next two releases.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.06 seconds with 18 queries.