Jenny_Hopkins@toby-churchill.com writes:
..................default dir is /usr/local/pgsql but on debian it is -
Hang on, hang on, hang on... this is Debian? They do the hard part of figuring out these options for you. Isn't the version got by "apt-get install php4 php4-pgsql" good enough for you?
Oh well. If you want the absolute latest versions, make sure you have something like
deb-src ftp://ftp.uk.debian.org/debian/ unstable main contrib deb-src http://non-us.debian.org/debian-non-US unstable/non-US main
in your /etc/apt/sources.list and then make sure you have all the debian build tools around by doing
apt-get install task-debian-devel task-devel-common task-c-dev
Now, if you're using unstable as your base system, I believe apt-get build-dep php4-pgsql should work. Otherwise, you can try:
apt-get source php4 cd <directory it unpacked to> grep Depend debian/control apt-get install <any bits it needs that you haven't got> debuild binary dpkg -i <package it just made that you want>
or some slight variation on the above.