FYI. I forgot to send it to companion-discuss. One correction: Zdenek is working on 8.1.6 packages and not the 8.2
-------- Original Message -------- Subject: Re: [companion-discuss] Code Review Request: SFWmphp - Support for PostgreSQL database added. Date: Thu, 18 Jan 2007 11:07:13 +0100 From: Julius Stroffek <[email protected]> To: Alan Coopersmith <Alan.Coopersmith at Sun.COM> CC: Zdenek Kotala <Zdenek.Kotala at Sun.COM> References: <45AE1942.5080207 at sun.com> <45AEE8BA.8000202 at sun.com> Yes, that is the problem. It will not work with PostgreSQL 8.2 libraries. The pgsql client libraries of version 8.1 will be required. However, libraries of version 8.1 can be used to connect to pgsql 8.2 server. I discussed this with Zdenek Kotala who is preparing the 8.2 Postgres packages. Julo Alan Coopersmith wrote: > What will happen when Postgres 8.2 integrates with another set of > code in /usr/postgres/8.2/{bin,lib,..} via SUNWpostgr-82 packages? > > Will the code you are linking against work with both versions? > > -Alan Coopersmith- alan.coopersmith at sun.com > Sun Microsystems, Inc. - X Window System Engineering > > Julius Stroffek wrote: >> Hi All, >> >> I would like someone to review a very small patch to SFWmphp package >> to enable PostgreSQL support. I have added the option >> '--with-pgsql=/usr' to configure script and added the corresponding >> packages to dependencies. The patch is attached to the message. I >> have tested the build and functionality on Nevada and S10U3, both are >> fine. Thanks in an advance. >> >> Cheers >> >> Julo >> >> >> ------------------------------------------------------------------------ >> >> Index: src/cmd/php/Makefile.sfw >> =================================================================== >> --- src/cmd/php/Makefile.sfw (revision 93) >> +++ src/cmd/php/Makefile.sfw (working copy) >> @@ -70,6 +70,7 @@ >> --with-apxs=/usr/apache/bin/apxs \ >> --with-config-file-path=/etc/apache \ >> --with-mysql --enable-track-vars \ >> + --with-pgsql=/usr \ >> --prefix=/opt/sfw) >> >> $(VER)/configure: $(VER).tar.bz2 >> Index: src/pkgdefs/SFWmphp/depend >> =================================================================== >> --- src/pkgdefs/SFWmphp/depend (revision 93) >> +++ src/pkgdefs/SFWmphp/depend (working copy) >> @@ -49,3 +49,4 @@ >> P SUNWcsd Core Solaris Devices >> P SUNWcsl Core Solaris Libraries >> P SUNWmysqlu MySQL database package >> +P SUNWpostgr PostgreSQL 8.1.4 client programs and libraries >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> companion-discuss mailing list >> companion-discuss at opensolaris.org >> http://opensolaris.org/mailman/listinfo/companion-discuss > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/companion-discuss/attachments/20070118/667b8daa/attachment.html>
