[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Build from tor-0.1.1.25 SRPM for CentOS 4.4 x86_64 fails
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
All,
I am attempting to build tor from the source RPM on a AMD64 processor.
When I run the following command,
# rpmbuild -ba tor.spec
I receive the following error,
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.38507 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.38507 (%build)
Below is the config.log output
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu
- --target=x86_64-linux-linux-gnu --program-prefix= --prefix=/usr
- --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
- --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
- --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var
- --sharedstatedir=/usr/com --mandir=/usr/share/man
- --infodir=/usr/share/info --with-tor-user=_tor --with-tor-group=_tor
- --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu
- --target=i386-pc-linux-gnu
## --------- ##
## Platform. ##
## --------- ##
hostname = ns2.antagonism.org
uname -m = x86_64
uname -r = 2.6.9-42.0.3.EL
uname -s = Linux
uname -v = #1 Fri Oct 6 06:02:37 CDT 2006
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/java/jre1.5.0_09/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /home/marlowe/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1351: checking for a BSD-compatible install
configure:1406: result: /usr/bin/install -c
configure:1417: checking whether build environment is sane
configure:1460: result: yes
configure:1475: checking whether make sets $(MAKE)
configure:1495: result: yes
configure:1527: checking for working aclocal-1.4
configure:1534: result: found
configure:1542: checking for working autoconf
configure:1549: result: found
configure:1557: checking for working automake-1.4
configure:1564: result: found
configure:1572: checking for working autoheader
configure:1579: result: found
configure:1587: checking for working makeinfo
configure:1594: result: found
configure:1615: checking build system type
configure:1633: result: i386-pc-linux-gnu
configure:1641: checking host system type
configure:1655: result: i386-pc-linux-gnu
configure:1730: checking for i386-pc-linux-gnu-gcc
configure:1759: result: no
configure:1768: checking for gcc
configure:1784: found /usr/bin/gcc
configure:1794: result: gcc
configure:2038: checking for C compiler version
configure:2041: gcc --version </dev/null >&5
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
Copyright (C) 2006 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:2044: $? = 0
configure:2046: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/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
- --disable-libunwind-exceptions --enable-java-awt=gtk
- --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
configure:2049: $? = 0
configure:2051: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2054: $? = 1
configure:2077: checking for C compiler default output file name
configure:2080: gcc -march=i386 -mtune=i386 -O2 -I/usr/kerberos/include
conftest.c >&5
conftest.c:1: error: CPU you selected does not support x86-64
instruction set
conftest.c:1: error: CPU you selected does not support x86-64
instruction set
configure:2083: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "tor"
| #define VERSION "0.1.1.25"
| #define ENABLE_THREADS 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2122: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i386-pc-linux-gnu
ac_cv_build_alias=i386-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=i386 -mtune=i386 -O2'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386-pc-linux-gnu
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i386-pc-linux-gnu
ac_cv_host=i386-pc-linux-gnu
ac_cv_host_alias=i386-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='aclocal-1.4'
AUTOCONF='autoconf'
AUTOHEADER='autoheader'
AUTOMAKE='automake-1.4'
BINDIR=''
CC='gcc'
CFLAGS='-march=i386 -mtune=i386 -O2 -I/usr/kerberos/include'
CONFDIR=''
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LOCALSTATEDIR=''
LOGFACILITY=''
LTLIBOBJS=''
MAKEINFO='makeinfo'
OBJEXT=''
PACKAGE='tor'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
TORGROUP=''
TORUSER=''
VERSION='0.1.1.25'
ac_ct_CC='gcc'
ac_ct_RANLIB=''
bindir='/usr/bin'
build='i386-pc-linux-gnu'
build_alias='i386-pc-linux-gnu'
build_cpu='i386'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
exec_prefix='/usr'
host='i386-pc-linux-gnu'
host_alias='i386-pc-linux-gnu'
host_cpu='i386'
host_os='linux-gnu'
host_vendor='pc'
includedir='/usr/include'
infodir='/usr/share/info'
libdir='/usr/lib64'
libexecdir='/usr/libexec'
localstatedir='/var'
mandir='/usr/share/man'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,^,,'
sbindir='/usr/sbin'
sharedstatedir='/usr/com'
sysconfdir='/etc'
target_alias='i386-pc-linux-gnu'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define ENABLE_THREADS 1
#define PACKAGE "tor"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.1.1.25"
configure: exit 77
Can someone please point in the direction of what I may have missed
and/or misconfigured?
Thanks,
Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: 'email gpgpublickey-marlowe@xxxxxxxxxxxxxx for my GPG public key'
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFWMvEMYIXomaKpd8RAhA7AJ9JOAuNqcRWt7D2WvUC5pSG2/MrhwCfQPh5
2IlQZAARPRBj1uRXHhAN90Y=
=VA14
-----END PGP SIGNATURE-----