Solaris 8 install of postgres 7.2

From: Joe Piscitella <Joe(dot)Piscitella(at)knowledgenet(dot)com>
To: "'pgsql-bugs(at)postgresql(dot)org'" <pgsql-bugs(at)postgresql(dot)org>
Subject: Solaris 8 install of postgres 7.2
Date: 2002-04-01 21:42:08
Message-ID: 5158D0536A2AD4119F3B00D0B7600A3202ED2606@knemail2.knowledgenet.corp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I have added the following packages:

drwxr-xr-x 4 root other 512 Apr 1 14:29 SMCflex
drwxr-xr-x 4 root other 512 Apr 1 14:29 SMCgtext
drwxr-xr-x 4 root other 512 Apr 1 14:28 SMCmake
drwxr-xr-x 4 root other 512 Apr 1 14:28 SMCbison
drwxr-xr-x 4 root other 512 Apr 1 14:28 SMCgcc
drwxr-xr-x 4 root other 512 Apr 1 14:28 SMCreadl

made a link to the /usr/local/bin/make that I installed to point to gmake
lrwxrwxrwx 1 root other 4 Apr 1 11:29 /usr/local/bin/gmake
-> make

trying to run ./configure with no additional options

joep(at)kndb1:/usr/home/postgres/postgresql-7.2.1$ sudo ./configure
Password:
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.8
checking which template to use... solaris
checking whether to build with locale support... no
checking whether to build with recode support... no
checking whether to build with multibyte character support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
using CFLAGS=
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking whether to build with Tcl... no
checking whether to build with Tk... no
checking whether to build Perl modules... no
checking whether to build Python modules... no
checking whether to build Java/JDBC tools... no
checking whether to build with PAM support... no
checking whether to build the ODBC driver... no
checking whether to build C++ modules... no
using CPPFLAGS=
using LDFLAGS=
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking for flex... /usr/local/bin/flex
checking whether ln -s works... yes
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 lorder... lorder
checking for tar... /usr/local/bin/tar
checking for bison... bison -y
checking for perl... /usr/local/bin/perl
checking for readline... no
checking for library containing using_history... no
checking for main in -lbsd... no
checking for setproctitle in -lutil... no
checking for main in -lm... yes
checking for main in -ldl... yes
checking for main in -lsocket... yes
checking for main in -lnsl... yes
checking for main in -lipc... no
checking for main in -lIPC... no
checking for main in -llc... no
checking for main in -ldld... no
checking for main in -lld... no
checking for main in -lcompat... no
checking for main in -lBSD... no
checking for main in -lgen... yes
checking for main in -lPW... no
checking for main in -lresolv... yes
checking for main in -lunix... no
checking for library containing crypt... none required
checking for __inet_ntoa in -lbind... no
checking for inflate in -lz... yes
checking for library containing fdatasync... -lrt
checking for crypt.h... yes
checking for dld.h... no
checking for endian.h... no
checking for fp_class.h... no
checking for getopt.h... no
checking for ieeefp.h... yes
checking for pwd.h... yes
checking for sys/ipc.h... yes
checking for sys/pstat.h... no
checking for sys/select.h... yes
checking for sys/sem.h... yes
checking for sys/socket.h... yes
checking for sys/shm.h... yes
checking for sys/types.h... yes
checking for sys/un.h... yes
checking for termios.h... yes
checking for kernel/OS.h... no
checking for kernel/image.h... no
checking for SupportDefs.h... no
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking whether string.h and strings.h may both be included... yes
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for working const... yes
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking for signed types... yes
checking for volatile... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... no
checking for tzname... yes
checking for union semun... no
checking for struct cmsgcred... no
checking for struct fcred... no
checking for struct sockcred... no
checking for struct sockaddr_un... yes
checking for int timezone... yes
checking types of arguments for accept()... int, struct sockaddr *, int *
checking whether gettimeofday takes only one argument... no
checking for 8-bit clean memcmp... no
checking for fcvt... yes
checking for getopt_long... no
checking for memmove... yes
checking for pstat... no
checking for setproctitle... no
checking for setsid... yes
checking for sigprocmask... yes
checking for sysconf... yes
checking for waitpid... yes
checking for dlopen... yes
checking for fdatasync... yes
checking for PS_STRINGS... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for isinf... no
checking for fpclass... yes
checking for getrusage... yes
checking for srandom... yes
checking for gethostname... yes
checking for random... yes
checking for inet_aton... yes
checking for strerror... yes
checking for strdup... yes
checking for strtol... yes
checking for strtoul... yes
checking for strcasecmp... yes
checking for cbrt... yes
checking for rint... yes
checking for rl_completion_append_character... no
checking for rl_completion_matches... no
checking for rl_filename_completion_function... no
checking for finite... yes
checking for sigsetjmp... yes
checking for optreset... no
checking test program... failed
configure: error:
*** Could not execute a simple test program. This may be a problem
*** related to locating shared libraries. Check the file 'config.log'
*** for the exact reason.

