MS 44.5 perl warning during install

Alex Neuman van der Hans alex at NKPANAMA.COM
Wed Aug 3 15:29:47 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Brad Beckenhauer wrote:

>>>>Alex Neuman van der Hans<alex at NKPANAMA.COM> 8/3/2005 12:45:07 AM >>>
>>>>        
>>>>
>Brad Beckenhauer wrote:
>
>  
>
>>Hello.
>>
>>Just upgraded from 4.43.7 to 4.44.5 this evening using the tarball and got a perl warning that I've not seen before:
>>
>><snip>
>>Once you have checked that MailScanner.new contains what
>>you want, you can then save your old one and move the new
>>one into place, using commands like these:
>> mv -f MailScanner.conf MailScanner.old
>> mv -f MailScanner.new  MailScanner.conf
>>perl: warning: Setting locale failed.
>>perl: warning: Please check that your locale settings:
>>       LANGUAGE = (unset),
>>       LC_ALL = (unset),
>>       LC_COLLATE = "C",
>>       LANG = "etc/reports/en/languages.conf"
>>   are supported and installed on your system.
>>perl: warning: Falling back to the standard locale ("C").
>>
>></snip>
>>
>>My perl version:
>>[root at mail]# perl -v 
>>This is perl, v5.8.7 built for i686-linux-thread-multi
>>
>>I reboot the system and then checked the environment
>>[root at mail]# set
>><snip>
>>LANG=en_US
>>LC_COLLATE=C
>></snip>
>>
>>Note: LC_ALL is not set
>>
>>I re-ran the install and got the same warning.
>>
>>I've not activated the 4.44.5 version yet, so I don't know if there are any possible MS Run issues.
>>
>>I'm not a perl whiz and I'm not sure from my research if this is an MS install issue or if I need to be looking more at my system config.
>>Is anyone else getting this perl warning?
>>Something in the MS install script?
>>Suggestions on what I should look at?
>>
>>thanks
>>Brad
>>
>>------------------------ MailScanner list ------------------------
>>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>>'leave mailscanner' in the body of the email.
>>Before posting, read the Wiki (http://wiki.mailscanner.info/) and
>>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>
>>Support MailScanner development - buy the book off the website!
>> 
>>
>>    
>>
>export LANG=C before you install... better yet, set LANG=C to be your 
>default locale (in RH it's in /etc/sysconfig/i18n)...
>
>
>Thanks Alex..  I tried your suggestion that and still get the warning...
>I've re-install one of my previous versions 4-43.7 and the warning persists, so I'm pretty sure it's a local problem and not something with the MS install script.  Then I noticed that version 4-44.6 was current (could not find the announcement), so I installed it...  Same warning.
>
>I ran v4-44.6 briefly and observed no errors, the perl warning appears only near the end of the install so is the warning only cosmetic??
>
>thanks
>
>------------------------ MailScanner list ------------------------
>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>'leave mailscanner' in the body of the email.
>Before posting, read the Wiki (http://wiki.mailscanner.info/) and
>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
>Support MailScanner development - buy the book off the website!
>  
>
Depends of what your definition of 'is' is :)

What I've seen is that Julian's install script chokes while rpmbuild 
--rebuild 'ing the src.rpm's because of a failed dependency. Since 
perl-Archive-Zip is not installed, it's listed as a missing dependency, 
even if the corresponding built-from-CPAN module is installed and 
working. If you don't want to see the error, try:

1. rpmbuild --rebuild perl-Archive-Zip-whatever.src.rpm from Julian's 
rpm tarfile. What happens there? If it goes through without a problem, 
you'll have an rpm file sitting somewhere (probably 
/usr/src/redhat/RPMS/noarch/) called perl-Archive-Zip-whatever.rpm which 
you can rpm -Uvh to install.
2. If that doesn't work, try getting cpan2rpm from 
ftp://arix.com/cpan2rpm-2.028-1.noarch.rpm and installing it, then doing 
a "cpan2rpm Archive::Zip"; this should get you a 
/usr/src/redhat/RPMS/noarch/perl-Archive-Zip-1.16-1.noarch.rpm which you 
can then install using rpm -Uvh 
/usr/src/redhat/RPMS/noarch/perl-Archive-Zip-1.16-1.noarch.rpm - that 
should take care of the Archive-Zip dependency. Do the same for the 
other modules.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list