WTF
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 9.2.6, which was
generated by GNU Autoconf 2.63. Invocation command line was
S ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = officepdb
uname -m = x86_64
uname -r = 3.2.0-4-amd64
uname -s = Linux
uname -v = #1 SMP Debian 3.2.51-1
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2066: checking build system type
configure:2084: result: x86_64-unknown-linux-gnu
configure:2106: checking host system type
configure:2121: result: x86_64-unknown-linux-gnu
configure:2145: checking which template to use
configure:2235: result: linux
configure:2342: checking whether to build with 64-bit integer date/time
support
configure:2377: result: yes
configure:2384: checking whether NLS is wanted
configure:2418: result: no
configure:2426: checking for default port number
configure:2455: result: 5432
configure:2868: checking for block size
configure:2908: result: 8kB
configure:2920: checking for segment size
configure:2953: result: 1GB
configure:2965: checking for WAL block size
configure:3006: result: 8kB
configure:3018: checking for WAL segment size
configure:3059: result: 16MB
configure:3161: checking for gcc
configure:3191: result: no
configure:3161: checking for cc
configure:3191: result: no
configure:3213: error: in `/home/rootparser/install/postgresql-9.2.6':
configure:3216: error: no acceptable C compiler found in SPATH
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
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_EX_set=
ac_cv_env_LDFLAGS_EX_value=
ac_cv_env_LDFLAGS_SL_set=
ac_cv_env_LDFLAGS_SL_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AWK=''
BISON=''
BISONFLAGS=''
CC=''
CFLAGS=''
COLLATEINDEX=''
CPP=''
CPPFLAGS=''
DEFS=''
DLLTOOL=''
DLLWRAP=''
DOCBOOKSTYLE=''
DTRACE=''
DTRACEFLAGS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ELF_SYS=''
EXEEXT=''
FLEX=''
FLEXFLAGS=''
GCC=''
GCOV=''
GENHTML=''
GREP=''
HAVE_IPV6=''
HAVE_POSIX_SIGNALS=''
INCLUDES=''
JADE=''
LCOV=''
LD=''
LDAP_LIBS_BE=''
LDAP_LIBS_FE=''
LDFLAGS=''
LDFLAGS_EX=''
LDFLAGS_SL=''
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBOBJS=''
MKDIR_P=''
MSGFMT=''
MSGMERGE=''
NSGMLS=''
OBJEXT=''
OSSP_UUID_LIBS=''
OSX=''
PACKAGE_BUGREPORT='pgsql-bugs@postgresql.org'
PACKAGE_NAME='PostgreSQL'
PACKAGE_STRING='PostgreSQL 9.2.6'
PACKAGE_TARNAME='postgresql'
PACKAGE_VERSION='9.2.6'
PATH_SEPARATOR=':'
PERL=''
PG_MAJORVERSION='9.2'
PORTNAME='linux'
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
PYTHON=''
RANLIB=''
TRIP=''
STRIP_SHARED_LIB=''
STRIP_STATIC_LIB=''
SUN_STUDIO_CC=''
TAR=''
TAS=''
TCLSH=''
TCL_CONFIG_SH=''
TCL_INCLUDE_SPEC=''
TCL_LIBS=''
TCL_LIB_FILE=''
TCL_LIB_SPEC=''
TCL_SHARED_BUILD=''
TCL_SHLIB_LD_LIBS=''
WANTED_LANGUAGES=''
WINDRES=''
XGETTEXT=''
XML2_CONFIG=''
XSLTPROC=''
ZIC=''
ac_ct_CC=''
acx_pthread_config=''
autodepend=''
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
configure_args=''
datadir='S{datarootdir}'
datarootdir='S{prefix}/share'
default_port='5432'
docdir='S{datarootdir}/doc/S{PACKAGE_TARNAME}'
dvidir='S{docdir}'
enable_coverage='no'
enable_debug='no'
enable_dtrace='no'
enable_nls='no'
enable_rpath='yes'
enable_shared='yes'
enable_thread_safety=''
exec_prefix='NONE'
have_docbook=''
have_win32_dbghelp=''
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='S{docdir}'
includedir='S{prefix}/include'
infodir='S{datarootdir}/info'
krb_srvtab=''
ld_R_works=''
libdir='S{exec_prefix}/lib'
libexecdir='S{exec_prefix}/libexec'
localedir='S{datarootdir}/locale'
localstatedir='S{prefix}/var'
mandir='S{datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='S{docdir}'
perl_archlibexp=''
perl_embed_ldflags=''
perl_privlibexp=''
perl_useshrplib=''
prefix='NONE'
program_transform_name='s,x,x,'
psdir='S{docdir}'
python_additional_libs=''
python_configdir=''
ython_includespec=''
python_libdir=''
python_libspec=''
python_majorversion=''
python_version=''
sbindir='S{exec_prefix}/sbin'
sharedstatedir='S{prefix}/com'
sysconfdir='S{prefix}/etc'
target_alias=''
vpath_build=''
with_gnu_ld=''
with_libxml=''
with_libxslt=''
with_openssl=''
with_ossp_uuid=''
with_perl=''
with_python=''
with_selinux=''
with_system_tzdata=''
with_tcl=''
with_zlib=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "PostgreSQL"
#define PACKAGE_TARNAME "postgresql"
#define PACKAGE_VERSION "9.2.6"
#define PACKAGE_STRING "PostgreSQL 9.2.6"
#define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
#define PG_VERSION "9.2.6"
#define PG_MAJORVERSION "9.2"
#define USE_INTEGER_DATETIMES 1
#define DEF_PGPORT 5432
#define DEF_PGPORT_STR "5432"
#define BLCKSZ 8192
#define RELSEG_SIZE 131072
#define XLOG_BLCKSZ 8192
#define XLOG_SEG_SIZE (16 * 1024 * 1024)
configure: exit 1
admin@noksfishes.com.ua writes:
configure:3161: checking for gcc
configure:3191: result: no
configure:3161: checking for cc
configure:3191: result: no
configure:3213: error: in `/home/rootparser/install/postgresql-9.2.6':
configure:3216: error: no acceptable C compiler found in SPATH
It appears you don't have a C compiler installed. It's possible
that you do, but it's too confused to operate because of whatever
is causing "arch" to spit up:
/bin/arch = unknown
/bin/arch should work on pretty much any Linux distro I know of.
Weird environment settings perhaps?
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Tom Lane wrote:
admin@noksfishes.com.ua writes:
configure:3161: checking for gcc
configure:3191: result: no
configure:3161: checking for cc
configure:3191: result: no
configure:3213: error: in `/home/rootparser/install/postgresql-9.2.6':
configure:3216: error: no acceptable C compiler found in SPATHIt appears you don't have a C compiler installed. It's possible
that you do, but it's too confused to operate because of whatever
is causing "arch" to spit up:/bin/arch = unknown
/bin/arch should work on pretty much any Linux distro I know of.
Weird environment settings perhaps?
Uhm. In my machine, a similar Debian version, I don't have /bin/arch.
I have /usr/bin/arch, but it also spits when passed -k which is what his
log showed. This is an extract of a working build's config.log:
/bin/arch = unknown
/usr/bin/arch -k = unknown
And when run directly in bash,
$ /bin/arch
-bash: /bin/arch: No such file or directory
$ which arch
/usr/bin/arch
$ /usr/bin/arch
x86_64
$ /usr/bin/arch -k
/usr/bin/arch: invalid option -- 'k'
Try `/usr/bin/arch --help' for more information.
So "arch" is not the issue.
$ uname -a
Linux eldon 3.12.8 #4 SMP Thu Jan 16 10:48:05 CLST 2014 x86_64 GNU/Linux
$ cat /etc/debian_version
7.3
--
�lvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
Tom Lane wrote:
/bin/arch should work on pretty much any Linux distro I know of.
Weird environment settings perhaps?
Uhm. In my machine, a similar Debian version, I don't have /bin/arch.
I have /usr/bin/arch, but it also spits when passed -k which is what his
log showed.
Huh, OK, I was just surprised by all the "unknown"s --- but on closer
look, a lot of those are clearly only expected to succeed on specific
platforms.
So I think it comes down to "you didn't install a C compiler". Most
likely there's no development environment at all, and what configure
will complain about next is lack of header files and libraries.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
On Mon, Feb 3, 2014 at 9:32 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
So I think it comes down to "you didn't install a C compiler". Most
likely there's no development environment at all, and what configure
will complain about next is lack of header files and libraries.
Fwiw the Debian way to install a development environment is:
apt-get install build-essential
apt-get build-dep postgresql-9.2
(replace 9.2 with whatever version of postgres your version of Debian does have)
--
greg
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs