Re: GNOME vs GNU gcc & glibc




On Wed, 14 Apr 1999, Sergio Brandano wrote:
> >>>gnome-linuxconf-0.20
> >>>  make failed, details follow:
> >>>io.c:21: sys/select.h: No such file or directory
> 
> >>  I am using the latest Slackware (3.6), where gcc-2.7.2.3 and libc5.4.46
> >>  are installed. You referred to glibc-devel, so I guess you are using 
> >>  glibc-2.1 instead of libc5. 
> 
> >No, I am using glibc 2.0.  But GNOME works pretty much on every
> >system.  I am starting to believe that the package you installed for
> >slackware is either incomplete or corrupt or that you need a separate
> >"development" package to be installed.
> 
>  I checked in both libc-5.4.46.tar.gz and gcc-2.7.2.3.tar.gz, but no
>  select.h file exists or can be generated by.
> 
>  I then checked in glibc-2.1.tar.gz;
>  the file appears in include/sys/select.h.
> 
>  It seems I have found something that depends on glibc.

The select function allows a program to watch a file's status and wait for
it to become available to read/write/whatever.  The function is manditory
in the Unix(tm) specification, the BSD 4.3 and the draft LSB
specification, it is not glibc-specific.

If I recall, the function is in sys/types.h in libc5 and BSD systems. 
Assuming the function is available in libc5, it should be simple to select
the right include file for it via configure.

Best of Luck,
-Gleef



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