Opened 19 years ago

Closed 19 years ago

Last modified 16 years ago

#4069 closed defect (fixed)

php4 +postgresql8 won't compile

Reported by: mail@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

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.

Change History (3)

comment:1 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

thanks, commited!

comment:2 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Component: wwwports
Description: modified (diff)
Milestone: Port Bugs

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.