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

Search Discussions

  • Peter Eisentraut at Nov 3, 2004 at 7:04 pm

    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.
  • Eddie Ro- at Nov 3, 2004 at 7:42 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 wrote:
    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
    [email protected])



    __________________________________
    Do you Yahoo!?
    Check out the new Yahoo! Front Page.
    www.yahoo.com
  • Eddie Ro- at Nov 4, 2004 at 8:32 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 wrote:
    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
    [email protected])



    __________________________________
    Do you Yahoo!?
    Check out the new Yahoo! Front Page.
    www.yahoo.com
  • Peter Eisentraut at Nov 4, 2004 at 10:08 pm

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedNov 3, '04 at 6:44p
activeNov 4, '04 at 10:08p
posts5
users2
websitepostgresql.org
irc#postgresql

2 users in discussion

Eddie Ro-: 3 posts Peter Eisentraut: 2 posts

People

Translate

site design / logo © 2023 Grokbase