screen-devel
[Top][All Lists]
Advanced

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

Re: [screen-devel] [bug #59465] GNU Screen fails to build on macOS with


From: Clark Wang
Subject: Re: [screen-devel] [bug #59465] GNU Screen fails to build on macOS with Xcode 12
Date: Thu, 20 Jan 2022 10:36:19 +0800

> Reply to this item at:
>
>   <https://savannah.gnu.org/bugs/?59465>

I hit the same error on macOS:

$ ./configure --prefix /opt/screen49
[...]
configure: checking select...
configure: checking select with  -lnet -lnsl...
configure: error: !!! no select - no screen

In config.log it says:

configure:4896: checking select...
configure:4909: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c:44:1: error: implicit declaration of function 'select' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

As a workaround:

$ CFLAGS='-Wno-implicit-function-declaration' ./configure --prefix /opt/screen49
[...]
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing default commands

Now please check the pathnames in the Makefile and in the user
configuration section in config.h.
Then type 'make' to make screen. Good luck.

reply via email to

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