Compile error on Debian 5.0.10

after I type make -j4 I get the following errors on debian 5.0.10 :

make  all-am
make[1]: entrant dans le répertoire « /tmp/urbackup-client-2.1.15.0 »
g++ -DHAVE_CONFIG_H -I.    -DNDEBUG -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/usr/local/var"' -DSYSCONFDIR='"/usr/local/etc"' -DDATADIR='"/usr/local/share"'    -g -O2 -MT cryptoplugin/urbackupclientbackend-AESDecryption.o -MD -MP -MF cryptoplugin/.deps/urbackupclientbackend-AESDecryption.Tpo -c -o cryptoplugin/urbackupclientbackend-AESDecryption.o `test -f 'cryptoplugin/AESDecryption.cpp' || echo './'`cryptoplugin/AESDecryption.cpp
g++ -DHAVE_CONFIG_H -I.    -DNDEBUG -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/usr/local/var"' -DSYSCONFDIR='"/usr/local/etc"' -DDATADIR='"/usr/local/share"'    -g -O2 -MT cryptoplugin/urbackupclientbackend-CryptoFactory.o -MD -MP -MF cryptoplugin/.deps/urbackupclientbackend-CryptoFactory.Tpo -c -o cryptoplugin/urbackupclientbackend-CryptoFactory.o `test -f 'cryptoplugin/CryptoFactory.cpp' || echo './'`cryptoplugin/CryptoFactory.cpp
g++ -DHAVE_CONFIG_H -I.    -DNDEBUG -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/usr/local/var"' -DSYSCONFDIR='"/usr/local/etc"' -DDATADIR='"/usr/local/share"'    -g -O2 -MT cryptoplugin/urbackupclientbackend-AESEncryption.o -MD -MP -MF cryptoplugin/.deps/urbackupclientbackend-AESEncryption.Tpo -c -o cryptoplugin/urbackupclientbackend-AESEncryption.o `test -f 'cryptoplugin/AESEncryption.cpp' || echo './'`cryptoplugin/AESEncryption.cpp
g++ -DHAVE_CONFIG_H -I.    -DNDEBUG -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/usr/local/var"' -DSYSCONFDIR='"/usr/local/etc"' -DDATADIR='"/usr/local/share"'    -g -O2 -MT cryptoplugin/urbackupclientbackend-ZlibCompression.o -MD -MP -MF cryptoplugin/.deps/urbackupclientbackend-ZlibCompression.Tpo -c -o cryptoplugin/urbackupclientbackend-ZlibCompression.o `test -f 'cryptoplugin/ZlibCompression.cpp' || echo './'`cryptoplugin/ZlibCompression.cpp
In file included from cryptoplugin/AESEncryption.h:2In file included from cryptoplugin/AESDecryption.h:2,
                 from cryptoplugin/AESDecryption.cpp:19:
cryptoplugin/cryptopp_inc.h:41:30: error: cryptopp/eax.h: Aucun fichier ou répertoire de ce type
cryptoplugin/cryptopp_inc.h:42:30: error: cryptopp/gcm.h: Aucun fichier ou répertoire de ce type
,
                 from cryptoplugin/CryptoFactory.cpp:24:
cryptoplugin/cryptopp_inc.h:41:30: error: cryptopp/eax.h: Aucun fichier ou répertoire de ce type
cryptoplugin/cryptopp_inc.h:42:30: error: cryptopp/gcm.h: Aucun fichier ou répertoire de ce type
In file included from cryptoplugin/ZlibCompression.h:3In file included from cryptoplugin/AESEncryption.h:2,
                 from cryptoplugin/AESEncryption.cpp:19:
cryptoplugin/cryptopp_inc.h:41:30: error: cryptopp/eax.h: Aucun fichier ou répertoire de ce type
cryptoplugin/cryptopp_inc.h:42:30: error: cryptopp/gcm.h: Aucun fichier ou répertoire de ce type
,
                 from cryptoplugin/ZlibCompression.cpp:19:
cryptoplugin/cryptopp_inc.h:41:30: error: cryptopp/eax.h: Aucun fichier ou répertoire de ce type
cryptoplugin/cryptopp_inc.h:42:30: error: cryptopp/gcm.h: Aucun fichier ou répertoire de ce type
In file included from cryptoplugin/cryptopp_inc.h:39,
                 from cryptoplugin/AESDecryption.h:2,
                 from cryptoplugin/AESDecryption.cpp:19:
/usr/include/cryptopp/pwdbased.h: In member function ‘unsigned int CryptoPP::PKCS12_PBKDF<T>::DeriveKey(byte*, size_t, byte, const byte*, size_t, const byte*, size_t, unsigned int, double) const’:
/usr/include/cryptopp/pwdbased.h:198: error: no match for ‘operator++’ in ‘++B1’
/usr/include/cryptopp/pwdbased.h:200: error: no match for ‘operator+’ in ‘CryptoPP::Integer((I + i), v) + B1’
In file included from cryptoplugin/cryptopp_inc.h:39,
                 from cryptoplugin/AESEncryption.h:2,
                 from cryptoplugin/CryptoFactory.cpp:24:
