February 09, 2012, 10:42:41 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Work on Kolab2/Gentoo-2.2 has stopped. The project has been deprecated (see board Kolab2/Gentoo).
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: emerge kolabd-2.1 failed  (Read 7114 times)
Uli-DD70
Newbie
*

Karma: 0
Posts: 4


View Profile
« on: March 11, 2009, 05:00:01 PM »

I've tried to build kolabd-2.1 as described in http://wiki.kolab.org/index.php/Gentoo_-_SysAdmin_-_Installation .

My system is based on gentoo 2008.0 with latest portage tree (10.03.09).

When compiling the last package, 'net-mail/kolabd-2.1' it gives a file collision with 'dev-perl/perl-kolab-2.1' :
Code:
* This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 *
 * Detected file collision(s):
 *
 *      /usr/sbin/kolab_services
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * dev-perl/perl-kolab-2.1
 *      /usr/sbin/kolab_services
 *
 * Package 'net-mail/kolabd-2.1' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

Next, I removed '/usr/sbin/kolab_services' and emerged kolabd-2.1 again. Success!  Smiley Then, the next step
Code:
/usr/share/kolabd/scripts/kolab_bootstrap -b

gives me the next error:
Code:
Can't locate Net/LDAP.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/share/kolabd/scripts/kolab_bootstrap line 20.
BEGIN failed--compilation aborted at /usr/share/kolabd/scripts/kolab_bootstrap line 20.

What's wrong? I did a  'find / -name LDAP.pm' and got:
Code:
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Conf/LDAP.pm
/usr/lib/perl5/vendor_perl/5.8.8/Kolab/LDAP.pm

So I've linked the LDAP.pm from kolab into perl's include path:
Code:
ln -s /usr/lib/perl5/vendor_perl/5.8.8/Kolab/LDAP.pm /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/Net/LDAP.pm

And now 'kolab_bootstrap -b' runs into the next error:
Code:
"LDAP_SUCCESS" is not exported by the Net::LDAP module
 "LDAP_PROTOCOL_ERROR" is not exported by the Net::LDAP module
 "LDAP_REFERRAL" is not exported by the Net::LDAP module
Can't continue after import errors at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/Net/LDAP.pm line 29
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/Net/LDAP.pm line 29.
Compilation failed in require at /usr/share/kolabd/scripts/kolab_bootstrap line 20.
BEGIN failed--compilation aborted at /usr/share/kolabd/scripts/kolab_bootstrap line 20.

How can I solve these errors?

Thanks, U. Uhlig
« Last Edit: March 12, 2009, 08:53:02 AM by Uli-DD70 » Logged
zBrain
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #1 on: March 11, 2009, 08:54:59 PM »

Try running 'perl-cleaner all'
Logged
Uli-DD70
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #2 on: March 12, 2009, 11:06:00 AM »

