Skip site navigation (1) Skip section navigation (2)

Re: cannt configure postgresql-7.4.1 on Solaris9

From: tetsu_nagayama(at)nissay-it(dot)co(dot)jp
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: cannt configure postgresql-7.4.1 on Solaris9
Date: 2004-01-16 01:41:40
Message-ID: OFD4B9A50A.EBFDD5DC-ON49256E1D.00094045@LocalDomain (view raw or flat)
Thread:
Lists: pgsql-admin
Hello all
I have a problem trying to config a postgresql-7.4.1 on Solaris9
when I  do this ./configure, it gave me a error, saying

     "could not execute a simple test program"
       this may be a problem related to locating
       shared libraries."

I've been looking for the answer on the web, but still I cannnt config.....
I set a right path and LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib
still gives me a error(same error...)

BTW, I was able to install a Apache and openssl



Thank you for advance   :-)

cheers,


-Ted


# PATH=$PATH:/opt/sfw/bin
# export PATH
# LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib
# export LD_LIBRARY_PATH
# env
AB_CARDCATALOG=/usr/dt/share/answerbooks/ja/ab_cardcatalog
DISPLAY=:0.0
DTAPPSEARCHPATH=//.dt/appmanager:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C
DTDATABASESEARCHPATH=//.dt/types,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C
DTDEVROOT=
DTHELPSEARCHPATH=//.dt/help/root-chianti2-0/%H://.dt/help/root-chianti2-0/%H.sdl://.dt/help/root-chianti2-0/%H.hv://.dt/help/%H://.dt/help/%H.sdl://.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv

DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix     StartDtscreenFlame StartDtscreenHop StartDtscreenImage StartDtscreenLife
StartDtscreenRotor StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank
DTSOURCEPROFILE=true
DTUSERSESSION=root-chianti2-0
DTXSERVERLOCATION=local
EDITOR=/usr/dt/bin/dtpad
HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help
HOME=/
LANG=ja
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib
LOGNAME=root
MAIL=/var/mail/root
MANPATH=/usr/dt/man:/usr/man:/usr/openwin/share/man
OPENWINHOME=/usr/openwin
PATH=/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb:/opt/sfw/bin
PWD=/
SESSION_SVR=chianti2
SHELL=/sbin/sh
TERM=dtterm
TERMINAL_EMULATOR=dtterm
TZ=Japan
USER=root
WINDOWID=23068685
XFILESEARCHPATH=/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S
XMBINDDIR=/usr/dt/lib/bindings
XMICONBMSEARCHPATH=//.dt/icons/%B%M.bm://.dt/icons/%B%M.pm://.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B

