Thanks all for the responses.
$./configure --prefix=/opt/postgres/9.0.4 --with-readline --with-perl --with-libxml --with-openssl --with-ossp-uuid LDFLAGS=-L/opt/postgres/gis/lib --with-includes=/opt/postgres/software/include/readline/ *I bypassed the uuid error. Now getting this .. I have installed readline. I have this under /opt/postgres/software/lib, include ,share * *checking readline/readline.h usability... no* *checking readline/readline.h presence... no* *checking for readline/readline.h... no* *checking readline.h usability... no* *checking readline.h presence... no* *checking for readline.h... no* *configure: error: readline header not found* *If you have readline already installed, see config.log for details on the* *failure. It is possible the compiler isn't looking in the proper directory.* *Use --without-readline to disable readline support.* Following is my .profile on solaris I have 1. uuid , uuid-config in the /opt/postgres/gis/bin 2. /opt/postgres/gis/lib -rw-r--r-- 1 postgres dba 50276 Jun 14 12:01 libuuid.a -rw-r--r-- 1 postgres dba 932 Jun 14 12:01 libuuid.la lrwxrwxrwx 1 postgres dba 18 Jun 14 12:01 libuuid.so -> libuuid.so.16.0.22 lrwxrwxrwx 1 postgres dba 18 Jun 14 12:01 libuuid.so.16 -> libuuid.so.16.0.22 -rwxr-xr-x 1 postgres dba 49376 Jun 14 12:01 libuuid.so.16.0.22 LD_LIBRARY_PATH=/opt/postgres/9.0.4/lib:/opt/postgres/gis/lib:/opt/postgres/perl/lib:/opt/postgres/perl/lib/perl5/5.12.3/sun4-solaris/CORE:/opt/postgres/software/lib:/opt/postgres/software/libxml2/lib:/opt/postgres/software/flex/lib:/usr/local/lib:/lib:/platform/SUNW,Sun-Fire-V210/lib:/usr/ucblib:/opt/SUNWspro/SC4.0/lib:/lib:/usr/sfw/lib:/usr/lib:/opt/ postgres/libiconv-1.13.1/lib/.libs export LD_LIBRARY_PATH PATH=/opt/postgres/9.0.4/bin:/opt/postgres/perl/bin:/opt/postgres/gis/bin:/bin:/sbin:/usr/5bin:/usr/sbin:/usr/ucb:/lib:/usr/ccs/bin:/opt/SUNWspro/SC4.0/bin:/usr/4lib:/usr/ucblib:/usr/ccs/lib:/usr/etc:/opt/postgres/software/libxml2/bin:/opt/postgres/gis/include:/opt/postgres/gis/share:/opt/postgres/software/include/readline:/opt/postgres/software/flex/bin:/opt/postgres/libxml2/include/libxml2/libxml:/usr/sfw/bin:/usr/local/bin On Mon, Jun 13, 2011 at 7:32 PM, Craig Ringer <cr...@postnewspapers.com.au>wrote: > On 06/14/2011 05:15 AM, akp geek wrote: > >> Dear all - >> >> While setting up streaming I ran into issue with libpq. >> To resolve it I need to recompile the source. I am issuing the following >> command . I tried this before with 9.0.2 it worked. Now when issued the >> same command I was getting the errors. >> > > configure: error: library 'ossp-uuid' or 'uuid' is required for OSSP-UUID >> > > Examine config.log and see why the ossp-uuid testcase failed. > > Do you have ossp-uuid installed? Is it on your LIBRARY_PATH and > INCLUDE_PATH ? > > -- > Craig Ringer >