Re: Package global fails to compile on MacOS 11.1
Shigio YAMAGUCHI <[email protected]> Sat, 16 Jan 2021 20:35:34 +0900
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <CADJmJYrW4Q=_0ZFOLtTgwLpkG_0EyAF2G83gApKwB2SjTw+6ZA@mail.gmail.com> |
Hello, Thank you for the report. Could you please send this report to the autoconf bug mailing list? Since this bug seems to be a autoconf's bug. I cannot do anything, because I don't have a reproduction environment for this problem. Thank you in advance. Regards, Shigio 2021年1月15日(金) 13:22 Michael Labbé <[email protected]>: > > Package global failed to compile on my arm 11.1 system. This is due to an error because realpath cannot be found. The fix is to modify configure to include stdlib.h. > > Line 14291 of configure on global-6.6.5: > > main(){ (void)realpath("/./tmp", (void *)0); return 0; } > > Insert one line before that: > > #include<stdlib.h> > main(){ (void)realpath("/./tmp", (void *)0); return 0; } > > configure now succeeds. -- Shigio YAMAGUCHI <[email protected]> PGP fingerprint: 26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB