Ran into the #52 issues with static linking, and thus tried the amalgamation build.
On a fresh 1.11.15 tarball, configuration fails with:
ERROR: [Errno 2] No such file or directory: 'build/build.h'
when the --via-amalgamation flag is used, unless the configuration script is first run without the --via-amalgamation flag present. Thereafter, it'll work.
Issue was present on both OS X and Linux platforms.
Grendel% ./configure.py --via-amalgamation --cc=clang --disable-shared --disable-aes-ni --disable-avx2
INFO: Guessing target OS is darwin (use --os to set)
INFO: Guessing target processor is a x86_64/x86_64 (use --cpu to set)
INFO: Target is clang-darwin-x86_64-x86_64
INFO: Disabling assembly code, cannot use in amalgamation
INFO: Skipping, by request only - cvc
INFO: Skipping, dependency failure - sessions_sqlite3
INFO: Skipping, incompatible CPU - md4_x86_32 md5_x86_32 mp_x86_32 serpent_x86_32 sha1_x86_32 simd_altivec threefish_avx2
INFO: Skipping, incompatible OS - asm_x86_32 asm_x86_64 beos_stats cryptoapi_rng dyn_load locking_allocator win32_stats
INFO: Skipping, incompatible compiler - clmul mp_x86_32_msvc
INFO: Skipping, loaded only if needed by dependency - mp_generic simd_scalar
INFO: Skipping, requires external dependency - boost bzip2 lzma openssl sqlite3 zlib
INFO: Skipping, uses assembly and --disable-asm set - sha1_x86_64
INFO: Using MP module mp_x86_64
INFO: Using SIMD module simd_sse2
INFO: Loading modules adler32 aead aes aes_ni aes_ssse3 alloc aont asn1 auto_rng base base64 bcrypt benchmark bigint block blowfish camellia cascade cast cbc cbc_mac ccm cfb chacha chacha20poly1305 cmac codec_filt comb4p compression crc24 crc32 credentials cryptobox ctr curve25519 datastor des dev_random dh dl_algo dl_group dlies dsa eax ec_gfp ec_group ecb ecc_key ecdh ecdsa egd elgamal eme_oaep eme_pkcs1 emsa1 emsa1_bsi emsa_pkcs1 emsa_pssr emsa_raw emsa_x931 entropy fd_unix ffi filters fpe_fe1 gcm gost_28147 gost_3410 gost_3411 has160 hash hash_id hex hkdf hmac hmac_drbg hmac_rng hres_timer http_util idea idea_sse2 if_algo kasumi kdf kdf1 kdf2 keccak keypair lion mac mars mce mceies md2 md4 md5 mdx_hash mgf1 misty1 mode_pad modes mp mp_x86_64 noekeon noekeon_simd nr numbertheory ocb ofb oid_lookup openpgp par_hash passhash9 pbes2 pbkdf pbkdf1 pbkdf2 pem pk_pad poly1305 prf_tls prf_x942 proc_walk pubkey rc2 rc4 rc5 rc6 rdrand rfc3394 rfc6979 rmd128 rmd160 rng rsa rw safer salsa20 seed serpent serpent_simd sessions_sql sha1 sha1_sse2 sha2_32 sha2_64 simd simd_sse2 siphash siv skein srp6 stream system_rng tea threefish tiger tls tss twofish unix_procs utils whirlpool x509 x919_mac x931_rng xtea xtea_simd xts
NOTICE: Writing amalgamation header to botan_all.h
ERROR: [Errno 2] No such file or directory: 'build/build.h'
Grendel% ./configure.py --cc=clang --disable-shared --disable-aes-ni --disable-avx2
INFO: Guessing target OS is darwin (use --os to set)
INFO: Guessing target processor is a x86_64/x86_64 (use --cpu to set)
INFO: Target is clang-darwin-x86_64-x86_64
INFO: Skipping, by request only - cvc
INFO: Skipping, dependency failure - sessions_sqlite3 sha1_x86_64
INFO: Skipping, incompatible CPU - md4_x86_32 md5_x86_32 mp_x86_32 serpent_x86_32 sha1_x86_32 simd_altivec threefish_avx2
INFO: Skipping, incompatible OS - asm_x86_32 asm_x86_64 beos_stats cryptoapi_rng dyn_load locking_allocator win32_stats
INFO: Skipping, incompatible compiler - clmul mp_x86_32_msvc
INFO: Skipping, loaded only if needed by dependency - mp_generic simd_scalar
INFO: Skipping, requires external dependency - boost bzip2 lzma openssl sqlite3 zlib
INFO: Using MP module mp_x86_64
INFO: Using SIMD module simd_sse2
INFO: Loading modules adler32 aead aes aes_ni aes_ssse3 alloc aont asn1 auto_rng base base64 bcrypt benchmark bigint block blowfish camellia cascade cast cbc cbc_mac ccm cfb chacha chacha20poly1305 cmac codec_filt comb4p compression crc24 crc32 credentials cryptobox ctr curve25519 datastor des dev_random dh dl_algo dl_group dlies dsa eax ec_gfp ec_group ecb ecc_key ecdh ecdsa egd elgamal eme_oaep eme_pkcs1 emsa1 emsa1_bsi emsa_pkcs1 emsa_pssr emsa_raw emsa_x931 entropy fd_unix ffi filters fpe_fe1 gcm gost_28147 gost_3410 gost_3411 has160 hash hash_id hex hkdf hmac hmac_drbg hmac_rng hres_timer http_util idea idea_sse2 if_algo kasumi kdf kdf1 kdf2 keccak keypair lion mac mars mce mceies md2 md4 md5 mdx_hash mgf1 misty1 mode_pad modes mp mp_x86_64 noekeon noekeon_simd nr numbertheory ocb ofb oid_lookup openpgp par_hash passhash9 pbes2 pbkdf pbkdf1 pbkdf2 pem pk_pad poly1305 prf_tls prf_x942 proc_walk pubkey rc2 rc4 rc5 rc6 rdrand rfc3394 rfc6979 rmd128 rmd160 rng rsa rw safer salsa20 seed serpent serpent_simd sessions_sql sha1 sha1_sse2 sha2_32 sha2_64 simd simd_sse2 siphash siv skein srp6 stream system_rng tea threefish tiger tls tss twofish unix_procs utils whirlpool x509 x919_mac x931_rng xtea xtea_simd xts
INFO: Assuming CPU is little endian
INFO: Assuming unaligned memory access works
INFO: Using symlink to link files into build directory (use --link-method to change)
INFO: Botan 1.11.15 (released dated 20150308) build setup is complete
Grendel% ./configure.py --via-amalgamation --cc=clang --disable-shared --disable-aes-ni --disable-avx2
INFO: Guessing target OS is darwin (use --os to set)
INFO: Guessing target processor is a x86_64/x86_64 (use --cpu to set)
INFO: Target is clang-darwin-x86_64-x86_64
INFO: Disabling assembly code, cannot use in amalgamation
INFO: Skipping, by request only - cvc
INFO: Skipping, dependency failure - sessions_sqlite3
INFO: Skipping, incompatible CPU - md4_x86_32 md5_x86_32 mp_x86_32 serpent_x86_32 sha1_x86_32 simd_altivec threefish_avx2
INFO: Skipping, incompatible OS - asm_x86_32 asm_x86_64 beos_stats cryptoapi_rng dyn_load locking_allocator win32_stats
INFO: Skipping, incompatible compiler - clmul mp_x86_32_msvc
INFO: Skipping, loaded only if needed by dependency - mp_generic simd_scalar
INFO: Skipping, requires external dependency - boost bzip2 lzma openssl sqlite3 zlib
INFO: Skipping, uses assembly and --disable-asm set - sha1_x86_64
INFO: Using MP module mp_x86_64
INFO: Using SIMD module simd_sse2
INFO: Loading modules adler32 aead aes aes_ni aes_ssse3 alloc aont asn1 auto_rng base base64 bcrypt benchmark bigint block blowfish camellia cascade cast cbc cbc_mac ccm cfb chacha chacha20poly1305 cmac codec_filt comb4p compression crc24 crc32 credentials cryptobox ctr curve25519 datastor des dev_random dh dl_algo dl_group dlies dsa eax ec_gfp ec_group ecb ecc_key ecdh ecdsa egd elgamal eme_oaep eme_pkcs1 emsa1 emsa1_bsi emsa_pkcs1 emsa_pssr emsa_raw emsa_x931 entropy fd_unix ffi filters fpe_fe1 gcm gost_28147 gost_3410 gost_3411 has160 hash hash_id hex hkdf hmac hmac_drbg hmac_rng hres_timer http_util idea idea_sse2 if_algo kasumi kdf kdf1 kdf2 keccak keypair lion mac mars mce mceies md2 md4 md5 mdx_hash mgf1 misty1 mode_pad modes mp mp_x86_64 noekeon noekeon_simd nr numbertheory ocb ofb oid_lookup openpgp par_hash passhash9 pbes2 pbkdf pbkdf1 pbkdf2 pem pk_pad poly1305 prf_tls prf_x942 proc_walk pubkey rc2 rc4 rc5 rc6 rdrand rfc3394 rfc6979 rmd128 rmd160 rng rsa rw safer salsa20 seed serpent serpent_simd sessions_sql sha1 sha1_sse2 sha2_32 sha2_64 simd simd_sse2 siphash siv skein srp6 stream system_rng tea threefish tiger tls tss twofish unix_procs utils whirlpool x509 x919_mac x931_rng xtea xtea_simd xts
NOTICE: Writing amalgamation header to botan_all.h
NOTICE: Writing amalgamation source to botan_all.cpp
NOTICE: Writing amalgamation source to botan_all_aesni.cpp
NOTICE: Writing amalgamation source to botan_all_ssse3.cpp
NOTICE: Writing amalgamation source to botan_all_rdrand.cpp
INFO: Assuming CPU is little endian
INFO: Assuming unaligned memory access works
INFO: Using symlink to link files into build directory (use --link-method to change)
INFO: Botan 1.11.15 (released dated 20150308) build setup is complete
Grendel%
Ran into the #52 issues with static linking, and thus tried the amalgamation build. On a fresh 1.11.15 tarball, configuration fails with:
when the --via-amalgamation flag is used, unless the configuration script is first run without the --via-amalgamation flag present. Thereafter, it'll work.
Issue was present on both OS X and Linux platforms.