At 1:41 PM -0400 5/23/02, Brian Tillman wrote:
>I'm trying to build Perl 5.6.1 on a an OpenVMS VAX V7.2 system with Compaq C
>v6.4-5.  When I run CONFIGURE.COM, it insists on adding a /NOANSI_ALIAS
>qualifier, but that qualifier doesn't exist.  Consequently, the build fails.
>
>What makes CONFIGURE.COM think it needs to add a non-existent qualifier to
>the CC command?

Hmm.  The qualifier has been around at least since DEC C 5.2, though
we only add it for 6.2 and higher.  Perhaps it only exists on Alpha?
I suspect no one has ever built Perl on a VAX with such a recent C
compiler.  Something like the following should get you in business,
if indeed the qualifier simply doesn't exist on VAX:

--- configure.com;-0    Tue May 21 18:21:02 2002
+++ configure.com       Thu May 23 13:14:46 2002
@@ -1803,7 +1803,7 @@
 $   echo "You are using Dec C ''line'"
 $   ccversion = line
 $   Dec_C_Version = F$INTEGER(line)
-$   IF Dec_C_Version .GE. 60200000
+$   IF Dec_C_Version .GE. 60200000 .AND. archname .NES. "VMS_VAX"
 $   THEN
 $     echo4 "adding /NOANSI_ALIAS qualifier to ccflags."
 $     ccflags = ccflags + "/NOANSI_ALIAS"
[end]
-- 
____________________________________________
Craig A. Berry                  
mailto:[EMAIL PROTECTED]

"Literary critics usually know what they're
talking about. Even if they're wrong."
        -- Perl creator Larry Wall

Reply via email to