Re: configure error... please help 9.0.4 - Mailing list pgsql-general
From | Scott Marlowe |
---|---|
Subject | Re: configure error... please help 9.0.4 |
Date | |
Msg-id | BANLkTimUk_nYfj-xtT3wYM7OY=bFyKy+0g@mail.gmail.com Whole thread Raw |
In response to | configure error... please help 9.0.4 (akp geek <akpgeek@gmail.com>) |
Responses |
Re: configure error... please help 9.0.4
|
List | pgsql-general |
On Mon, Jun 13, 2011 at 3:15 PM, akp geek <akpgeek@gmail.com> 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 --prefix=/opt/postgres/9.0.4 --with-readline --with-perl > --with-libxml --with-openssl --with-ossp-uuid > -with-includes=/opt/postgres/software/include/readline/ > LDFLAGS=-L/opt/postgres/software/lib:/opt/postgres/gis/lib > ./configure --prefix=/opt/postgres/9.0.4 --with-readline --with-perl > --with-libxml --with-openssl --with-ossp-uuid > -with-includes=/opt/postgres/software/include/readline/ > LDFLAGS=-L/opt/postgres/software/lib:/opt/postgres/gis/lib > checking build system type... sparc-sun-solaris2.10 > checking host system type... sparc-sun-solaris2.10 > checking which template to use... solaris > checking whether to build with 64-bit integer date/time support... yes > checking whether NLS is wanted... no > checking for default port number... 5432 > checking for block size... 8kB > checking for segment size... 1GB > checking for WAL block size... 8kB > checking for WAL segment size... 16MB > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking if gcc supports -Wdeclaration-after-statement... yes > checking if gcc supports -Wendif-labels... yes > checking if gcc supports -fno-strict-aliasing... yes > checking if gcc supports -fwrapv... yes > checking whether the C compiler still works... yes > checking how to run the C preprocessor... gcc -E > checking allow thread-safe client libraries... yes > checking whether to build with Tcl... no > checking whether to build Perl modules... yes > checking whether to build Python modules... no > checking whether to build with GSSAPI support... no > checking whether to build with Kerberos 5 support... no > checking whether to build with PAM support... no > checking whether to build with LDAP support... no > checking whether to build with Bonjour support... no > checking whether to build with OpenSSL support... yes > checking for xml2-config... xml2-config > checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep > checking for egrep... /usr/sfw/bin/ggrep -E > checking for ld used by GCC... /usr/ccs/bin/ld > checking if the linker (/usr/ccs/bin/ld) is GNU ld... no > checking for ranlib... ranlib > checking for strip... strip > checking whether it is possible to strip libraries... no > checking for ar... ar > checking for tar... /bin/tar > checking whether ln -s works... yes > checking for gawk... no > checking for mawk... no > checking for nawk... nawk > checking for a thread-safe mkdir -p... config/install-sh -c -d > checking for bison... /usr/sfw/bin/bison > configure: using bison (GNU Bison) 1.875 > checking for flex... /opt/postgres/software/flex/bin/flex > configure: using flex 2.5.35 > checking for perl... /opt/postgres/perl/bin/perl > configure: using perl 5.12.3 > checking for Perl archlibexp... > /opt/postgres/perl/lib/perl5/5.12.3/sun4-solaris > checking for Perl privlibexp... /opt/postgres/perl/lib/perl5/5.12.3 > checking for Perl useshrplib... true > checking for flags to link embedded Perl... -L/usr/local/lib > -L/opt/postgres/perl/lib/perl5/5.12.3/sun4-solaris/CORE -lperl -lsocket > -lnsl -ldl -lm -lc > checking for main in -lm... yes > checking for library containing setproctitle... no > checking for library containing dlopen... none required > checking for library containing socket... -lsocket > checking for library containing shl_load... no > checking for library containing getopt_long... none required > checking for library containing crypt... none required > checking for library containing fdatasync... -lrt > checking for library containing gethostbyname_r... -lnsl > checking for library containing shmget... none required > checking for -lreadline... yes (-lreadline -ltermcap) > checking for inflate in -lz... yes > checking for CRYPTO_new_ex_data in -lcrypto... yes > checking for SSL_library_init in -lssl... yes > checking for xmlSaveToBuffer in -lxml2... yes > checking for uuid_export in -lossp-uuid... no > checking for uuid_export in -luuid... no > configure: error: library 'ossp-uuid' or 'uuid' is required for OSSP-UUID You likely need some -dev packages. Since you failed to mention what OS you're running I'll assume it's ubuntu because that's what I'm running. Here's my apt-get install entries I use on my machines: sudo apt-get install libreadline-dev zlib1g-dev libxml2-dev libxslt-dev libossp-uuid-dev bison flex python2.6-dev libgss-dev libssl-dev libkrb5-dev All of those might or might not be necessary for you.
pgsql-general by date: