[#35592] String#center — Take_tk <ggb03124@...>

 仕様拡張のお願い。と言うほどのものでもないですが・・

33 messages 2002/07/20
[#35593] Re: String#center — Kazuhiro NISHIYAMA <zn@...> 2002/07/20

西山和広です。

[#35596] Re: String#center — Take_tk <ggb03124@...> 2002/07/20

たけ(tk)です。

[#35597] Re: String#center — Kazuhiro NISHIYAMA <zn@...> 2002/07/20

西山和広です。

[#35599] Rational#to_int ← String#center — Take_tk <ggb03124@...> 2002/07/21

たけ(tk)です。

[#35601] Re: Rational#to_int ← String#center — matz@... (Yukihiro Matsumoto) 2002/07/21

まつもと ゆきひろです

[#35618] new mathn [Re: Rational#to_int ← String#center] — keiju@... (石塚圭樹) 2002/07/23

けいじゅ@日本ラショナルソフトウェアです.

[#35624] Re: new mathn [Re: Rational#to_int ← String#center] — matz@... (Yukihiro Matsumoto) 2002/07/24

まつもと ゆきひろです

[#35628] Re: new mathn [Re: Rational#to_int ← String#center] — keiju@... (石塚圭樹) 2002/07/24

けいじゅ@日本ラショナルソフトウェアです.

[#35630] Re: new mathn [Re: Rational#to_int ← String#center] — matz@... (Yukihiro Matsumoto) 2002/07/24

まつもと ゆきひろです

[ruby-list:35521] windows で postgres

From: Takeshi Honda <moecho21@...>
Date: 2002-07-04 02:07:46 UTC
List: ruby-list #35521
windowsのrubyで、postgresを使いたいんですが、
postgresモジュールのextconf.rbがうまく通りません。
というか、cygwinでextconfがうまくいったためしがないです 。
環境を記しておきます。

OS: windows2000Pro
ruby:
rbcw164j.exe(http://homepage1.nifty.com/arima/ruby/index.htm)
cygwin: Cygwin B20.1(rubyに入ってたcygwin1.dllと置き換え
済み)
postgres:
PostgreSQL-7_1_3_win32_bin_rv14.zip(http://download.desk.ne.jp/win/2/00026/5337.html)
postgresモジュール: ruby-postgres-0.6.5.tar.gz

やったことは以下のとおり。

環境変数PGLIBにpostgresのlibディレクトリを設定。(C:\home\bin\postgre\PostgreSQL-7_1_3_win32_bin_rv14\postgresql-7.1.3-win32\lib)

ruby extconf.rb
--with-pgsql-include-dir=/home/bin/postgre/PostgreSQL-7_1_3_win32_bin_rv14/postgresql-7.1.3-win32/include
--with-pgsql-lib-dir=/home/bin/postgre/PostgreSQL-7_1_3_win32_bin_rv14/postgresql-7.1.3-win32/lib

反応は、

checking for cygwin32_socket() in -lwsock32... no
checking for socket() in -lsocket... no
checking for gethostbyname() in -linet... no
checking for gethostbyname() in -lnsl... no
checking for sys/un.h... no
checking for socket()... yes
checking for hsterror()... no
checking for gethostname()... yes
checking for PQsetdbLogin() in -lpq... no
Could not find PostgreSQL libraries: Makefile not created

でした。

libやincludeのパスを、/home...の変わりに、c:/home...とか
、
/cygdrive/c/home...としてみても、やっぱりだめでした。

何がいけないのでしょうか?できれば、cygwinを最新に変えろ
、とは言わないでください。
postgresモジュールのwin32用バイナリとかないんでしょうか ?
教えてください。

__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!  http://bb.yahoo.co.jp/

In This Thread

Prev Next