bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package global fails to compile on MacOS 11.1


From: Shigio YAMAGUCHI
Subject: Re: Package global fails to compile on MacOS 11.1
Date: Mon, 8 Feb 2021 13:13:33 +0900

Hello,
I apologize for the inconvenience caused by my misunderstanding.
Now, I understand that your patch should be applied to configure.ac.
It will be included in the next release.
Thank you very much.

I apologize for letting you spend your precious time by my
insufficient confirmation.

Regards,
Shigio

2021年2月8日(月) 1:51 Michael Labbé <mlabbe@gmail.com>:
>
> Hello,
>
> I see some traffic today on this issue and it reminded me that I reported it 
> to the autoconf mailing list as requested.  However, I received a response 
> that indicated the problem is indeed not in autoconf.
>
>
> Nick Bowler <nbowler@draconx.ca>:
>
>
> This code does not come from Autoconf, so I'm unsure why you were asked
> to report it here.
>
>
> The code comes from the global package itself (in their configure.ac file):
>
>
>  AC_RUN_IFELSE([AC_LANG_SOURCE([[
>  main(){ (void)realpath("/./tmp", (void *)0); return 0; }
>  ]])],[ac_cv_posix1_2008_realpath=yes],
>  [ac_cv_posix1_2008_realpath=no])
>
>
> This is the where the problem needs to be corrected.
>
> -Mike
>
> On Jan 16, 2021, at 3:35 AM, Shigio YAMAGUCHI <shigio@gnu.org> wrote:
>
> 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é <mlabbe@gmail.com>:
>
>
> 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 <shigio@gnu.org>
> PGP fingerprint:
> 26F6 31B4 3D62 4A92 7E6F  1C33 969C 3BE3 89DD A6EB
>
>


-- 
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F  1C33 969C 3BE3 89DD A6EB



reply via email to

[Prev in Thread] Current Thread [Next in Thread]