[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:07812] Bug#JP/486: ruby-postgres-module_0.4-4 can't build
Package: ruby-postgres-module
Version: 0.4-4
build fail
make[1]: Entering directory `/home/ishikawa/tmp2/src/ruby-postgres-module-0.4'
gcc -fpic -I/usr/lib/ruby/i386-linux -I/usr/include -g -O2 -I/usr/local/pgsql/include -DHAVE_SYS_UN_H -DHAVE_SOCKET -DHAVE_GETHOSTNAME -c postgres.c -o postgres.o
postgres.c:16: libpq-fe.h: No such file or directory
make[1]: *** [postgres.o] Error 1
make[1]: Leaving directory `/home/ishikawa/tmp2/src/ruby-postgres-module-0.4'
make: *** [build-stamp] Error 2
うーんと、Makefile.rb の
if libdir = ENV["PGLIB"]
$LDFLAGS = "-L" + libdir
$CFLAGS += "-I" + libdir.sub(/(.*)lib/, '\1include')
else
$LDFLAGS = "-L/usr/local/pgsql/lib"
$CFLAGS += "-I/usr/local/pgsql/include"
end
のとこなのは、わかってるんですけど任せます。
-I/usr/include/postgresql/
になって欲しい。
ii ruby 1.1c2-5 An interactive object-oriented scripting lan
ii libpgsql 6.3.2-8 Shared library for PostgreSQL
ii postgresql-dev 6.3.2-8 Header files for libpq (postgresql library)
--
From Nagoya
ishikawa@xxxxxxxxxxx, ishikawa@debian.or.jp
** 石川 睦%無意味な全文引用は嫌い@Japan Linux Users Group **
(Nagoya Linux Users Group)
私家版 f.o.l FAQ (Last Update : 1997/12/24)
http://www.linux.or.jp/~ishikawa/linux/faq/faq-list.html