Hi Rasmus, I checked and that header file was there..
I then checked /usr/local/lib and noticed that libpq.so now is libpg.so.2.2 and one of the sites i checked had a libpq.so.2.1 so I made a symbolic link to libpq.so.2.1 and it al worked !! I also did a make-install-all-headers as well Thanks for your help Regards Steve At 6:49 AM -0800 5/3/02, Rasmus Lerdorf wrote: >Have a look at ext/pgsql/config.m4. It tells you that when you use >--with-pgsql PHP will look in these top-level dirs: > >/usr, /usr/local and /usr/local/pgsql > >And under these top-level dirs it checks for include files in: > >include >include/pgsql >include/postgres >include/postgresql > >and library files in > >lib >lib/pgsql >lib/postgres >lib/postgresql > >If you really do have the ehader files in /usr/local/pgsql/include and the >library files in /usr/local/pgsql/lib and you do a rm config.cache; >./configure --with-pgsql it really should work. > >Hrm.. Actually, those dirs were for 4.2. Just checked 4.1.2. We only do >the include checks in 4.1.2 from the same dirs and assume the library is >in the corresponding dir. The effect should be the same. Make sure that >you have the libpq-fe.h in one of these dirs. > >-Rasmus > >On Tue, 5 Mar 2002, Steve Farmer wrote: > >> Hi all, >> >> Going quietly insane here... >> >> Trying to install with postgres >> >> 1) Downloaded and compiled postgres-7.2, all went smoothly, db is running >> >> 2) Compiled php 4.12, "Checking for Postgres support = NO" !!! >> >> 3) added /usr/local/pgsql/lib into ld.so.conf and ran ldconfig. >> >> 4) Tried "with-pgsql=/usr/local/pgsql" - no joy >> >> 5) Tried "with=pgsql=/usr/local/src/postgresql-7.2" - no joy >> >> 6) added symbolic links from /usr/local/pgsql/lib/libpq.so.2.2 to >> /usr/local/lib/libpg.so.2.2 (2.1 & 2) as suggested on php site >> >> Still no go !!! >> >> Any help greatly appreciated >> >> Regards >> Steve >> >> >> >> >> -- >> ------------------------------------------------- >> "Minds are like parachutes, they work best when open" >> Support free speech; visit http://www.efa.org.au/ >> >> Heads Together Systems Pty Ltd http://www.hts.com.au >> Email: [EMAIL PROTECTED] Tel: 612 9982 6767 Fax: 612 9981 3081 >> >> -- >> PHP Install Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > >-- >PHP Install Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- ------------------------------------------------- "Minds are like parachutes, they work best when open" Support free speech; visit http://www.efa.org.au/ Heads Together Systems Pty Ltd http://www.hts.com.au Email: [EMAIL PROTECTED] Tel: 612 9982 6767 Fax: 612 9981 3081 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php