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

Re: configure script failure with SCO 5.0.7

From: "David P(dot) Lurie" <dbase4(at)hotmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: configure script failure with SCO 5.0.7
Date: 2004-03-25 08:11:04
Message-ID: c3u4ah$u3j$1@sea.gmane.org (view raw or flat)
Thread:
Lists: pgsql-novice
"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote in message > The info configure prints
on the terminal is much too brief to help in
> diagnosing problems.  Look into config.log to see what the C compiler is
> unhappy about.

The configuration scripts appear to be lookin for the path

/usr/gnu/lib/gcc-lib/elf/2.95.3/...

while the equivalent path for the SCO-supplied GNU tools appears to be

/usr/gnu/lib/gcc-lib/i586-pc-sco3.2v5.0/2.95.3/..

Where do I make changes to set this path? Adding it to my path in .profile
did not correct the problem.

config.log is pasted below (system serial number removed).

Thanks for your assistance,

David P. Lurie

config.log:
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 = dplp4.jointsrus.net
uname -m = i386
uname -r = 3.2
uname -s = SCO_SV
uname -v = 5.0.7

/usr/bin/uname -p = unknown
/bin/uname -X     =
System = SCO_SV
Node = dplp4
Release = 3.2v5.0.7
KernelID = 2003-02-18
Machine = Pent4
BusType = ISA
Serial =
Users = 15
OEM# = 0
Origin# = 1
NumCPU = 1

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

PATH: /bin
PATH: /etc
PATH: /usr/bin
PATH: /tcb/bin
PATH: ./
PATH: /usr/gnu/bin
PATH: /usr/lib/samba/bin
PATH: /usr/local/lib
PATH: /usr/local/include/pthread
PATH: /usr/local/include
PATH: /usr/local/bin
PATH: /usr/local/mysql/bin
PATH: /usr/bin/X11
PATH: /usr/lib/powerchute


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

configure:1296: checking build system type
configure:1314: result: i386-pc-sco3.2v5.0.7
configure:1322: checking host system type
configure:1336: result: i386-pc-sco3.2v5.0.7
configure:1346: checking which template to use
configure:1446: result: sco
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/gnu/bin/gcc
configure:1925: result: gcc
configure:1944: checking for C compiler version
configure:1947: gcc --version </dev/null >&5
2.95.3
configure:1950: $? = 0
configure:1952: gcc -v </dev/null >&5
Reading specs from /usr/gnu/lib/gcc-lib/i586-pc-sco3.2v5.0/2.95.3/specs
gcc version 2.95.3 20030406 (SCO/p4)
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: syntax 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 -b elf
configure:2448: gcc -b elf -c -O2 -fno-strict-aliasing  conftest.c >&5
gcc: installation problem, cannot exec `cpp0': No such file or directory
gcc: file path prefix `/usr/gnu/lib/gcc-lib/elf/2.95.3/' never used
configure:2451: $? = 1
configure: failed program was:
#line 2429 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

  ;
  return 0;
}
configure:2471: result:
configure:2483: using CFLAGS=-O2
configure:2492: checking whether the C compiler still works
configure:2514: gcc -b elf -o conftest -O2   conftest.c  >&5
gcc: installation problem, cannot exec `cpp0': No such file or directory
gcc: file path prefix `/usr/gnu/lib/gcc-lib/elf/2.95.3/' never used
configure:2517: $? = 1
configure: failed program was:
#line 2495 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
return 0;
  ;
  return 0;
}
configure:2530: result: no
configure:2532: error: cannot proceed

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

ac_cv_build=i386-pc-sco3.2v5.0.7
ac_cv_build_alias=i386-pc-sco3.2v5.0.7
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_DOCBOOKSTYLE_set=''
ac_cv_env_DOCBOOKSTYLE_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_exeext=''
ac_cv_host=i386-pc-sco3.2v5.0.7
ac_cv_host_alias=i386-pc-sco3.2v5.0.7
ac_cv_objext=o
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "PostgreSQL"
#define PACKAGE_TARNAME "postgresql"
#define PACKAGE_VERSION "7.4.2"
#define PACKAGE_STRING "PostgreSQL 7.4.2"
#define PACKAGE_BUGREPORT "pgsql-bugs(at)postgresql(dot)org"
#define PG_VERSION "7.4.2"
#define DEF_PGPORT 5432
#define DEF_PGPORT_STR "5432"

configure: exit 1






In response to

Responses

pgsql-novice by date

Next:From: DAVANNE Eric - NTRDate: 2004-03-25 14:51:59
Subject: loop Through Query Results : Record
Previous:From: Tom LaneDate: 2004-03-24 22:51:21
Subject: Re: configure script failure with SCO 5.0.7

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