On 12/29/2011 10:23 AM, Daniel Griscom wrote:
> I've used Haserl with bash for quite a while, and now want to get it
> going with lua. Unfortunately, on my machine (OS X 10.5) I can't get
> Haserl's ./configure to find and/or recognize the installed lua
> Playing with the --with-lua=XXXXX and --with-lua-headers=YYYYY hasn't
> gotten me anywhere.
> I've even tried the instructions in Haserl's INSTALL, on how to set
> up a dedicated copy of lua in /tmp/lua: no dice.
> Exactly what is Haserl looking for? What values should I be providing
> to --with-lua and --with-lua-headers: directories? files? and if so,
I get an error at line 4390: pkg-config: command not found. evidently
its not standard with xcode...
fiddling with the autoconf.ac to work around that, I still get
checking for luaL_newstate in -llua... no
Which indicates it can't find the library(?!) Not sure why though.
Been a long time since I've compiled anything on OSX.
> (I'm using lua version 5.1.4, and Haserl version 0.9.29.)
Looks like xcode is not finding the liblua.a file for some reason; not