Fehler bei Compilierung - Can't locate Digest/SHA1.pm

jphorst@sciencebridge.de jphorst at sciencebridge.de
Mon Sep 19 11:12:49 CEST 2011


Hi,

bei Ubuntu Server 10.04 genau das gleiche Bild.
libdigest-sha1-perl des Ubuntu Systems ist installiert.

Ich denke auch eher, dass etwas bei den Kolab Paketen fehlt und dafür sorgt, dass das 2.3.3 upgrade und damit das zu aktualisierende Kolabsystem vor die Wand fährt.
Bei 2.3.2 gab es das Problem noch nicht.

Solange das Problem nicht gelöst ist, kann ich von einem Upgrade auf 2.3.3 nur abraten.

Anbei die letzten Logmeldungen in meinem Fall:

### Making all in /kolab/RPM/TMP/cyrus-imapd-2.3.17/com_err/et
./config_script ./compile_et.sh gawk sed > compile_et
chmod 755 compile_et	
/kolab/bin/cc -c -I/kolab/include -I/kolab/include -DATVDOM -I/kolab/include -DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -fPIC -O2 -pipe error_message.c
/kolab/bin/cc -c -I/kolab/include -I/kolab/include -DATVDOM -I/kolab/include -DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -fPIC -O2 -pipe et_name.c
/kolab/bin/cc -c -I/kolab/include -I/kolab/include -DATVDOM -I/kolab/include -DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -fPIC -O2 -pipe init_et.c
/kolab/bin/cc -c -I/kolab/include -I/kolab/include -DATVDOM -I/kolab/include -DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -fPIC -O2 -pipe com_err.c
rm -f libcom_err.a
ar cr libcom_err.a error_message.o et_name.o init_et.o com_err.o
ranlib libcom_err.a
### Making all in /kolab/RPM/TMP/cyrus-imapd-2.3.17/lib
./../tools/config2header CC="/kolab/bin/cc" ./imapopts.c ./imapopts.h < ./imapoptions
/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  -fPIC -O2 -pipe -fPIC \
	libconfig.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  -fPIC -O2 -pipe -fPIC \
	imapopts.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  -fPIC -O2 -pipe -fPIC \
	hash.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  -fPIC -O2 -pipe -fPIC \
	mpool.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  -fPIC -O2 -pipe -fPIC \
	xmalloc.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  -fPIC -O2 -pipe -fPIC \
	strhash.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  -fPIC -O2 -pipe -fPIC \
	xstrlcat.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  -fPIC -O2 -pipe -fPIC \
	xstrlcpy.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  -fPIC -O2 -pipe -fPIC \
	assert.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  -fPIC -O2 -pipe -fPIC \
	util.c
rm -f libcyrus_min.a
ar cr libcyrus_min.a libconfig.o imapopts.o hash.o mpool.o xmalloc.o strhash.o xstrlcat.o xstrlcpy.o assert.o util.o 
ranlib libcyrus_min.a
/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  -fPIC -O2 -pipe -fPIC \
	acl.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  -fPIC -O2 -pipe -fPIC \
	bsearch.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  -fPIC -O2 -pipe -fPIC \
	charset.c
charset.c: In function 'mimeheader_cat':
charset.c:864: warning: 'return' with a value, in function returning void
/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  -fPIC -O2 -pipe -fPIC \
	glob.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  -fPIC -O2 -pipe -fPIC \
	retry.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  -fPIC -O2 -pipe -fPIC \
	libcyr_cfg.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  -fPIC -O2 -pipe -fPIC \
	mkgmtime.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  -fPIC -O2 -pipe -fPIC \
	prot.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  -fPIC -O2 -pipe -fPIC \
	parseaddr.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  -fPIC -O2 -pipe -fPIC \
	imclient.c
imclient.c: In function 'tls_start_clienttls':
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  -fPIC -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  -fPIC -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  -fPIC -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  -fPIC -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  -fPIC -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/x86_64-linux /kolab/lib/perl/site_perl/5.10.0 /kolab/lib/perl/vendor_perl/5.10.0/x86_64-linux /kolab/lib/perl/vendor_perl/5.10.0 /kolab/lib/perl/vendor_perl /kolab/lib/perl/5.10.0/x86_64-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.64830 (%build)


Hi,

> ich finde, es sieht aus als würde er Digest/SHA1.pm nicht finden. Ich
>  selber benutze seit mehreren Jahren kein SuSE mehr und weiß nicht genau,
>  wie das Paket heißt oder wie man ein Paket findet, wo eine Datei drin
>  steht. Google behauptet eiskalt, es gäbe ein Paket mit dem Namen
>  perl-Digest-SHA1. Wenn dem so ist, würde ich da anfangen zu suchen.

> Ansonsten wäre die Frage, welche Pakete mit Perl und SHA1 zusammenhängen,
> jedoch nicht installiert wurden.

glaube ich eher nicht, da er kaum Dinge aus der Distribution nutzt.
Soviel ich weiß sucht er seine Quellen ja nur unter kolab bzw. installiert und
übersetzt alles, was er benötigt.

siehe Fehlermeldung:
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.

Ich denke eher, da ist irgendwas vorher nicht übersetzt oder ausgepackt.

perl-digest-sha1 Paket von suse ist übrigens installiert.

-- 
Mit freundlichen Gruessen

Andreas Boebel

Registrierter LINUX-User #165949
_______________________________________________
Kolab-users-de mailing list
Kolab-users-de at kolab.org
http://lists.wald.intevation.org/mailman/listinfo/kolab-users-de