Re: Vim 7.2 compilation error on Solaris 10
> On 16/10/08 13:27, Luinnar wrote:Hi Tony,
>> Hi All,
>> I tried to build new vim from sources but compilation failed with the
>> following error:
>> vim.h:41: error: syntax error before ':' token
>> As I see in vim.h it's caused by improper configuration:
>>  # if (SIZEOF_INT == 0)
>>  Error: configure did not run properly. Check auto/config.log.
>>  # endif
>> I checked auto/config.log and found a lot of failed programs there, but
>> I have no idea how to fix them. Could someone please help me here?
>> I've attached config.log and output of ./configure&& make.
>> Best regards,
> Tony Mechelynck wrote:
> Failed programs in auto/config.log are not necessarily /per se/ a fatal
> error. Configure makes a lot of tests; many of these tests involve
> running programs and catching, for instance, their exit status, which,
> even in successful configure runs, is not always zero for all programs.
> Depending on the result of those tests, configure may change how the
> subsequent compile is "configured".
> If configure fails, the error is usually evident not only near the end
> of auto/config.log but also (and sometimes more obviously) near the end
> of the sysout/syserr output of configure.
> In the present case, it appears that configure could not determine
> sizeof(int) i.e., the size in bytes of the "integer" data type on the
> platform on which it was running. I suppose that some standard C header
> file either was missing, or else was in a different directory than those
> searched for include files.
> See also http://users.skynet.be/antoine.mechelynck/vim/compunix.htm
> Best regards,
Thank you, I found the cause of the failure - old libraries.
I've built the vim now.
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php