lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

could someone tell me the comment that I need to use to install lua-sql on linux?

Thanks in advance for your help.

Pete

On Wed, Sep 17, 2008 at 3:13 PM, James Dennett <james.dennett@gmail.com> wrote:
On Wed, Sep 17, 2008 at 12:03 AM, Pete Kay <petedao@gmail.com> wrote:
> Hi,
>
> I am having problem with installing Luasql on Centos 5.2.  Could someone
> please help me out?
>
>
> [root@localhost luasql-2.1.0]# make
> export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -ansi -pedantic -I../compat/src -I/opt/local/include
> -I/usr/local/include/lua51  -o src/sqlite3.so -bundle -undefined
> dynamic_lookup  src/luasql.o src/ls_sqlite3.o  -L/opt/local/lib -lsqlite3
> gcc: dynamic_lookup: No such file or directory
> gcc: unrecognized option '-bundle'
> make: *** [src/sqlite3.so] Error 1
> [root@localhost luasql-2.1.0]#

You appear to be using build rules/makefiles for Mac OS X, but you're
running on Linux.  If you fix that, you might well find that things go
better!

-- James