[Botan-devel] Compiling 1.9.7 on CentOS 5

Jack Lloyd lloyd at randombit.net
Wed May 26 15:46:13 EDT 2010


On Wed, May 26, 2010 at 09:40:07PM +0200, Tim Verhoeven wrote:
> This is the culprit and I'm guessing its pretty obvious :
> 
> #define BOTAN_TARGET_CPU_HAS_--ENABLE-SSSE3
> 
> This is the compile line :
> 
> ./configure.py --prefix=/usr --libdir=lib64 --cc=gcc --os=linux
> --cpu=x86_64 --enable-isa --enable-ssse3
> --enable-modules=gnump,bzip2,zlib,openssl
> 
> The CPU is a standard Intel Xeon CPU.
> 
> I've then removed the ssse3 statement and tried again. But it is the
> same error, but this is the faulty line in build.h :
> 
> #define BOTAN_TARGET_CPU_HAS_--ENABLE-MODULES=GNUMP

It's the --enable-isa option - it's causing the script to take the
following arguments as ISA names, rather than parsing them as
additional options. Definitely a bug in the script, but easily
avoidable here - just remove --enable-isa and you should be good to
go.

-Jack



More information about the botan-devel mailing list