Comments (9)
I am having the same problem. Did you manage to get a postgres dll built?
Original comment by [email protected]
on 11 Jul 2011 at 2:26
from luaforwindows.
I need this support soon for an application that I am writing, but I wish there
was a binary build I could get my hands on. I think there is a LuaRocks in the
cvs repo so I will try to build that on my test machine and if it goes well I
will add it to the next release.
Original comment by [email protected]
on 11 Jul 2011 at 2:48
- Changed state: Started
from luaforwindows.
Original comment by [email protected]
on 11 Jul 2011 at 4:27
from luaforwindows.
Original comment by [email protected]
on 11 Jul 2011 at 4:28
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from luaforwindows.
The luasql-postgres driver has two dependencies
- .lib from the lua sources - that should probably correspond to the lua
version it'll be called by, and I suppose the compiler that will do the final
compile.
- libpq from postgres sources. This has optional dependencies to e.g. openssl.
Now here's a question: Does the libpq version have to correspond to the
database version? It tends to give a NOTICE when not matching, but I think
it'll work right for all the things luasql allows you to do regardless.
If it doesn't, postgres.dll can be statically linked to libpq. If it doesn't,
building it so the user is required to provide the libpq.dll would be necessary.
Original comment by [email protected]
on 17 Jul 2011 at 8:02
from luaforwindows.
If you feel confident in program files provided by "nobodies" on the net, you
can use this. Statically linked against libpq for postgres 9.0.4, which was
(probably) not compiled with any openssl support. (I hope for such support in
the lfw distribution, though.)
It has not yet been tested further than not giving an error upon connecting.
Original comment by [email protected]
on 17 Jul 2011 at 8:09
Attachments:
from luaforwindows.
Thanks for the help. I will look into that as well. Did you use the .rockspec
to build this?
Original comment by [email protected]
on 18 Jul 2011 at 3:45
from luaforwindows.
Luarocks haven't gotten well along with vc10 for me, though I probably gave it
up rather early.
I got the files downloaded, found a vc6 folder with a .dsp I could open in vs10.
A few tweaks were necessary wrt where to find include/lib files from lua and
postgres, and if you want to make a static compile you need to have the linker
use
libpq.lib ws2_32.lib shfolder.lib secur32.lib
which I don't think are used by default. (libpqdll.lib or so for using extra
libpq.dll, which won't be found if just put in the same directory as the
postgres.dll produced.) lua51.lib kinda goes without saying, but I don't know
if it was there already.
I found nmake to build libpq.lib well using the provided win32.mak. Though I'm
not sure what it would take to get openssl support from the result.
Original comment by [email protected]
on 18 Jul 2011 at 5:02
from luaforwindows.
I tried the postgres.dll you attached and it relies on the Visual C++ 2010 crt.
I need a Visual C++ 2005 build, because right now that is the run-time being
used in LfW. Can you help with that?
Again thanks for you time.
Original comment by [email protected]
on 2 Sep 2011 at 7:10
from luaforwindows.
Related Issues (20)
- iup.dll is missing (but not really?) HOT 1
- Enhancement silent / Unattended installer for Lua
- Please tell me where the source code of luanet.dll is!
- iup trees not expanding HOT 1
- Update LuaRocks to the latest 2.0.12 version
- Can not start, debug or kill programs HOT 1
- Lua 5.2 not considering to update?
- Please update luars232 and penlight to latest versions
- X64 version request
- Does someone maintain this installation
- git clone https://code.google.com/p/luaforwindows/ -- points to empty repo
- Windows Registry Interface
- luarocks install ?????? from luaforwindows
- Compile, Build and Go are Greyed Out
- Update to Lua 5.2
- update to 5.2.3?
- luarocks install lfs
- I found a virus ("worm" specifically)
- Broken LuaXML link
- Please update this Lua distribution without messing up compatibility with old stuff
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luaforwindows.