[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Build from tor-0.1.1.25 SRPM for CentOS 4.4 x86_64 fails
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
phobos@xxxxxxxxxx wrote:
> On Mon, Nov 13, 2006 at 01:47:17PM -0600, marlowe@xxxxxxxxxxxxxx wrote 7.4K bytes in 281 lines about:
> : 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)
>
> You're trying to compile 64-bit code on a designated 32-bit cpu.
> Edit tor.spec and change:
> %define target_cpu i386
> to:
> %define target_cpu athlon64
>
> Everything should compile to completion afterwards.
>
> The specific errors that matter are:
>
> : 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
>
> The scary alternative is to install all of the 32-bit
> compatibility libraries and compile 32bit code.
>
I made the change suggested above and reattempted the build. I received
the following error instead,
checking build system type... Invalid configuration
`athlon64-pc-linux-gnu': machine `athlon64-pc' not recognized
I downloaded the regular source and attempted a compile just to ensure I
wasn't missing anything on my system which would prevent the configure
statement from completing. A ./configure ran without any problems.
However I did not use all the options in the tor.spec. I will be
attempting those next one by one until I find which values are the
correct ones.
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
iD8DBQFFWSbDMYIXomaKpd8RAqb/AJ4/M7Eda+Z9bh1uzImF3xGaI1KDLACeJQvd
yXPy5lNT4C1WLrZnpzuy6Q8=
=Hidp
-----END PGP SIGNATURE-----