On Mon, 12 Feb 2001, Renald Buter wrote:

> Hello,
> 
> Configure dies on me in subconfigure.com:
> <snap>
>       %CONFIG-I-RESULT d_gethent is define
>       %CONFIG-I-RESULT d_getnent is define
>       %CONFIG-I-RESULT d_getpent is define
>       %CONFIG-I-RESULT d_getsent is define
>       Pyramid_$
> </snap>
> 
> Compiling [.vms]temp.c gives:
> 
> <snap>
>       Pyramid_$ cc/decc temp
> 
>       socklen_t x = 16;
>       ^
>       %CC-E-BADPARSEDECL, In this declaration, "socklen_t" must specify a type.
>       at line number 8 in file DATA:[PERL-5_6_0.VMS]TEMP.C;255
> </snap>
> 
> Any suggestions?

What does the following produce for you?

  cc/version nl:

You might need to work around that test (although it is unclear why).
Here is a possible diff (VMS DIFFERENCES style) to affect the workaround:

$ diff [.vms]subconfigure.com
************
File DRA6:[PERL-5_6_0.VMS]SUBCONFIGURE.COM;2
 3050   $ if ("''Has_Dec_C_Sockets'".eqs."T").or.("''Has_Socketshr'".eqs."T") .and. -
 3051      1.eq. 0
 3052   $ THEN
******
File DRA6:[PERL-5_6_0.VMS]SUBCONFIGURE.COM;1
 3050   $ if ("''Has_Dec_C_Sockets'".eqs."T").or.("''Has_Socketshr'".eqs."T")
 3051   $ THEN

Also, do you need 5.6.0?  Can you make do with 5.005_03 or would you be
willing to put 5.6.1-trial2 into production?

Peter Prymmer


Reply via email to