2009/8/9 Ryan Schmidt <[email protected]> > On Aug 8, 2009, at 13:34, Chang James wrote: > > I'm try to use macport to install PHP5.3 whit Apahac 2.2.11 (worker mpm >> mode). >> But it seems no variant could let PHP5 support PostgreSQL 8.4.0. >> Could it possible to add variant to enable PostgreSQL 8.4.0 support by >> PHP5.3? >> >> By the way, there are many php extenstion ports still only support >> PostgreSQL 8.3.X. >> Could it possible that the postgresql version contron variant can be >> handle by PHP5's >> varient? >> > > The variants are being removed from the php5 port in favor of separate > ports (see ticket #19091 if interested). I already added a separate port for > php5's postgresql support, and in the process already made it possible to > use postgresql84; this is the default in fact. So just ignore the variants > you see in php5 and install the port php5-postgresql. > > I just re-compile php5 in macports few minutes ago, but something wrong about PostgreSQL 8.3. Following are the message:
root# /opt/local/bin/port install php5 +snmp +mysql5 +pear +sockets +fastcgi +macosx +pcntl +apache2 +ipc Warning: Implicit variants should not be explicitly set or unset. macosx will be ignored. Warning: Skipping upgrade since libiconv 1.13_0 >= libiconv 1.13_0, even though installed variants "+enable_cp932fix+freebsd+linux" do not match "+enable_cp932fix". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "+freebsd" do not match "". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since tcl 8.5.6_0 >= tcl 8.5.6_0, even though installed variants "+memdebug+threads" do not match "+darwin+memdebug+threads". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since openssl 0.9.8k_0 >= openssl 0.9.8k_0, even though installed variants "+rfc3779" do not match "+darwin+rfc3779". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since bzip2 1.0.5_2 >= bzip2 1.0.5_2, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since readline 6.0.000_1 >= readline 6.0.000_1, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants. ---> Computing dependencies for postgresql83 ---> Building postgresql83 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_postgresql83/work/postgresql-8.3.7" && /usr/bin/gnumake -j2 " returned error 2 Command output: gnumake[4]: `SUBSYS.o' is up to date. /usr/bin/gnumake -C nbtree SUBSYS.o gnumake[4]: `SUBSYS.o' is up to date. /usr/bin/gnumake -C transam SUBSYS.o gnumake[4]: `SUBSYS.o' is up to date. /usr/bin/gnumake -C gin SUBSYS.o gnumake[4]: `SUBSYS.o' is up to date. /usr/bin/gnumake -C executor all gnumake[3]: Nothing to be done for `all'. /usr/bin/gcc-4.0 -no-cpp-precomp -O2 -arch i386 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../src/include -I/opt/local/include -I/opt/local/include/ossp -I/opt/local/include/libxml2 -I/opt/local/include -c -o typecmds.o typecmds.c tablespace.c: In function 'set_short_version': tablespace.c:675: error: 'PG_VERSION' undeclared (first use in this function) tablespace.c:675: error: (Each undeclared identifier is reported only once tablespace.c:675: error: for each function it appears in.) gnumake[3]: *** [tablespace.o] Error 1 gnumake[3]: *** Waiting for unfinished jobs.... /usr/bin/gnumake -C lib all gnumake[3]: Nothing to be done for `all'. /usr/bin/gnumake -C libpq all gnumake[3]: Nothing to be done for `all'. /usr/bin/gnumake -C main all /usr/bin/gcc-4.0 -no-cpp-precomp -O2 -arch i386 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../src/include -I/opt/local/include -I/opt/local/include/ossp -I/opt/local/include/libxml2 -I/opt/local/include -c -o main.o main.c main.c: In function 'main': main.c:149: error: syntax error before 'PG_VERSION' gnumake[3]: *** [main.o] Error 1 gnumake[2]: *** [main-recursive] Error 2 gnumake[2]: *** Waiting for unfinished jobs.... gnumake[2]: *** [commands-recursive] Error 2 gnumake[1]: *** [all] Error 2 gnumake: *** [all] Error 2 Error: Problem while installing postgresql83 Error: Unable to execute port: upgrade apache2 failed
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
