[PHP-users 17796] Re: Mac OS 10.2.6_PHP4.3.3_PGSQL
emiko watanabe
europa @ yin.or.jp
2003年 9月 10日 (水) 20:45:13 JST
渡部です。
レスありがとうございます。
>山下です。
>
>私の場合は、
>
>> postgresql-7.3.3
>> (http://www.entropy.ch/software/macosx/postgresql/よりpkgで)
>
>これが原因で駄目でした。
>
>自分で postgresql を make して入れると問題なく動きましたよ。
ありがとうございます。
上記をトライしてみました。
postgresql-7.3.3.tar.gzの(ソース)
./configure
だけですと、
configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.
となるので、
./configure --without-readline
にてokでmakeすると、
(略)
/usr/include/architecture/ppc/math.h:128: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:128: error: parse error before
"__cplusplus"
/usr/include/architecture/ppc/math.h:129: error: syntax error before "inline"
/usr/include/architecture/ppc/math.h:130: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:130: error: parse error before "else"
/usr/include/architecture/ppc/math.h:131: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:132: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:140: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:140: error: parse error before
"__cplusplus"
/usr/include/architecture/ppc/math.h:141: error: syntax error before "inline"
/usr/include/architecture/ppc/math.h:142: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:142: error: parse error before "else"
/usr/include/architecture/ppc/math.h:143: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:144: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:151: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:151: error: parse error before
"__cplusplus"
/usr/include/architecture/ppc/math.h:152: error: syntax error before "inline"
/usr/include/architecture/ppc/math.h:153: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:153: error: parse error before "else"
/usr/include/architecture/ppc/math.h:154: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:155: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:163: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:163: error: parse error before
"__cplusplus"
/usr/include/architecture/ppc/math.h:164: error: syntax error before "inline"
/usr/include/architecture/ppc/math.h:165: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:165: error: parse error before "else"
/usr/include/architecture/ppc/math.h:166: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:167: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:175: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:175: error: parse error before
"__cplusplus"
/usr/include/architecture/ppc/math.h:176: error: syntax error before "inline"
/usr/include/architecture/ppc/math.h:177: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:177: error: parse error before "else"
/usr/include/architecture/ppc/math.h:178: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:179: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:187: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:187: error: parse error before
"__cplusplus"
/usr/include/architecture/ppc/math.h:188: error: syntax error before "inline"
/usr/include/architecture/ppc/math.h:189: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:189: error: parse error before "else"
/usr/include/architecture/ppc/math.h:190: error: syntax error at '#' token
/usr/include/architecture/ppc/math.h:191: error: syntax error at '#' token
make[2]: *** [isinf.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
となってしまうんです…
アドバイスをいただけると嬉しいです。
PHP-users メーリングリストの案内