On 16/10/08 13:27, Luinnar wrote: > 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: > [40] # if (SIZEOF_INT == 0) > [41] Error: configure did not run properly. Check auto/config.log. > [42] # 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, > Alexey.
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, Tony. -- Your mouse has moved. Windows must be restarted for the change to take effect. Reboot now? --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
