[Box Backup] Problems with Compiling
Ben Summers
boxbackup@fluffy.co.uk
Sun, 25 Jul 2004 12:00:56 +0100
On 25 Jul 2004, at 11:50, Jim TerWee wrote:
>
> When I try to set up box backup on Redhat 9 I run into the following
> problem. Running the configure works fine no errors but when I do a
> make I
> get the following error
>
> make[2]: Entering directory
> `/home/terwee/invisimax/backup/linux_backup/boxbackup-0.07/lib/server'
> g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_LINUX
> -DPLATFORM_GCC3
> -DBOX_VERSION="\"0.07\"" -I/usr/include -c LocalProcessStream.cpp -o
> ../../release/lib/server/LocalProcessStream.o
> g++ -DNDEBUG -O2 -Wall -I../../lib/common -DPLATFORM_LINUX
> -DPLATFORM_GCC3
> -DBOX_VERSION="\"0.07\"" -I/usr/include -c SSLLib.cpp -o
> ../../release/lib/server/SSLLib.o
> In file included from /usr/include/openssl/ssl.h:179,
> from SSLLib.cpp:52:
> /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
> In file included from /usr/include/openssl/ssl.h:179,
> from SSLLib.cpp:52:
> /usr/include/openssl/kssl.h:134: 'krb5_enctype' is used as a type, but
> is not
> defined as a type.
>
Another user recently reported this too. Apparently it's because RedHat
9 sets OpenSSL up badly.
Try doing
./configure compile:-I/usr/kerberos/include
and then make clean; make to get around this problem. I am always
amazed at how interesting Linux is.
Ben