SA Bugzilla – Bug 2765
Unable to build SA 2.60 on RHEL ES V3
Last modified: 2003-11-18 22:35:24 UTC
I am unable to build SpamAssassin 2.60 under Red Hat Enterprise Linux ES Version 3. First, when I run "perl Makefile.PL", the installer complains about being unable to find the pod2man program, even though when I do a "which pod2man", it clearly shows it as in /usr/bin/pod2man. Secondly, there appears to be major syntax errors in the resulting Makefile with unmatched single quotes and line fragmenents. For example, the line "INSTALLVENDORLIB = ib/perl5'" is clearly incorrect. I will attach a complete copy of the Makefile immediately after I file this bug report.
Created attachment 1573 [details] Defective Makefile generated on RHEL ES 3 This Makefile contains what seems to me to be obvious syntax errors.
Subject: Re: [SAdev] New: Unable to build SA 2.60 on RHEL ES V3 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This has been a known bug in Red Hat distributions for a while. perl 5.8 as packaged by RH uses utf-8 by default, and ExtUtils::MakeMaker does not seem to support that. Set "LANG=C" in the environment before building to work around. - --j. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Exmh CVS iD8DBQE/umVpQTcbUG5Y7woRAnyYAKDrqjhrluJ+G8kDjRWEIpC4C4EhpQCgx8fa M5mUJJrK2jEt3esEuCr9ga4= =1MMV -----END PGP SIGNATURE-----
Given that this is a Red Hat system, why not build from SRPM? I've built 2.60 successfully on RH 7.2 and 8.0. If a locale setting is needed for later RH versions, it should be added to the %build section of the spec file.
Subject: RE: Unable to build SA 2.60 on RHEL ES V3 > This has been a known bug in Red Hat distributions for a while. perl 5.8 > as packaged by RH uses utf-8 by default, and ExtUtils::MakeMaker does not > seem to support that. > Set "LANG=C" in the environment before building to work around. This fixed the problem. Thanks! Harry Bloomberg
Setting LANG=C solved the problem. Thans to all who helped.