[Rails] anyone get ruby posgres driver works in debian
Marcel Molina Jr.
marcel at vernix.org
Sat Dec 11 03:28:27 GMT 2004
On Fri, Dec 10, 2004 at 09:24:11PM -0600, ChongQing Xiao wrote:
> 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.
In order for the gem extension to compile you need development files for
libpq. Debian has a package called postgresql-dev. Install that and then
try the gem install.
Those errors you're getting though aren't seemingly related to what
I'm suggesting...
marcel
--
Marcel Molina Jr. <marcel at vernix.org>
More information about the Rails
mailing list