[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:01716] Re: Install postgresql support

From: Yasushi Shoji <yashi@...>
Date: 2000-03-04 13:51:11 UTC
List: ruby-talk #1716
From: Ikhlasul Amal <amal@piksi.itb.ac.id>
Subject: [ruby-talk:01715] Install postgresql support
Date: Sat, 4 Mar 2000 19:53:45 +0700

> Having followed the instruction in INSTALL, but the first step
> 
> 	# ruby extconf.rb
> 
> did not yet result anything for the next step (create Makefile, uh?).

i just installed new version of postgres module.

$ ruby extconf.rb --with-pgsql-lib-dir=/opt/pgsql/lib --with-pgsql-include-dir=/opt/pgsql/include 
checking for cygwin32_socket() in -lwsock32... no
checking for socket() in -lsocket... no
checking for gethostbyname() in -linet... no
checking for gethostbyname() in -lnsl... yes
checking for sys/un.h... yes
checking for socket()... yes
checking for hsterror()... no
checking for gethostname()... yes
checking for PQsetdbLogin() in -lpq... yes
creating Makefile

$ make
gcc -fPIC -I/usr/local/lib/ruby/1.4/i586-linux -O6 -I/opt/pgsql/include -I/usr/local/include -DHAVE_SYS_UN_H -DHAVE_SOCKET -DHAVE_GETHOSTNAME   -c postgres.c -o postgres.o
gcc -shared  -L/opt/pgsql/lib -o postgres.so postgres.o -lpq -lnsl -lc 

$ uname -a
Linux yashipc 2.2.14 #1 Sun Jan 9 09:33:27 EST 2000 i586 unknown

hope this helps
--
             yashi

In This Thread