/usr/include/cryptopp/pwdbased.h: In member function ‘unsigned int CryptoPP::PKCS12_PBKDF<T>::DeriveKey(byte*, size_t, byte, const byte*, size_t, const byte*, size_t, unsigned int, double) const’:
/usr/include/cryptopp/pwdbased.h:198: error: no match for ‘operator++’ in ‘++B1’In file included from cryptoplugin/cryptopp_inc.h:39,
                 from cryptoplugin/AESEncryption.h:2,
                 from cryptoplugin/AESEncryption.cpp:19:
/usr/include/cryptopp/pwdbased.h: In member function ‘unsigned int CryptoPP::PKCS12_PBKDF<T>::DeriveKey(byte*, size_t, byte, const byte*, size_t, const byte*, size_t, unsigned int, double) const’:
/usr/include/cryptopp/pwdbased.h:198: error: no match for ‘operator++’ in ‘++B1’
/usr/include/cryptopp/pwdbased.h:200: error: no match for ‘operator+’ in ‘CryptoPP::Integer((I + i), v) + B1’
In file included from cryptoplugin/cryptopp_inc.h:39,
                 from cryptoplugin/ZlibCompression.h:3,
                 from cryptoplugin/ZlibCompression.cpp:19:


any hint ?
thanks

At least you miss libcrypto+±dev or, i think ./configure should have told you.

hi,

apt-get install libcrypto++-dev
says it is installed already.

./configure --enable-headless
Says everything ok :

checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking target system type… x86_64-unknown-linux-gnu
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking whether make supports nested variables… yes
checking for g++… g++
checking whether the C++ compiler works… yes
checking for C++ compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking for style of include used by make… GNU
checking dependency style of g++… gcc3
checking for gcc… gcc
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking whether gcc understands -c and -o together… yes
checking dependency style of gcc… gcc3
checking for g++… g++
checking whether we are using the GNU Objective C++ compiler… no
checking whether g++ accepts -g… no
checking dependency style of g++… gcc3
checking for the pthreads library -lpthreads… no
checking whether pthreads work without any flags… no
checking whether pthreads work with -Kthread… no
checking whether pthreads work with -kthread… no
checking for the pthreads library -llthread… no
checking whether pthreads work with -pthread… yes
checking for joinable pthread attribute… PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads… no
checking how to run the C++ preprocessor… g++ -E
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking pthread.h usability… yes
checking pthread.h presence… yes
checking for pthread.h… yes
checking arpa/inet.h usability… yes
checking arpa/inet.h presence… yes
checking for arpa/inet.h… yes
checking fcntl.h usability… yes
checking fcntl.h presence… yes
checking for fcntl.h… yes
checking netdb.h usability… yes
checking netdb.h presence… yes
checking for netdb.h… yes
checking netinet/in.h usability… yes
checking netinet/in.h presence… yes
checking for netinet/in.h… yes
checking for stdlib.h… (cached) yes
checking sys/socket.h usability… yes
checking sys/socket.h presence… yes
checking for sys/socket.h… yes
checking sys/time.h usability… yes
checking sys/time.h presence… yes
checking for sys/time.h… yes
checking for unistd.h… (cached) yes
checking mntent.h usability… yes
checking mntent.h presence… yes
checking for mntent.h… yes
checking spawn.h usability… yes
checking spawn.h presence… yes
checking for spawn.h… yes
checking for stdbool.h that conforms to C99… yes
checking for _Bool… no
checking for an ANSI C-conforming const… yes
checking for inline… inline
checking for size_t… yes
checking whether time.h and sys/time.h may both be included… yes
checking whether struct tm is in sys/time.h or time.h… time.h
checking whether the compiler implements namespaces… yes
checking sstream usability… yes
checking sstream presence… yes
checking for sstream… yes
checking whether the STL defines stringstream… yes
checking strstream usability… yes
checking strstream presence… yes
checking for strstream… yes
checking whether the STL defines strstream… yes
checking whether C++ compiler accepts -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE… no
checking whether the linker accepts -Wl,-z,relro… yes
checking for operating system… checking for library containing gethostbyname… none required
checking for library containing socket… none required
checking how to run the C preprocessor… gcc -E
checking if zlib is wanted… yes
checking for inflateEnd in -lz… yes
checking zlib.h usability… yes
checking zlib.h presence… yes
checking for zlib.h… yes
checking sys/select.h usability… yes
checking sys/select.h presence… yes
checking for sys/select.h… yes
checking for sys/socket.h… (cached) yes
checking types of arguments for select… int,fd_set *,struct timeval *
checking for strftime… yes
checking for gettimeofday… yes
checking for memset… yes
checking for select… yes
checking for socket… yes
checking for strstr… yes
checking for syncfs… no
checking for fallocate64… no
checking for utimensat… yes
checking for accept4… no
checking for dlopen in -ldl… yes
checking for crypto++ version >= 5.1… yes (version 5.5.2, installed)
checking for library containing clock_gettime… -lrt
checking that generated files are newer than configure… done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Hello

I had the same error on jaunty.
I think older debian/ubuntu don’t have a recent enought libcrypto
if we can pinpoint which version works with 2.15 maybe @uroni will be able to change the requirement in configure
maybe i ll try with urbackup 1.4

Hi,
Installed libcrypto are :

  • libcrypto+±dev 5.5.2-2
  • libcrypto++7 5.5.2-2

urbackup 1.4 installing OK.

Thanks.

P

1.4 install procedure is to be found at : http://hitechnologicals.com/forum/odoo-forum-1/question/urbackup-how-to-install-urbackup-client-on-debian-or-ubuntu-linux-355