Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2001 12:03:18 -0700
From:      Trevin Chow <trevin@mail.com>
To:        ports@freebsd.org
Subject:   PHP Port
Message-ID:  <5.0.2.1.2.20010421120021.02e04d10@mail.geektank.org>

next in thread | raw e-mail | index | archive | help
Hi there,

I'm not sure who to contact about the PHP4 port 
(/usr/ports/lang/php4).  The new version of Postgresql 7.1 uses a new 
directory layout and moves a bunch of files around that are needed when you 
compile Postgresql support into the PHP4 port.  Here's the message from the 
Postgresql port about the changes to their directory structure:

-----------------
       * IMPORTANT UPGRADE NOTICE * IMPORTANT UPGRADE NOTICE *

The PostgreSQL port now obeys hier(7) by default, which means that it
installs into:

/usr/local/bin
/usr/local/lib
/usr/local/include/pgsql

You *must* move away your old installation from users' and
ldconfig(8)'s PATHs. If you rather install using the old-fashion
layout, cancel now and build the port with "make -DWITH_OLD_LAYOUT".

The pgsql user's home dir is /usr/local/pgsql by default, but can be
changed with for example chpass(1). Datadir defaults to ~pgsql/data,
but can be changed by modifying the ~pgsql/.profile script.

As always, you *must* dump existing databases before stopping and
removing your old postgresql, as part of the update.  This is *NOT*
done by this port!
-----------------

One of the consequences of this are the during the compile of the PHP4, it 
looks for the postgres.h file (for example) in 
"/usr/local/include/pgsql".  Obviously the compile will fail because 
Postgresql 7.1 uses "/usr/local/pgsql/include/".  Who do I contact to 
rectify this? Is this port dependant or due to PHP itself?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.2.1.2.20010421120021.02e04d10>