Hi:

I have a Debian squeeze server with bacula-fd 5.0.3. If I try upgrade to
bacula-fd 9.0.6, the system show the next errors, when i run "make":

Compiling crypto.c
> crypto.c: In function 'ASN1_OCTET_STRING* openssl_cert_keyid(X509*)':
> crypto.c:340: error: invalid conversion from 'const ASN1_STRING*' to
> 'ASN1_STRING*'
> crypto.c:340: error:   initializing argument 1 of 'int
> ASN1_STRING_length(ASN1_STRING*)'
> crypto.c:346: error: invalid conversion from 'const ASN1_STRING*' to
> 'ASN1_STRING*'
> crypto.c:346: error:   initializing argument 1 of 'int
> ASN1_STRING_length(ASN1_STRING*)'
> crypto.c: In function 'int crypto_keypair_load_cert(X509_KEYPAIR*, const
> char*)':
> crypto.c:458: error: 'EVP_PKEY_base_id' was not declared in this scope
> crypto.c:459: error: 'EVP_PKEY_id' was not declared in this scope
> crypto.c: In function 'int crypto_sign_add_signer(SIGNATURE*, DIGEST*,
> X509_KEYPAIR*)':
> crypto.c:870: error: 'EVP_PKEY_base_id' was not declared in this scope
> crypto.c: In function 'CRYPTO_SESSION* crypto_session_new(crypto_cipher_t,
> alist*)':
> crypto.c:1089: error: 'EVP_PKEY_base_id' was not declared in this scope
> crypto.c: In function 'crypto_error_t crypto_session_decode(const
> u_int8_t*, u_int32_t, alist*, CRYPTO_SESSION**)':
> crypto.c:1202: error: 'EVP_PKEY_base_id' was not declared in this scope
> make[1]: *** [crypto.lo] Error 1
> make[1]: se sale del directorio `/datos/opt/bacula-9.0.6/src/lib'
>
>
>   ====== Error in /datos/opt/bacula-9.0.6/src/lib ======
>
>
> make: *** [all] Error 1
>

I have run:

apt-get update
apt-get install libssl-dev

./configure \
--sbindir=/datos/opt/bacula/bin \
--sysconfdir=/datos/opt/bacula/bin \
--with-pid-dir=/datos/opt/bacula/bin/working \
--with-subsys-dir=/datos/opt/bacula/bin/working \
--enable-client-only \
--with-working-dir=/datos/opt/bacula/bin/working \
--with-dump-email=$USER

I hope any solutions.

Thanks

Jesús Moreno Monteverde
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to