[erlang-bugs] R15B01 Bug - Fail to Compile in Solaris 5.10 - i386-pc-solaris2.10/opt/smp/hipe_x86_bifs.S:2176:2: error: #endif without #if

Kostis Sagonas kostis@REDACTED
Sun May 20 20:03:55 CEST 2012


On 05/20/2012 07:56 PM, Fabrício Dias wrote:
> Uowww....it works...
>
> I changed path to:
> export PATH=/usr/sbin:/usr/bin:/opt/csw/bin:/opt/csw/i386-pc-solaris2.9/bin
>
> ...
>
> -bash-3.00# m4 --version
> m4 (GNU M4) 1.4.16
>
> Thanks Mikael Pettersson

This is not the first time that this is reported. The question is why 
the configure script doesn't report some error if the m4 found in the 
path is not GNU m4, which is required.

> 2012/5/20 Mikael Pettersson <mikpe@REDACTED <mailto:mikpe@REDACTED>>
>
>     Make sure m4 is a link to GNU m4, not /usr/ccs/bin/m4,

Perhaps somebody who is knowledgeable about configure scripts can 
investigate this and provide some appropriate patch (test for GNU m4) so 
that Solaris users do not experience such compilation errors.

Kostis



More information about the erlang-bugs mailing list