Kolab 2.3.3 compilation breaks with perl error

Otmar Stahl o.stahl at lsw.uni-heidelberg.de
Mon Sep 19 11:57:36 CEST 2011


Hello,

On 09/18/2011 07:47 PM, Benjamin Eckl wrote:
> Hi all,
> 
> I'm trying to compile kolab-server-2.3.3 from source for quite a while 
> now. Following http://wiki.kolab.org/Kolab2_Installation_-_Source with 
> recent file paths, I'm installing on root partition for testing.
> 
> My System is a openvz virtual machine using debian-6.0-x86.tar.gz from 
> here: http://wiki.openvz.org/Download/template/precreated
> 
> After fixing dependency problems with tcl8.5 (missing) all my luck stops 
> here:
> 
> imclient.c:1964: warning: assignment discards qualifiers from pointer 
> target type
> /kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM 
> -I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 
> -pipe -fPIC \
>          imparse.c
> /kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM 
> -I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 
> -pipe -fPIC \
>          lsort.c
> /kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM 
> -I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 
> -pipe -fPIC \
>          stristr.c
> /kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM 
> -I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 
> -pipe -fPIC \
>          rfc822date.c
> /kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM 
> -I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 
> -pipe -fPIC \
>          cyrusdb.c
> ### Building chartables...
> rm -f chartable.c
> perl ./mkchartable.pl \
>           -m ./charset/unifix.txt        \
>           -m ./charset/unidata2.txt \
>           ./charset/*.t \
>           > chartable.c \
>           || (rm -f chartable.c && exit 1)
> Can't locate Digest/SHA1.pm in @INC (@INC contains: 
> /kolab/lib/perl/site_perl/5.10.0/i686-linux 
> /kolab/lib/perl/site_perl/5.10.0 
> /kolab/lib/perl/vendor_perl/5.10.0/i686-linux 
> /kolab/lib/perl/vendor_perl/5.10.0 /kolab/lib/perl/vendor_perl 
> /kolab/lib/perl/5.10.0/i686-linux /kolab/lib/perl/5.10.0 .) at 
> ./mkchartable.pl line 51.
> BEGIN failed--compilation aborted at ./mkchartable.pl line 51.
> make[1]: *** [chartable.c] Error 1
> make: *** [all] Error 1
> error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.67846 (%build)
> 
> 
> RPM build errors:
>      Bad exit status from /kolab/RPM/TMP/rpm-tmp.67846 (%build)
> Installation completed.
> /kolab/RPM/PKG now contains the installed packages.
> Previous contents were moved to /kolab/RPM/PKG.5811.31043.13331.8250
> 
> 
> No idea what this error is saying me, please give me a hint.

I do not know why, but Digest/SHA1.pm is not found. In my system
(installed from the debian squeeze binaries) it is located at:

/kolab/lib/perl/vendor_perl/5.10.0/i686-linux/Digest/SHA1.pm

This file belongs to the perl-crypto package. It seems that the
installation of this package has failed?

> Thx,
> Ben

Kind regards,
Otmar




More information about the users mailing list