[PHP-users 15056] Re: PHP4_PGSql_MacOSX
Ryutaro Amano
wn9r-amn @ asahi-net.or.jp
2003年 5月 6日 (火) 22:12:05 JST
天野です。RES有り難うございます。
Youichi Iwakiriさんが03.5.6 3:20 PMに書きました:
。
>
>いっそ、Apacheもソースから入れると幸せになれるかも
>
>http://ns1.php.gr.jp/pipermail/php-users/2003-April/015266.html
>
>が参考になります。
4月にあったとは、もう少し昔のものは、スレッドをざっと追ったのですが、申し訳
ありませんでした。
上記や、
http://www.php.net/manual/ja/
を参考にして
./configure --enable-mbregex --enable-mbstring --with-zend-multibyte --with-
apxs --with-pgsql --without-gd
とやってみました。
ズラ、ズラと色々出て
最後に
*** ATTENTION *** |
| |
| Something is likely to be messed up here, because the configure |
| script was not able to detect a simple feature on your platform. |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
| |
| If you are unable to fix this, send the file debug.log to the |
| php-install @ lists.php.net mailing list and include appropiate |
| information about your setup. |
と出ました。debug.logは見ましたが、さっぱりです。
debug.log
------------------------------------------------------------------------
CONFIGURE: './configure' '--enable-mbregex' '--enable-mbstring' '--with-
zend-multibyte' '--with-apxs' '--with-pgsql' '--without-gd'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -no-cpp-precomp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DHARD_
SERVER_LIMIT=2048 -DEAPI
CXX:
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I/usr/local/pgsql/include
LDFLAGS: -L/usr/local/pgsql/lib -L/usr/local/pgsql/lib
LIBS: -lpq -lm -ldl
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/pgsql/lib
uname -a: Darwin Macintosh.local. 6.5 Darwin Kernel Version 6.5: Mon Apr
7 17:05:38 PDT 2003; root:xnu/xnu-344.32.obj~1/RELEASE_PPC Power Macintosh
powerpc
gcc -o conftest -g -O2 -no-cpp-precomp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -
DHARD_SERVER_LIMIT=2048 -DEAPI -L/usr/local/pgsql/lib -L/usr/local/pgsql/
lib conftest.c -lpq -lm -ldl 1>&5
----------------------------------------------------------------------------
気合いで、makeしましたが、エラーが出ました。
make: *** [libs/libphp4.bundle] Error 1
アドバイスをいただけると大変嬉しいのですが。
Ryutaro Amano
wn9r-amn @ asahi-net.or.jp
PHP-users メーリングリストの案内