Re: problem compiling on Mac OS X
suppaman <[email protected]> Tue, 19 Apr 2005 16:27:37 +0200
| Newsgroups | gmane.comp.lang.lua.luacheia |
|---|---|
| Message-ID | <[email protected]> |
Il giorno 17/apr/05, alle 16:14, Adri=E1n P=E9rez ha scritto: > I often had problems when compiling because I used to have a Lua5=20 > installation under /usr/local, so when linking against "-llua=20 > -llualib" GCC first finds the ones in /usr/local/lib instead of the=20 > ones that in the build tree. Maybe you should check wether you have no=20= > Lua libraries either in standard places or installed by Fink or=20 > similar utilities (i.e: in /usr/lib, /usr/local/lib, /sw/lib and so=20 > on). Apart from that I had no problems building LuaCheia myself. > Exactly the case, I've however not been able to find the library path variable in OS X,=20 so at last I moved liblua* from /usr/local/lib to another directory,=20 then compiled, then again put the libraries at their proper place. Now I'm getting: readline.c:20:31: readline/readline.h: No such file or directory readline.c:21:30: readline/history.h: No such file or directory readline.c: In function `lua_readline': it seems that my system lacks of readline GNU library, but this=20 shouldn't be a hard problem. Thanks Andrea ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728