From: Yasushi Shoji Date: 2000-03-04T08:51:11-05:00 Subject: [ruby-talk:01716] Re: Install postgresql support From: Ikhlasul Amal 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