Re: [MacPorts] #4069: php4 +postgresql8 won't compile
#4069: php4 +postgresql8 won't compile -------------------------------------+-------------------------------------- Reporter: mail@richardstevens.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.0 Resolution: fixed | Keywords: -------------------------------------+-------------------------------------- Changes (by jmpp@macports.org): * component: www => ports * milestone: => Port Bugs Old description:
After syncing and trying to upgrade all, php4 wasn't rebuilt since the postgresql8 layout seemed to have changed. After reinstalling postgresql8 +server, php4's configure didn't complete. pg_config wasn't found.
I modified the postgres variant like this:
variant postgresql { pre-configure { file mkdir ${workpath}/pgsql8 system "cd ${workpath}/pgsql8 && \ ln -sf ${prefix}/include/pgsql8 include && \ ln -sf ${prefix}/lib/pgsql8 lib && \ ln -sf ${prefix}/lib/pgsql8/bin bin" } depends_lib-append port:postgresql8 configure.args-append --with-pgsql=${workpath}/pgsql8/ }
Basically I added the link to bin, third ln -sf line. After this modification it works.
New description: After syncing and trying to upgrade all, php4 wasn't rebuilt since the postgresql8 layout seemed to have changed. After reinstalling postgresql8 +server, php4's configure didn't complete. pg_config wasn't found. I modified the postgres variant like this: {{{ variant postgresql { pre-configure { file mkdir ${workpath}/pgsql8 system "cd ${workpath}/pgsql8 && \ ln -sf ${prefix}/include/pgsql8 include && \ ln -sf ${prefix}/lib/pgsql8 lib && \ ln -sf ${prefix}/lib/pgsql8/bin bin" } depends_lib-append port:postgresql8 configure.args-append --with-pgsql=${workpath}/pgsql8/ } }}} Basically I added the link to bin, third ln -sf line. After this modification it works. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/4069#comment:2> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts