dbTalk Databases Forums  

[PORTS] Solaris 9 configure fails w 7.4.6

mailing.database.pgsql-ports mailing.database.pgsql-ports


Discuss [PORTS] Solaris 9 configure fails w 7.4.6 in the mailing.database.pgsql-ports forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Eddie Ro-
 
Posts: n/a

Default [PORTS] Solaris 9 configure fails w 7.4.6 - 11-03-2004 , 01:02 PM






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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote
  #2  
Old   
Peter Eisentraut
 
Posts: n/a

Default Re: [PORTS] Solaris 9 configure fails w 7.4.6 - 11-03-2004 , 01:05 PM






Eddie Ro- wrote:
Quote:
"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:
Show us the part that relates to the failure you are seeing. Search for
"Could not execute a simple test program" or whatever it says.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


Reply With Quote
  #3  
Old   
Eddie Ro-
 
Posts: n/a

Default Re: [PORTS] Solaris 9 configure fails w 7.4.6 - 11-03-2004 , 01:48 PM



Thanks for helping---
++++++++++
#line 13558 "configure"
#include "confdefs.h"
int main() { return 0; }
configure:13581: result: failed
configure:13586: 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.

## ---------------- ##
## Cache variables. ##
## ---------------- ##
+++++++++++++++++++++

Eddie
--- Peter Eisentraut <peter_e (AT) gmx (DOT) net> wrote:

Quote:
Eddie Ro- wrote:
"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:

Show us the part that relates to the failure you are
seeing. Search for
"Could not execute a simple test program" or
whatever it says.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


---------------------------(end of
broadcast)---------------------------
TIP 2: you can get off all lists at once with the
unregister command
(send "unregister YourEmailAddressHere" to
majordomo (AT) postgresql (DOT) org)




__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com



---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
  #4  
Old   
Eddie Ro-
 
Posts: n/a

Default Re: [PORTS] Solaris 9 configure fails w 7.4.6 - 11-04-2004 , 02:50 PM



Hello All-
I culled this from the configure.log- it is all of the
ld failures- Any hints or suggestions - where to get
these libraries?
++++++++++++++++++++++++
ld: fatal: library -lbsd: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: library -lutil: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: library -lipc: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: library -lIPC: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: library -llc: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: library -ldld: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: library -lld: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: library -lcompat: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: library -lBSD: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: library -lPW: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: Symbol referencing errors. No output
written to conftest
ld: fatal: library -lgetopt: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: library -lgnugetopt: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: library -lunix: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: Symbol referencing errors. No output
written to conftest
ld: fatal: library -lcygipc: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: Symbol referencing errors. No output
written to conftest
ld: fatal: library -ledit: not found
ld: fatal: File processing errors. No output written
to conftest
ld: fatal: Symbol referencing errors. No output
written to conftest
ld: fatal: Symbol referencing errors. No output
written to conftest
ld: fatal: Symbol referencing errors. No output
written to conftest
ld: fatal: Symbol referencing errors. No output
written to conftest
ld: fatal: Symbol referencing errors. No output
written to conftest
+++++++++++++++++++++++
Eddie

--- Peter Eisentraut <peter_e (AT) gmx (DOT) net> wrote:

Quote:
Eddie Ro- wrote:
"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:

Show us the part that relates to the failure you are
seeing. Search for
"Could not execute a simple test program" or
whatever it says.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


---------------------------(end of
broadcast)---------------------------
TIP 2: you can get off all lists at once with the
unregister command
(send "unregister YourEmailAddressHere" to
majordomo (AT) postgresql (DOT) org)




__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com



---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


Reply With Quote
  #5  
Old   
Peter Eisentraut
 
Posts: n/a

Default Re: [PORTS] Solaris 9 configure fails w 7.4.6 - 11-04-2004 , 04:16 PM



Eddie Ro- wrote:
Quote:
I culled this from the configure.log- it is all of the
ld failures- Any hints or suggestions - where to get
these libraries?
No one said that you need these libraries.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.