problem with 7.4.2 for RH-9

Поиск
Список
Период
Сортировка
От frank
Тема problem with 7.4.2 for RH-9
Дата
Msg-id 000d01c452ee$f8f11620$1401a8c0@frank
обсуждение исходный текст
Ответы Re: problem with 7.4.2 for RH-9  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-admin
Dear Sir:
 
After complied my postgresql-7.4.2 with the RH-linux9 operation system,
 
there showed a problem on my configure.log as the file below with bold type word,
.
.
.
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
.
.
.
configure: failed program was:
#line 2642 "configure"
#include "confdefs.h"
.
.
.
 
 
Would u please tell me what kind of the problem with the first one?
 
And

As checked the mail-list at this web-site, I supposed the second problem is that the path link problme.
 
Seems the way to solve it is link the path of LD_LIBRARY_PATH , but HOW TO DO IT??
 
Also checking my /usr/local/pgsql/src/include there are no any file named confdefs.h, how could it work after I set the path??
 
Thanks for ur kindly help in advance.....
 
Frank Chiu
 
frank (at) whtiecrane (dot) homeip (dot) net
 
Note: Before my installation there was postgresql-7.3.2 existed, but the file was directly reased directly by manuel (:(````) , all of the file related was be erased but seems the man linking was still exist since I have try to install 7.4.2 by postgresql-7.4.2*.rpm with failure.
 
 
 
 
 
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by PostgreSQL configure 7.4.2, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = whitecrane
uname -m = i586
uname -r = 2.4.20-8
uname -s = Linux
uname -v = #1 Thu Mar 13 16:42:56 EST 2003

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i586
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1296: checking build system type
configure:1314: result: i586-pc-linux-gnu
configure:1322: checking host system type
configure:1336: result: i586-pc-linux-gnu
configure:1346: checking which template to use
configure:1446: result: linux
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/bin/gcc
configure:1925: result: gcc
configure:1944: checking for C compiler version
configure:1947: gcc --version </dev/null >&5
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 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/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
configure:1955: $? = 0
configure:1957: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
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: parse error before "me"
configure:2276: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif

configure:2414: checking how to turn off strict aliasing in gcc
configure:2448: gcc -c -O2 -fno-strict-aliasing -D_GNU_SOURCE conftest.c >&5
configure:2451: $? = 0
configure:2454: test -s conftest.o
configure:2457: $? = 0
configure:2471: result: -fno-strict-aliasing
configure:2483: using CFLAGS=-O2 -fno-strict-aliasing
configure:2492: checking whether the C compiler still works
configure:2514: gcc -o conftest -O2 -fno-strict-aliasing -D_GNU_SOURCE  conftest.c  >&5
configure:2517: $? = 0
configure:2520: test -s conftest
configure:2523: $? = 0
configure:2525: result: yes
configure:2561: gcc -c -O2 -fno-strict-aliasing -D_GNU_SOURCE conftest.c >&5
configure:2564: $? = 0
configure:2567: test -s conftest.o
configure:2570: $? = 0
configure:2588: checking how to run the C preprocessor
configure:2614: gcc -E -D_GNU_SOURCE conftest.c
configure:2620: $? = 0
configure:2647: gcc -E -D_GNU_SOURCE conftest.c
configure:2643:28: ac_nonexistent.h: No such file or directory
configure:2653: $? = 1
configure: failed program was:
#line 2642 "configure"
#include "confdefs.h"

#include <ac_nonexistent.h>
configure:2690: result: gcc -E
configure:2705: gcc -E -D_GNU_SOURCE conftest.c
configure:2711: $? = 0
configure:2738: gcc -E -D_GNU_SOURCE conftest.c
configure:2734:28: ac_nonexistent.h: No such file or directory
configure:2744: $? = 1
configure: failed program was:
#line 2733 "configure"
#include "confdefs.h"

#include <ac_nonexistent.h>
configure:2900: checking allow thread-safe client libraries
configure:2931: result: no
configure:2938: checking whether to build with Tcl
configure:2966: result: no
configure:2971: checking whether to build with Tk
configure:3003: result: no
configure:3069: checking whether to build Perl modules
configure:3097: result: no
configure:3104: checking whether to build Python modules
configure:3132: result: no
configure:3139: checking whether to build Java/JDBC tools
configure:3277: result: no
configure:3287: checking whether to build with Kerberos 4 support
configure:3334: result: no
configure:3345: checking whether to build with Kerberos 5 support
configure:3392: result: no
configure:3450: checking whether to build with PAM support
configure:3482: result: no
configure:3490: checking whether to build with Rendezvous support
configure:3522: result: no
configure:3679: using CPPFLAGS=-D_GNU_SOURCE
configure:3681: using LDFLAGS=
configure:3689: checking for gawk
configure:3705: found /bin/gawk
configure:3715: result: gawk
configure:3725: checking for flex
configure:3764: result: /usr/bin/flex
configure:3799: checking whether ln -s works
configure:3803: result: yes
configure:3821: checking for ld used by GCC
configure:3884: result: /usr/bin/ld
configure:3893: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.13.90.0.18 20030206
configure:3905: result: yes
configure:4006: checking for ranlib
configure:4022: found /usr/bin/ranlib
configure:4033: result: ranlib
configure:4049: checking for lorder
configure:4078: result: no
configure:4087: checking for tar
configure:4105: found /bin/tar
configure:4117: result: /bin/tar
configure:4166: checking for strip
configure:4182: found /usr/bin/strip
configure:4193: result: strip
configure:4206: checking whether it is possible to strip libraries
configure:4211: result: yes
configure:4227: checking for bison
configure:4243: found /usr/local/bin/bison
configure:4253: result: bison -y
configure:4297: checking for perl
configure:4315: found /usr/bin/perl
configure:4327: result: /usr/bin/perl
configure:4463: checking for main in -lbsd
configure:4490: gcc -o conftest -O2 -fno-strict-aliasing -D_GNU_SOURCE    conftest.c -lbsd   >&5
configure:4493: $? = 0
configure:4496: test -s conftest
configure:4499: $? = 0
configure:4510: result: yes
configure:4523: checking for setproctitle in -lutil
configure:4556: gcc -o conftest -O2 -fno-strict-aliasing -D_GNU_SOURCE    conftest.c -lutil  -lbsd  >&5
/tmp/ccEsWIPX.o(.text+0xa): In function `main':
: undefined reference to `setproctitle'
collect2: ld returned 1 exit status
configure:4559: $? = 1
configure: failed program was:
#line 4530 "configure"
#include "confdefs.h"

В списке pgsql-admin по дате отправления:

Предыдущее
От: Sandro Ribeiro - Claro RS -
Дата:
Сообщение: Missing or erroneus pg_hba.conf file
Следующее
От: "Mathew, Anitha"
Дата:
Сообщение: initdb fails on hpux