XMICONSEARCHPATH=//.dt/icons/%B%M.pm://.dt/icons/%B%M.bm://.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B
_=/usr/dt/bin/sdt_shell
dtstart_sessionlogfile=/dev/null
# date
2004年01月14日 (水) 09時55分33秒 JST
# cd /export/home/hayashi/shoki_settei
# ls -l
合計 412306
-rw-r--r--   1 hayashi  namco        225 12月 22日  19:00 Dev_CC_sparc-studiocc_8-JAFCS-solsparc.tar
drwxr-xr-x   8 hayashi  namco       1024  1月  7日  16:42 apache_1.3.29
-rw-r--r--   1 hayashi  namco    10455040 12月 18日  18:01 apache_1.3.29.tar
-rw-r--r--   1 hayashi  namco    12911721 12月 24日  16:24 gcc-2.95.3.tar.gz
drwxr-xr-x   9 hayashi  namco       1024 12月 24日  15:09 gcc-3.3.2
-rw-r--r--   1 hayashi  namco    19934840 12月 22日  17:18 gcc-3.3.2.tar.gz
drwxr-xr-x  10 hayashi  namco        512  1月  7日  16:38 mod_ssl-2.8.16-1.3.29
-rw-r--r--   1 hayashi  namco    2840064 12月 18日  18:02 mod_ssl-2.8.16-1.3.29.tar
-rw-r--r--   1 hayashi  namco    2170570 12月 24日  17:33 openssl-0.9.6g.tar.gz
drwxr-xr-x  20 hayashi  namco       1024 12月 24日  17:12 openssl-0.9.6l
-rw-r--r--   1 hayashi  namco    11412992 12月 18日  18:02 openssl-0.9.6l.tar
drwxr-xr-x  20 hayashi  namco       1024  1月  7日  11:22 openssl-0.9.7c
-rw-r--r--   1 hayashi  namco    14321664 12月 19日  18:52 openssl-0.9.7c.tar
-rw-r--r--   1 hayashi  namco    31581184  1月  9日  16:51 postgresq-7.1.2.pkg
drwxrwxrwx   6 70       70           512 11月 17日  06:56 postgresql-7.4
drwxrwxrwx   6 70       70           512  1月 13日  19:55 postgresql-7.4.1
-rw-r--r--   1 hayashi  namco    52684800  1月  9日  14:38 postgresql-7.4.1.tar
-rw-r--r--   1 hayashi  namco    52551680  1月  9日  14:24 postgresql-7.4.tar
-rw-r--r--   1 hayashi  namco        943  1月  9日  15:24 ri_triggers.c.diff.gz
# cd postgresql-7.4.1
# ./configure
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking which template to use... solaris
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gcc
checking for C compiler default output... 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 how to turn off strict aliasing in gcc... -fno-strict-aliasing
configure: using CFLAGS=-O2 -fno-strict-aliasing
checking whether the C compiler still works... yes
checking how to run the C preprocessor... gcc -E
checking allow thread-safe client libraries... 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 Kerberos 4 support... no
checking whether to build with Kerberos 5 support... no
checking whether to build with PAM support... no
checking whether to build with Rendezvous support... no
configure: using CPPFLAGS=
configure: using LDFLAGS=
checking for gawk... gawk
checking for flex... /opt/sfw/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... :
checking for lorder... no
checking for tar... /usr/sbin/tar
checking for strip... :
checking whether it is possible to strip libraries... no
checking for bison... bison -y
configure: WARNING:
*** The installed version of Bison is too old.  PostgreSQL needs
*** Bison version 1.875 or later.
checking for perl... /usr/bin/perl
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 -lnsl... yes
checking for main in -lsocket... 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 library containing getopt_long... no
checking for main in -lunix... no
checking for library containing crypt... none required
checking for library containing fdatasync... -lrt
checking for shmget in -lcygipc... no
checking for readline... yes (-lreadline -ltermcap)
checking for inflate in -lz... yes
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking fp_class.h usability... no
checking fp_class.h presence... no
checking for fp_class.h... no
checking getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking kernel/image.h usability... no
checking kernel/image.h presence... no
checking for kernel/image.h... no
checking SupportDefs.h usability... no
checking SupportDefs.h presence... no
checking for SupportDefs.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking for signed types... yes
checking for working volatile... yes
checking for __func__... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... no
checking for tzname... yes
checking for union semun... no
checking for struct sockaddr_un... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for struct sockaddr_storage.ss_len... no
checking for struct sockaddr_storage.__ss_len... no
checking for struct sockaddr.sa_len... no
checking for struct addrinfo... yes
checking for struct cmsgcred... no
checking for struct fcred... no
checking for struct sockcred... no
checking for struct option... no
checking for z_streamp... yes
checking for int timezone... yes
checking types of arguments for accept()... int, int, struct sockaddr *, int *
checking whether gettimeofday takes only one argument... no
checking for working memcmp... no
checking for cbrt... yes
checking for dlopen... yes
checking for fcvt... yes
checking for fdatasync... yes
checking for getpeereid... no
checking for memmove... yes
checking for poll... yes
checking for pstat... no
checking for setproctitle... no
checking for setsid... yes
checking for sigprocmask... yes
checking for symlink... yes
checking for sysconf... yes
checking for utime... yes
checking for utimes... yes
checking for waitpid... yes
checking whether fdatasync is declared... yes
checking for struct sockaddr_in6... yes
checking for inet_ntop... yes
checking for PS_STRINGS... no
checking for snprintf... yes
checking for vsnprintf... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking for isinf... no
checking for fpclass... yes
checking for crypt... yes
checking for fseeko... yes
checking for getopt... yes
checking for getrusage... yes
checking for inet_aton... yes
checking for random... yes
checking for rint... yes
checking for srandom... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for strtoul... yes
checking for getaddrinfo... yes
checking for rl_completion_append_character... yes
checking for rl_completion_matches... yes
checking for rl_filename_completion_function... yes
checking for replace_history_entry... yes
checking for finite... yes
checking for sigsetjmp... yes
checking for syslog... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for optreset... no
checking for strtoll... yes
checking for strtoull... yes
checking for atexit... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... (cached) yes
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.
#



pgsql-admin by date

Next:From: Enrico OrtmannDate: 2004-01-16 10:29:51
Subject: can't create db from PHP
Previous:From: Matthew M.BurkeDate: 2004-01-16 00:44:58
Subject: Re: Error on system startup

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group