> 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