error: Failed dependencies

Kevin Miller Kevin_Miller at ci.juneau.ak.us
Thu May 7 21:44:47 IST 2009


Same issue the other day.  I added the tagset perl package in YaST and then it did fine.
Before installing MailScanner, I add the following packages:
sendmail, sendmail-devel, mysql, php5-mysql, gcc, zlib, zlib-devel, gmp, curl, python, python-devel, unzip, bzip2, bzip2-devel, apache2, apach2-modphp5, apach2-prefork, php5-session, bind (DNS), perl-libwww-perl, perl-Digest-HMAC, perl-net-DNS, perl-convert-tnef, php5-gd
 
Note that the apache & php stuff is for MailWatch, not MailScanner.  One of the packages in the list isn't on SLES, but was on earlier versions of openSUSE.  May still be - just haven't installed MailScanner on a recent version of openSUSE.  IIRC, it was bzip2-devel, but I don't remember for sure.  Sometimes I'd have to check the "Provides" box in YAST as the perl module will be in a bundle with a different name.

HTH...

...Kevin
--
Kevin Miller                Registered Linux User No: 307357
CBJ MIS Dept.               Network Systems Admin., Mail Admin.
155 South Seward Street     ph: (907) 586-0242
Juneau, Alaska 99801        fax: (907 586-4500


 

________________________________

From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Gary Faith
Sent: Thursday, May 07, 2009 12:22 PM
To: mailscanner at lists.mailscanner.info
Subject: Re: error: Failed dependencies


Sorry to jump in the middle of this but I think it might be relevant.  This morning, I just downloaded the Suse version of MailScaner 4.76.24-3 and I am sure that Perl 5.8.8 installed.
 
I ran install.sh fast.  When I attempted to start MailScanner, I got errors pertaining to perl-HTML-Tagset so I did another install.sh this time without using the fast.  I monitored the output of the install process and verified that these errors were logged.
 
Attempting to build and install perl-HTML-Tagset-3.03-2
error: Failed build dependencies:
        perl >= 0:5.00503 is needed by perl-HTML-Tagset-3.03-2.noarch
Installing perl-HTML-Tagset-3.03-2.src.rpm
 
Missing file /usr/src/packages/RPMS/noarch/perl-HTML-Tagset-3.03-2.noarch.rpm.
Maybe it did not build correctly?
 
Attempting to build and install perl-Convert-TNEF-0.17-2
error: Failed build dependencies:
        perl >= 0:5.00503 is needed by perl-Convert-TNEF-0.17-2.noarch
Installing perl-Convert-TNEF-0.17-2.src.rpm
 
Missing file /usr/src/packages/RPMS/noarch/perl-Convert-TNEF-0.17-2.noarch.rpm.
Maybe it did not build correctly?

I downloaded from the SLES SP2 DVD and installed perl-HTML-Tagset-3.20-2.1.x86_64.rpm.  Restarted MailScanner and it works fine.  I found an x86_64 SLES rpm for perl-Convert-TNEF on the DVD also.  One problem I still have is in perl-Storable.  It fails to install with this error:
 
t/weak................Weak references are not implemented in the version of perl at t/weak.t line 28
BEGIN failed--compilation aborted at t/weak.t line 33.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
Failed Test Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/weak.t     255 65280    ??   ??  ??
2 tests skipped.
Failed 1/32 test scripts. 0/2204 subtests failed.
Files=32, Tests=2204,  2 wallclock secs ( 1.23 cusr +  0.27 csys =  1.50 CPU)
Failed 1/32 test programs. 0/2204 subtests failed.
make: *** [test_dynamic] Error 255
error: Bad exit status from /var/tmp/rpm-tmp.99024 (%build)

 
Gary Faith

>>> Scott Silva <ssilva at sgvwater.com> 5/7/2009 3:21 PM >>>
on 5-7-2009 7:04 AM Meurlin Robert spake the following:
> I doesnt get it to work, have reinstalled perl,perl-MIME-tools
> 
> error: File not found by glob: tnef*.package
> error: open of perl failed: No such file or directory
> error: open of is failed: No such file or directory
> error: open of not failed: No such file or directory
> error: open of installed.rpm failed: No such file or directory
> 
> Now to install MailScanner itself.
> 
> NOTE: If you get lots of errors here, run the install.sh script
> NOTE: again with the command "./install.sh nodeps"
> 
> error: Failed dependencies:
>         /usr/bin/perl is needed by mailscanner-4.76.24-3
>         perl >= 5.005 is needed by mailscanner-4.76.24-3
>         perl-MIME-tools >= 5.412 is needed by mailscanner-4.76.24-3
> 
> and get this when when I start yast:
> 
> Error loading language plugin /usr/lib64/YaST2/plugin/libpy2lang_perl.so: libperl.so: cannot open shared object file: No such file or directory
> 
> and I can't reinstall the packages.
> 
> When I start MailScanner:
> Initializing MailScannerCan't locate Filesys/Df.pm in @INC (@INC contains: /usr/lib/MailScanner /root/localperl/lib/5.8.9/x86_64-linux /root/localperl/lib/5.8.9 /root/localperl/lib/site_perl/5.8.9/x86_64-linux /root/localperl/lib/site_perl/5.8.9 . /usr/lib/MailScanner) at /usr/sbin/MailScanner line 66.
> BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 66.
> 
> Any tip?
> 


Are you sure you are installing the SUSE RPM package and not the RedHat RPM
package?






More information about the MailScanner mailing list