[PHP-users 13613] Re: PHP3.0.18$B$N(Binstall

Masashi Ohba php-users@php.gr.jp
Fri, 28 Feb 2003 03:57:23 +0900


$BBg>l$G$9!#(B

$B!t1?MQ%^%7%s$O;_$a$i$l$J$/$FG:$_$^$9$,(B
$B!t$$$D$^$G$b8E$$(BOS$B$d%=%U%H$r;H$$B3$1$F(B
$B!t%3%s%Q%$%k$G$-$J$$$3$H$rG:$`$h$j$O!"?7$7$$4D6-(B
$B!t(B($BDI2C5!G=$bB?$$$7!"$h$j%;%-%e%"$K$J$C$F$k$3$H$,B?$$$7(B)$B$K(B
$B!t0\9T$G$-$k$J$i!"2?$+$r$-$C$+$1$K0\$C$?J}$,(B
$B!t2?$+$HIT6q9g$O>/$J$$$H$$$&$3$H$@$H$O;W$&$1$I!D(B

In message "[PHP-users 13607] PHP3.0.18$B$N(Binstall",$B>.@n!!9'(B wrote...

FreeBSD3.5.1
Apache1.3.26
PostgreSQL6.5.3
PHP3.0.18
$B$H$$$&4D6-$O!"(BApache$B$O$d$d8E$$$/$i$$$G$9$,!"(B
$B;D$jA4$F$O$+$J$j8E$$$N$G!V$$$^$5$i$J$s$G!)!W(B
$B$H$$$&46$8$7$+$7$J$$$N$G$9$,!D(B

FreeBSD 4-stable
Apache1.3.27
PostgreSQL7.3.2
PHP-3.0.18-i18n-ja-3$B$G(B
($B$?$@$7!"(BPHP3$B$O$b$&;H$C$F$^$;$s!#:G?7HG$N(BPHP4.3.1$B$,F~$C$F$^$9(B)

>    ./configure \
>      --with-pgsql \
>      --with-apxs=/usr/local/apache/bin/apxs \
>      --enable-i18n \
>      --enable-mbregex \
>      --enable-versioning \

$B$OLdBj$J$/(B./configure$B$bDL$j$^$7$?$7!"(Bmake$B$b$G$-$^$7$?!#(B


>$B=hM}Cf$K(B
>WARNING: Your /usr/local/apache/bin/apxs script is most likely broken.
>Please go read http://www.php.net/FAQ.php3#6.11 and make the
>changes described and try again.
>$B$HI=<($5$l!"=hM}$,CfCG$5$l$F$7$^$$$^$9!#(B

$B$3$l$O(BApache$B$N%P!<%8%g%s$,$$$D$N:"$@$C$?$+(B
$B3P$($F$J$$$N$G$9$,!"(Bapxs$B$NJQ99L5$7$G$b(B
WARNING$B$,=P$J$/$J$C$?$h$&$K5-21$7$F$$$^$9!#(B

$B!t$H<+J,MQ$K<h$C$F$$$k%a%b$K$b(B
$B!t!V:G6a$N(BApache$B$O=$@5:Q$_$NMM;R!W$H(B
$B!tDI5-$7$F$k$N$G4V0c$$L5$$$G$9!#(B

$B$?$@!"(BWARNING$B$,=P$J$/$J$C$?;~$K;H$C$F$?(BOS$B$,(B
FreeBSD 3.x$B$@$C$?$+$O3P$($F$^$;$s!#(B


>FAQ$B$NFbMF$r3NG'$7(B/usr/local/apache/bin/apxs$B$r(B
>my $CFG_CFLAGS_SHLIB  = q();                     # substituted via Makefile.tmpl
>my $CFG_LD_SHLIB      = q();                     # substituted via Makefile.tmpl
>my $CFG_LDFLAGS_SHLIB = q();                     # substituted via Makefile.tmpl


Apache1.3.26$B$N(Bapxs$B$NCf?H$O%[%s%H$K$3$&$J$C$F$^$7$?$+!)(B

$B$&$A$N4D6-$N(BApache1.3.27$B$G$O(B
gw# grep -n CFG apxs
($B>JN,(B)
77:my $CFG_CFLAGS_SHLIB  = q(-fpic -DSHARED_MODULE);      # substituted via Makefile.tmpl
78:my $CFG_LD_SHLIB      = q(gcc);          # substituted via Makefile.tmpl
79:my $CFG_LDFLAGS_SHLIB = q(-shared); # substituted via Makefile.tmpl 
($B>JN,(B)

$B$H$$$&5-=R$J$N$G$9$,!D(B
$B$3$N(Bapxs$B$N5-=R$N0c$$$C$F!"(BPerl$B$N%P!<%8%g%s$N0c$$$G$7$g$&$+$M!)(B
$B2H$N%^%7%s$G$O(Bapxs$B$NF,$O(B#!/usr/bin/perl5$B$G$9$,(B
3.x$B$J$i%Y!<%9%7%9%F%`$O(BPerl4$B$@$C$?$O$:$J$N$G!#(B

$B$?$@!"(B3.x$B$N%^%7%s;H$C$F$?:"$b!"(Bports/packages$B$+$i(B
Perl5$B$N(Bjperl$BF~$l$F!"$=$C$A$r;H$&$h$&$K$7$F$?$+$i(B
Perl4$B$G$I$&$3$&$C$FNI$/$o$+$i$J$$$G$9$,!#(B

Apache$B$N%3%s%Q%$%k;~$K(B
# ./configure --help|grep perl
 --with-perl=FILE       path to the optional Perl interpreter
$B;H$C$F!"(BPerl5$B$r;XDj$7$?$i(Bapxs$B$NCf?H$,JQ$o$C$?$j$O$7$J$$$N$+$J!)(B

--------------------------------------------------
Name  : $BBg>l@5;V(B(Masashi Ohba)
E-mail: ohba@netforce.ne.jp
url   : http://www.netforce.ne.jp/~ohba
        $B%3%,%M%a%-%7%3%$%s%3;t$C$F$^$9(B
Add   : Fukuoka-city, Japan