[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-devel:04831] ruby-postgres-module_0.4-4 can't build
- From: ISHIKAWA Mutsumi <ishikawa@xxxxxxxxxxx>
- Subject: [debian-devel:04831] ruby-postgres-module_0.4-4 can't build
- Date: Wed, 19 Aug 1998 19:10:15 +0900
- X-dispatcher: imput version 980702
- X-fingerprint: AC FA FA 80 27 8D 50 5E 5F 9F B4 78 94 BC 61 B5
- X-ml-info: If you have a question, send a mail with the body "# help" (without quotes) to the address debian-devel-ctl@debian.or.jp
- X-ml-name: debian-devel
- X-mlserver: fml [fml 2.1A#45]; post only from members
- X-url: http://www.linux.or.jp/~ishikawa/
- Message-id: <19980819170648T.ishikawa@xxxxxxxxxxx>
- X-mail-count: 04831
- X-mailer: Mew version 1.93b50 on Emacs 20.2 / Mule 3.0 (MOMIJINOGA)
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