configure:7173: checking for rint
configure:7201: gcc -o conftest conftest.c -lrt -lz -lresolv -lgen
-lnsl -lsocket -ldl -lm 1>&5
configure:7270: checking for rl_completion_append_character
configure:7285: gcc -o conftest conftest.c -lrt -lz -lresolv -lgen
-lnsl -lsocket -ldl -lm 1>&5
Undefined first referenced
symbol in file
rl_completion_append_character /var/tmp/cc8dj7a8.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 7272 "configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef HAVE_READLINE_READLINE_H
# include <readline/readline.h>
#elif defined(HAVE_READLINE_H)
# include <readline.h>
#endif

int main() {
rl_completion_append_character = 'x';
; return 0; }
configure:7303: checking for rl_completion_matches
configure:7331: gcc -o conftest conftest.c -lrt -lz -lresolv -lgen
-lnsl -lsocket -ldl -lm 1>&5
Undefined first referenced
symbol in file
rl_completion_matches /var/tmp/ccn6SUDS.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 7308 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rl_completion_matches(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char rl_completion_matches();

int main() {

/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_rl_completion_matches) || defined
(__stub___rl_completion_matches)
choke me
#else
rl_completion_matches();
#endif

; return 0; }
configure:7303: checking for rl_filename_completion_function
configure:7331: gcc -o conftest conftest.c -lrt -lz -lresolv -lgen
-lnsl -lsocket -ldl -lm 1>&5
Undefined first referenced
symbol in file
rl_filename_completion_function /var/tmp/cczvyh9v.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 7308 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rl_filename_completion_function(); below.
*/
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char rl_filename_completion_function();

int main() {

/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_rl_filename_completion_function) || defined
(__stub___rl_filename_completion_function)
choke me
#else
rl_filename_completion_function();
#endif

; return 0; }
configure:7358: checking for finite
configure:7367: gcc -o conftest conftest.c -lrt -lz -lresolv -lgen
-lnsl -lsocket -ldl -lm 1>&5
configure:7382: checking for sigsetjmp
configure:7391: gcc -o conftest conftest.c -lrt -lz -lresolv -lgen
-lnsl -lsocket -ldl -lm 1>&5
configure:7478: checking for optreset
configure:7490: gcc -o conftest conftest.c -lrt -lz -lresolv -lgen
-lnsl -lsocket -ldl -lm 1>&5
Undefined first referenced
symbol in file
optreset /var/tmp/ccu5u0Z6.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 7483 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
extern int optreset; optreset = 1;
; return 0; }
configure:7516: checking test program
configure:7525: gcc -o conftest conftest.c -lrt -lz -lresolv -lgen
-lnsl -lsocket -ldl -lm 1>&5
configure: failed program was:
#line 7521 "configure"
#include "confdefs.h"
int main() { return 0; }

Joe Piscitella
Database Administrator

KnowledgeNet
14624 N. Scottsdale Road, #300
Scottsdale, AZ 85254
Phone: (480) 315-4641
Web: <http://www.knowledgenet.com/>

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-04-02 18:29:27 Re: SEGV in contrib/array/array_iterator.c
Previous Message Jie Liang 2002-04-01 20:11:12 pg_dump bug