I am trying to build GNU screen on CentOS 6 Minimal and
When I type the command ./configure
it gives me this error
you have neither usable sockets nor usable pipes -> no screen
I tried to use yum update
and yum provide */stropts.h
Still gives me the same error
when I type the command make
it gives me that error
pty.c:38:26: error: sys/stropts.h: No such file or directory
How should I solve it?
Pleas don't answer
use yum install screen
Best Answer
On Redhat based distros it's often easier to install a group of tools for a particular task rather than try and guess what one might need. You can use
yum
to get the list of groups that are availble.You can limit this list to developer types of groups like this:
To install:
This group of packages should cover most of the opensource software you'll try and install. There will of course be outliers. If you encounter missing libraries you'll need to install the binary form of the library and the headers (for compilation).
Example
For the library
libmng
there are 4 packages available.So you'll need to install these types of packages to do a compilation. The libraries are always named
<lib name>
and the corresponding headers are named<lib name>-devel
on Redhat distros.