This is a new installation of the whole system - perl is just emerged and not modified at all. 'perl-cleaner all' (I've just tried this) - helps not!  Sad
Any other ideas? Depends 'kolabd-2.1' from special versions of the packages (postfix, perl, amavis etc.) it uses?
Logged
Uli-DD70
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #3 on: March 13, 2009, 10:52:56 AM »

Here some additional info - the package versions which will be installed if I emerge 'kolabd-2.1':
Code:
emerge -avp kolabd
>>> --pretend disables --ask... removing --ask from options.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] virtual/perl-MIME-Base64-3.07  0 kB [0]
[ebuild  N    ] virtual/perl-Digest-MD5-2.36  0 kB [0]
[ebuild  N    ] perl-core/libnet-1.22  USE="-sasl" 0 kB [0]
[ebuild  N    ] dev-libs/libgpg-error-1.6  USE="nls" 0 kB [0]
[ebuild  N    ] net-libs/c-client-2007e  USE="kolab pam ssl" 0 kB [0]
[ebuild  N    ] dev-perl/HTML-Tagset-3.20  0 kB [0]
[ebuild  N    ] perl-core/Compress-Raw-Zlib-2.015  USE="-test" 0 kB [0]
[ebuild  N    ] perl-core/Scalar-List-Utils-1.19  0 kB [0]
[ebuild  N    ] perl-core/Time-HiRes-1.97.15  0 kB [0]
[ebuild  N    ] dev-perl/TermReadKey-2.30  0 kB [0]
[ebuild  N    ] dev-perl/XML-NamespaceSupport-1.09  0 kB [0]
[ebuild  N    ] dev-perl/IO-stringy-2.110  0 kB [0]
[ebuild  N    ] perl-core/Storable-2.18  0 kB [0]
[ebuild  N    ] perl-core/Test-Simple-0.80  0 kB [0]
[ebuild  N    ] dev-libs/pth-2.0.7-r1  USE="-debug" 0 kB [0]
[ebuild  N    ] app-antivirus/clamav-0.94.2  USE="bzip2 crypt iconv nls -ipv6 -mailwrapper -milter (-selinux)" 0 kB [0]
[ebuild  N    ] net-mail/cyrus-imapd-2.3.13  USE="kolab pam ssl tcpd -drac -idled -kerberos -nntp -replication -snmp" 0 kB [0]
[ebuild  N    ] dev-perl/Net-Netmask-1.9015  0 kB [0]
[ebuild  N    ] dev-perl/XML-Parser-2.36  0 kB [0]
[ebuild  N    ] dev-perl/Convert-ASN1-0.21  0 kB [0]
[ebuild  N    ] dev-perl/Net-SSLeay-1.35  0 kB [0]
[ebuild  N    ] dev-perl/Text-Iconv-1.7  0 kB [0]
[ebuild  N    ] media-libs/libpng-1.2.35  0 kB [0]
[ebuild  N    ] media-libs/t1lib-5.0.2-r1  USE="-X -doc" 0 kB [0]
[ebuild  N    ] dev-db/sqlite-2.8.16-r4  USE="nls -doc -tcl" 0 kB [0]
[ebuild  N    ] media-libs/freetype-2.3.8  USE="-X -bindist -debug -doc -fontforge -utils" 0 kB [0]
[ebuild  N    ] dev-libs/libmcrypt-2.5.8  0 kB [0]
[ebuild  N    ] media-libs/jpeg-6b-r8  0 kB [0]
[ebuild  N    ] app-admin/php-toolkit-1.0.1  0 kB [0]
[ebuild  N    ] dev-python/setuptools-0.6_rc8-r1  0 kB [0]
[ebuild  N    ] app-misc/mime-types-7  0 kB [0]
[ebuild  N    ] app-admin/apache-tools-2.2.10  USE="ssl" 0 kB [0]
[ebuild  N    ] perl-core/DB_File-1.815  0 kB [0]
[ebuild  N    ] dev-perl/MIME-Lite-3.01  0 kB [0]
[ebuild  N    ] dev-perl/yaml-0.65  0 kB [0]
[ebuild  N    ] dev-perl/IO-String-1.08  0 kB [0]
[ebuild  N    ] perl-core/Package-Constants-0.01  0 kB [0]
[ebuild  N    ] dev-perl/Compress-Raw-Bzip2-2.015  USE="-test" 0 kB [0]
[ebuild  N    ] dev-perl/Unix-Syslog-0.100-r1  0 kB [0]
[ebuild  N    ] dev-perl/BerkeleyDB-0.34  0 kB [0]
[ebuild  N    ] app-arch/freeze-2.5.0  0 kB [0]
[ebuild  N    ] app-arch/zoo-2.10-r4  0 kB [0]
[ebuild  N    ] app-arch/arc-5.21o  0 kB [0]
[ebuild  N    ] app-arch/lha-114i-r7  0 kB [0]
[ebuild  N    ] app-arch/unrar-3.8.5  0 kB [0]
[ebuild  N    ] app-arch/unarj-2.65  0 kB [0]
[ebuild  N    ] dev-perl/Convert-UUlib-1.09  0 kB [0]
[ebuild  N    ] app-arch/cabextract-1.2  0 kB [0]
[ebuild  N    ] dev-perl/File-Which-0.05  0 kB [0]
[ebuild  N    ] dev-perl/IO-Multiplex-1.09  0 kB [0]
[ebuild  N    ] dev-perl/Term-ReadLine-Perl-1.03.02  0 kB [0]
[ebuild  N    ] dev-util/re2c-0.13.5  0 kB [0]
[ebuild  N    ] virtual/perl-PodParser-1.35  0 kB [0]
[ebuild  N    ] dev-perl/Net-IP-1.25-r1  0 kB [0]
[ebuild  N    ] app-crypt/pinentry-0.7.5  USE="ncurses -caps -gtk -qt3" 0 kB [0]
[ebuild  N    ] net-misc/curl-7.19.4  USE="ssl -ares -gnutls -idn -ipv6 -kerberos -ldap -libssh2 -nss -test" 0 kB [0]
[ebuild  N    ] dev-perl/URI-1.35  0 kB [0]
[ebuild  N    ] virtual/perl-libnet-1.22  0 kB [0]
[ebuild  N    ] dev-perl/HTML-Parser-3.56  USE="-test" 0 kB [0]
[ebuild  N    ] dev-perl/XML-SAX-0.16  0 kB [0]
[ebuild  N    ] perl-core/digest-base-1.15  0 kB [0]
[ebuild  N    ] net-mail/cyrus-imap-admin-2.3.13  USE="kolab ssl -kerberos" 0 kB [0]
[ebuild  N    ] www-servers/apache-2.2.10  USE="ldap ssl -debug -doc (-selinux) -sni -static -suexec -threads" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -substitute -version" APACHE2_MPMS="prefork -event -itk -peruser -worker" 0 kB [0]
[ebuild  N    ] dev-perl/IO-Socket-SSL-1.13  0 kB [0]
[ebuild  N    ] virtual/perl-Compress-Raw-Zlib-2.015  0 kB [0]
[ebuild  N    ] virtual/perl-Scalar-List-Utils-1.19  0 kB [0]
[ebuild  N    ] virtual/perl-Time-HiRes-1.97.15  0 kB [0]
[ebuild  N    ] dev-libs/libgcrypt-1.4.0-r1  USE="nls -bindist -idea" 0 kB [0]
[ebuild  N    ] net-analyzer/net-snmp-5.4.2.1  USE="python ssl tcpd -X -diskio -doc -elf -extensible -ipv6 -lm_sensors -mfd-rewrites -minimal -perl -rpm (-selinux) -sendmail -smux" 0 kB [0]
[ebuild  N    ] dev-perl/net-server-0.97  0 kB [0]
[ebuild  N    ] virtual/perl-Storable-2.18  0 kB [0]
[ebuild  N    ] virtual/perl-Test-Simple-0.80  0 kB [0]
[ebuild  N    ] dev-libs/libassuan-1.0.4  0 kB [0]
[ebuild  N    ] dev-lang/php-5.2.8-r2  USE="apache2 berkdb bzip2 cgi cli crypt ctype force-cgi-redirect ftp gd iconv imap kolab ldap ncurses nls pcre readline reflection session snmp spl sqlite ssl truetype unicode xml zlib -adabas -bcmath -birdstep -calendar -cdb -cjk -concurrentmodphp -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -frontbase -gd-external -gdbm -gmp -hash -inifile -interbase -iodbc -ipv6 (-java-external) -json -kerberos -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -soap -sockets -solid -spell -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip -zip-external" 0 kB [0]
[ebuild  N    ] perl-core/IO-Compress-Base-2.015  USE="-test" 0 kB [0]
[ebuild  N    ] virtual/perl-digest-base-1.15  0 kB [0]
[ebuild  N    ] dev-perl/MailTools-1.77  0 kB [0]
[ebuild  N    ] dev-perl/XML-Filter-BufferText-1.01  0 kB [0]
[ebuild  N    ] dev-perl/HTML-Tree-3.23  0 kB [0]
[ebuild  N    ] dev-libs/libksba-1.0.3  0 kB [0]
[ebuild  N    ] dev-php/PEAR-PEAR-1.6.2-r1  0 kB [0]
[ebuild  N    ] virtual/perl-IO-Compress-Base-2.015  0 kB [0]
[ebuild  N    ] dev-perl/Digest-SHA1-2.11  0 kB [0]
[ebuild  N    ] dev-perl/XML-SAX-Writer-0.50  0 kB [0]
[ebuild  N    ] dev-php/smarty-2.6.21  USE="-doc" 0 kB [0]
[ebuild  N    ] app-crypt/gnupg-2.0.9  USE="bzip2 nls -doc -ldap -openct -pcsc-lite (-selinux) -smartcard" 0 kB [0]
[ebuild  N    ] dev-php/PEAR-Net_Socket-1.0.8  0 kB [0]
[ebuild  N    ] dev-perl/Digest-HMAC-1.01-r1  0 kB [0]
[ebuild  N    ] perl-core/IO-Compress-Zlib-2.015  USE="-test" 0 kB [0]
[ebuild  N    ] dev-php/PEAR-Auth_SASL-1.0.2  0 kB [0]
[ebuild  N    ] dev-perl/IO-Compress-Bzip2-2.015  0 kB [0]
[ebuild  N    ] dev-php/PEAR-Horde-Channel-1.0  0 kB [1]
[ebuild  N    ] net-mail/kolab-webadmin-2.1  0 kB [1]
[ebuild  N    ] dev-perl/Authen-SASL-2.12  USE="-kerberos" 0 kB [0]
[ebuild  N    ] virtual/perl-IO-Compress-Zlib-2.015  0 kB [0]
[ebuild  N    ] dev-perl/Net-DNS-0.63  USE="-ipv6" 0 kB [0]
[ebuild  N    ] dev-php/horde-framework-kolab-3.2_alpha-r1  0 kB [1]
[ebuild  N    ] dev-php/PEAR-Net_SMTP-1.2.10  USE="-minimal" 0 kB [0]
[ebuild  N    ] dev-php/PEAR-Net_LMTP-1.0.1-r1  0 kB [0]
[ebuild  N    ] dev-php/PEAR-Net_IMAP-1.1.0_beta1  0 kB [1]
[ebuild  N    ] perl-core/Compress-Zlib-2.015  USE="-test" 0 kB [0]
[ebuild  N    ] dev-perl/perl-ldap-0.34  USE="sasl ssl xml" 0 kB [0]
[ebuild  N    ] virtual/perl-Compress-Zlib-2.015  0 kB [0]
[ebuild  N    ] perl-core/IO-Zlib-1.09  0 kB [0]
[ebuild  N    ] virtual/perl-IO-Zlib-1.09  0 kB [0]
[ebuild  N    ] perl-core/Archive-Tar-1.40  USE="bzip2" 0 kB [0]
[ebuild  N    ] virtual/perl-Archive-Tar-1.40  0 kB [0]
[ebuild  N    ] perl-core/Module-Build-0.28.08  0 kB [0]
[ebuild  N    ] virtual/perl-Module-Build-0.28.08  0 kB [0]
[ebuild  N    ] perl-core/ExtUtils-CBuilder-0.23  0 kB [0]
[ebuild  N    ] virtual/perl-ExtUtils-CBuilder-0.23  0 kB [0]
[ebuild  N    ] perl-core/ExtUtils-ParseXS-2.19  0 kB [0]
[ebuild  N    ] virtual/perl-ExtUtils-ParseXS-2.19  0 kB [0]
[ebuild  N    ] perl-core/version-0.76  0 kB [0]
[ebuild  N    ] perl-core/File-Spec-3.27.01  0 kB [0]
[ebuild  N    ] virtual/perl-version-0.76  0 kB [0]
[ebuild  N    ] virtual/perl-File-Spec-3.27.01  0 kB [0]
[ebuild  N    ] perl-core/Text-Balanced-2.0.0  0 kB [0]
[ebuild  N    ] dev-perl/Archive-Zip-1.23  0 kB [0]
[ebuild  N    ] virtual/perl-Text-Balanced-2.0.0  0 kB [0]
[ebuild  N    ] dev-perl/Parse-RecDescent-1.94  0 kB [0]
[ebuild  N    ] dev-perl/Mail-IMAPClient-2.2.9  0 kB [0]
[ebuild  N    ] dev-php/PEAR-Mail_Mime-1.5.2  0 kB [0]
[ebuild  N    ] dev-php/PEAR-Mail_mimeDecode-1.5.0  0 kB [0]
[ebuild  N    ] net-mail/kolab-resource-handlers-2.1  0 kB [1]
[ebuild  N    ] dev-perl/Crypt-SSLeay-0.57  0 kB [0]
[ebuild  N    ] dev-perl/libwww-perl-5.805  USE="ssl" 0 kB [0]
[ebuild  N    ] dev-perl/MIME-tools-5.420  0 kB [0]
[ebuild  N    ] mail-filter/spamassassin-3.2.1-r1  USE="ssl -berkdb -doc -ipv6 -ldap -mysql -postgres -qmail -sqlite -tools" 0 kB [0]
[ebuild  N    ] dev-perl/perl-kolab-2.1  0 kB [1]
[ebuild  N    ] dev-perl/Convert-TNEF-0.17-r2  0 kB [0]
[ebuild  N    ] mail-filter/amavisd-new-2.6.1-r1  USE="-courier -dkim -ldap -milter -mysql -postgres -qmail -razor -spamassassin" 0 kB [0]
[ebuild  N    ] net-mail/kolabd-2.1  USE="-horde -legacy -spam -webdav" 0 kB [1]

Total: 133 packages (133 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/kolab

Or can it be a problem with my USE-flags?

Thanx for Your help!
Logged
Uli-DD70
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #4 on: March 17, 2009, 01:55:01 PM »

Is there somebody out there, who can help me? Gib es jemanden, der eine Idee hat?

Uli
Logged
dmitri
Newbie
*

Karma: 0
Posts: 1


View Profile
« Reply #5 on: June 25, 2009, 10:02:20 PM »

i have same issue with new installation
Logged
amasidlover
Newbie
*

Karma: 0
Posts: 1


View Profile
« Reply #6 on: July 19, 2009, 01:18:37 PM »

This should be fixable by doing emerge perl-ldap - looks like this problem is fixed with the latest ebuilds as they pulled in perl-ldap.
Logged
has007
Newbie
*

Karma: 0
Posts: 1


View Profile WWW Email
« Reply #7 on: August 23, 2009, 04:45:34 PM »

I am having the same issue,emerge perl ldap also didnt help
Logged

tekknokrat
Newbie
*

Karma: 0
Posts: 3


View Profile
« Reply #8 on: September 01, 2009, 02:23:45 PM »

what package versions and what architecture x86/~x86 amd64/~amd64 do you use?
perhaps perl packages are outdated...
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!