Hi all,
I've been having trouble installing luasql-postgres on Windows (Vista) due
to a list of problems. The first 2 were related to luasql project:
1 - Compilation error due to non-standard syntax
2 - Rockspec depending on "pq" doesn't work on windows where "libpq" must
be specified.
Problem number 2 can be a shared problem (between luasql and LR) because I
don't know if it is possible to indicate different names for a dependency
based on the OS flavor.
Now comes the LR problem.
I solved the problems described above locally and it was possible to build
luasql-postgres. But then occured the runtime error:
3 - "R6034. An application has made an attempt to load the C runtime
library incorrectly. ..."
After some research, I found that this error occurs due to the lack of a
manifest which is necessary when a dll is linked against MSVCRT.lib (linker
/MD option).
LR creates a command for embedding the manifest in the resulting dll (in
"src/luarocks/build/builtin.lua") but it was not working for
luasql-postgres because the final output is not a single dll but a dll
inside a directory (luasql/postgres).
I also solved problem number 3 locally and now I'm able to use the
luasql-postgres.
I have 2 questions:
1 - How can I send my modifications to be applied to LR?
2 - Related to problem number 2. How to deal with the differences in
library search conventions in different OSs?
Best Regards
---
Eric Chiesse
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers