Re: [Kepler-Project] Compiling luasql-2.1.1 under AMD64

2009-11-01 Thread Luís Eduardo Jason Santos
I see. Well, -fPIC is the correct fix for AMD64 compilation. I believe it has some impact on performance on 32bit environment -- so it's probably why it is not enabled by default in all makefiles. Att. Luís Eduardo Jason Santos On Sun, Nov 1, 2009 at 6:39 PM, Jose Quinteiro wrote: > I'm not u

Re: [Kepler-Project] Compiling luasql-2.1.1 under AMD64

2009-11-01 Thread Jose Quinteiro
I'm not using Luarocks. I'm compiling using the makefile and config file in the source distribution. Thanks, Jose. Luís Eduardo Jason Santos wrote: > I thought no Lua library would compile on AMD64 unless you add -fPIC. > > If I recall correctly, Luarocks adds -fPIC automatically during compilat

Re: [Kepler-Project] Compiling luasql-2.1.1 under AMD64

2009-11-01 Thread Luís Eduardo Jason Santos
I thought no Lua library would compile on AMD64 unless you add -fPIC. If I recall correctly, Luarocks adds -fPIC automatically during compilation. Att. Luís Eduardo Jason Santos On Sun, Nov 1, 2009 at 5:17 PM, Jose Quinteiro wrote: > Hello, > > Luasql would not compile for me under AMD64 unle

[Kepler-Project] Compiling luasql-2.1.1 under AMD64

2009-11-01 Thread Jose Quinteiro
Hello, Luasql would not compile for me under AMD64 unless I added "-fPIC" to CFLAGS in "config". The 32-bit version compiles with that switch as well. At least the postgres library works when compiled that way. Saludos, Jose. ___ Kepler-Project maili