Solaris 9 configure fails w 7.4.6

From: Eddie Ro- <eroz2(at)yahoo(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Solaris 9 configure fails w 7.4.6
Date: 2004-11-03 18:44:14
Message-ID: 20041103184414.55752.qmail@web53703.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Hello All-
I am a little new to Postgres. The archives didn't
give me enough info. Thanks in advance for helping.

"Could not execute a simple test program.....
Yes - I have LD_Library_Path in my environment
variable. I also added the library
locations(--with-libraries=/usr/lib:etc..)
I installed readline. Got Bison. It sees my Flex
2.5.4. It sees a working Ant.
./configure --prefix=/export/yadda/yadda --with-java
--with-libraries=/usr/lib:/usr/local/lib

I looked through the config.log and saw stuff like
this:
+++++++++++
ld: fatal: library -lbsd: not found
ld: fatal: File processing errors. No output written
to conftest
collect2: ld returned 1 exit status
configure:4493: $? = 1
configure: failed program was:
#line 4470 "configure"
#include "confdefs.h"
++++++++++++++++++++++++++
## ----------- ##
## Core tests. ##
## ----------- ##

configure:1296: checking build system type
configure:1314: result: sparc-sun-solaris2.9
configure:1322: checking host system type
configure:1336: result: sparc-sun-solaris2.9
configure:1346: checking which template to use
configure:1446: result: solaris
configure:1565: checking whether to build with 64-bit
integer date/time support
configure:1596: result: no
configure:1603: checking whether NLS is wanted
configure:1637: result: no
configure:1645: checking for default port number
configure:1674: result: 5432
configure:1899: checking for gcc
configure:1915: found /usr/local/bin/gcc
configure:1925: result: gcc
configure:1944: checking for C compiler version
configure:1947: gcc --version </dev/null >&5
gcc (GCC) 3.3
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.

configure:1950: $? = 0
configure:1952: gcc -v </dev/null >&5
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/specs
Configured with: ../configure --disable-nls
--with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.3
configure:1955: $? = 0
configure:1957: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1960: $? = 1
configure:1986: checking for C compiler default output
configure:1989: gcc conftest.c >&5
configure:1992: $? = 0
configure:2025: result: a.out
configure:2030: checking whether the C compiler works
configure:2036: ./a.out
configure:2039: $? = 0
configure:2054: result: yes
configure:2061: checking whether we are cross
compiling
configure:2063: result: no
configure:2066: checking for suffix of executables
configure:2068: gcc -o conftest conftest.c >&5
configure:2071: $? = 0
configure:2093: result:
configure:2099: checking for suffix of object files
configure:2123: gcc -c conftest.c >&5
configure:2126: $? = 0
configure:2145: result: o
configure:2149: checking whether we are using the GNU
C compiler
configure:2176: gcc -c conftest.c >&5
configure:2179: $? = 0
configure:2182: test -s conftest.o
configure:2185: $? = 0
configure:2197: result: yes
configure:2203: checking whether gcc accepts -g
configure:2227: gcc -c -g conftest.c >&5
configure:2230: $? = 0
configure:2233: test -s conftest.o
configure:2236: $? = 0
configure:2246: result: yes
configure:2273: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2276: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
ALSO
+++++++++++++++

Thanks-
Eddie

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Peter Eisentraut 2004-11-03 19:04:32 Re: Solaris 9 configure fails w 7.4.6
Previous Message Andrew Hammond 2004-11-02 18:56:12 Re: [SQL] Log