[Rails] anyone get ruby posgres driver works in debian
Steven Critchfield
critch at basesys.com
Sat Dec 11 04:34:47 GMT 2004
On Fri, 2004-12-10 at 21:24 -0600, ChongQing Xiao wrote:
> Hi:
>
> Have any one installed postgres driver working in debian?
> If yes, could you post how do you install it?
>
> I tried to use
> gem install postgres and it failed.
>
> I have also tried to use
> Ruby extconf.rb and it also failed.
>
> In both cases, I get the following error message in the out file.
>
> checking for cygwin32_socket() in wsock32.lib... no checking for
> socket() in socket.lib... no checking for gethostbyname() in inet.lib...
> no checking for gethostbyname() in nsl.lib... no checking for
> sys/un.h... no checking for socket()... no checking for
> cygwin32_socket()... no
>
> I have postgresql 7.4 installed in the machine.
While I happen to track experimental,unstable, and everything below on
my workstation, I have rails and postgres working just fine.
In case you use Debians unstable, it seems you have to use gem out of
CVS.
As for the postgres question, here are the packages I have installed,
libpgsql-ruby1.8
libdbd-pg-ruby1.8
libdbi-ruby1.8
--
Steven Critchfield <critch at basesys.com>
More information about the Rails
mailing list