Bug 2765 - Unable to build SA 2.60 on RHEL ES V3
Summary: Unable to build SA 2.60 on RHEL ES V3
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Building & Packaging (show other bugs)
Version: 2.60
Hardware: Other Linux
: P5 major
Target Milestone: 2.70
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 07:25 UTC by Harry Bloomberg
Modified: 2003-11-18 22:35 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status
Defective Makefile generated on RHEL ES 3 text/plain None Harry Bloomberg [NoCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description Harry Bloomberg 2003-11-18 07:25:43 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.
Comment 1 Harry Bloomberg 2003-11-18 07:27:06 UTC
Created attachment 1573 [details]
Defective Makefile generated on RHEL ES 3

   This Makefile contains what seems to me to be obvious syntax errors.
Comment 2 Justin Mason 2003-11-18 10:31:12 UTC
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-----

Comment 3 Kenneth Porter 2003-11-18 11:11:25 UTC
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.
Comment 4 Harry Bloomberg 2003-11-19 07:34:50 UTC
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

Comment 5 Harry Bloomberg 2003-11-19 07:35:24 UTC
Setting LANG=C solved the problem.  Thans to all who helped.