Re: [PATCH] issue warnings for more missing optional libraries

2009-10-19 Thread Jim Meyering
Pádraig Brady wrote: ... > Anyway I'll check in the attached patch to coreutils, and would > appreciate if someone could apply the gnulib one. Done. Thanks.

Re: [PATCH] issue warnings for more missing optional libraries

2009-10-19 Thread Pádraig Brady
Bruno Haible wrote: > Pádraig Brady wrote: >> configure: WARNING: libacl development library was not found or not >> usable. >> configure: WARNING: GNU coreutils will be built without ACL support. >> configure: WARNING: libselinux was found but selinux/selinux.h is >> missing. >>

Re: [PATCH] issue warnings for more missing optional libraries

2009-10-19 Thread Ben Pfaff
Bruno Haible writes: > I like it. Even more I like the configure files that print a summary of the > most important decisions or findings at the end of the configuration, thus > giving an opportunity to the user to re-configure with different --with or > --enable options. (Given the size of the c

Re: [PATCH] issue warnings for more missing optional libraries

2009-10-19 Thread Bruno Haible
Pádraig Brady wrote: > configure: WARNING: libacl development library was not found or not > usable. > configure: WARNING: GNU coreutils will be built without ACL support. > configure: WARNING: libselinux was found but selinux/selinux.h is missing. > configure: WARNING: GNU coreuti

Re: [PATCH] issue warnings for more missing optional libraries

2009-10-19 Thread Jim Meyering
Andreas Schwab wrote: > Jim Meyering writes: > >> I figured that making it easier for the vast majority >> compensates for being less than perfectly generic. >> I suspect that targeting apt-based and yum-based distros >> would cover well over 80% of our audience. > > There are also a lot of zypper

Re: [PATCH] issue warnings for more missing optional libraries

2009-10-19 Thread Andreas Schwab
Jim Meyering writes: > I figured that making it easier for the vast majority > compensates for being less than perfectly generic. > I suspect that targeting apt-based and yum-based distros > would cover well over 80% of our audience. There are also a lot of zypper-based systems. :-) Andreas. -

Re: getopt.h broken on FreeBSD

2009-10-19 Thread Sergey Poznyakoff
Hi Jim, > How about just using flex's %top directive? Hm, I overlooked that. Thanks for the suggestion! Regards, Sergey

Re: [PATCH] issue warnings for more missing optional libraries

2009-10-19 Thread Jim Meyering
Pádraig Brady wrote: > Jim Meyering wrote: >> >> What do you think about suggesting with each how to install >> the missing package, e.g., >> >> You can install the required libgmp.* files >> via "yum install gmp-devel" on a fedora-based system, >> or "apt-get install gmp-devel" on a

Re: [PATCH] issue warnings for more missing optional libraries

2009-10-19 Thread Pádraig Brady
Jim Meyering wrote: > > What do you think about suggesting with each how to install > the missing package, e.g., > > You can install the required libgmp.* files > via "yum install gmp-devel" on a fedora-based system, > or "apt-get install gmp-devel" on a debian-based system. > > The

Re: [PATCH] issue warnings for more missing optional libraries

2009-10-19 Thread Jim Meyering
Pádraig Brady wrote: > I was going to mention some optional packages for coreutils in README-prereq > > libselinux-devel > libcap-devel > libattr-devel > gmp-devel > libacl-devel > > However these names are linux specific and probably even fedora specific, > so what would be bet

Re: getopt.h broken on FreeBSD

2009-10-19 Thread Jim Meyering
Sergey Poznyakoff wrote: > We've got one more problem with getopt.h. It manifests > itself when compiling lex-generated parsers on FreeBSD. > What happens is the following: the system getopt.h defines > getopt_long, struct option and the accompanying stuff, > but does not define __need_getopt. Cons

getopt.h broken on FreeBSD

2009-10-19 Thread Sergey Poznyakoff
Hi, We've got one more problem with getopt.h. It manifests itself when compiling lex-generated parsers on FreeBSD. What happens is the following: the system getopt.h defines getopt_long, struct option and the accompanying stuff, but does not define __need_getopt. Consequently, gnulib's getopt.h in

[PATCH] issue warnings for more missing optional libraries

2009-10-19 Thread Pádraig Brady
I was going to mention some optional packages for coreutils in README-prereq libselinux-devel libcap-devel libattr-devel gmp-devel libacl-devel However these names are linux specific and probably even fedora specific, so what would be better I think is for configure to give ap

Re: [PATCH] Add myserver to the gnulib users.

2009-10-19 Thread Jim Meyering
Giuseppe Scrivano wrote: > A new gnulib user ;) Congratulations ;-) > Subject: [PATCH] Add myserver to the gnulib users. > > * users.txt: Add myserver. Pushed.

[PATCH] Add myserver to the gnulib users.

2009-10-19 Thread Giuseppe Scrivano
A new gnulib user ;) Cheers, Giuseppe >From 481a2b0f5dd4b8150405ef8902f46e75511e1b94 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 19 Oct 2009 11:43:54 +0200 Subject: [PATCH] Add myserver to the gnulib users. * users.txt: Add myserver. --- users.txt |1 + 1 files changed, 1

Re: Fix a linker error when used by a C++ program

2009-10-19 Thread Giuseppe Scrivano
Bruno Haible writes: > Giuseppe Scrivano wrote: >> I am going to use gnulib in a C++ program. This is the first problem I >> encountered. > >> diff --git a/lib/nproc.h b/lib/nproc.h >> index fe5b57e..4a8b4d4 100644 >> --- a/lib/nproc.h >> +++ b/lib/nproc.h >> @@ -18,4 +18,13 @@ >> >> /* Writt

Re: Fix a linker error when used by a C++ program

2009-10-19 Thread Bruno Haible
Giuseppe Scrivano wrote: > I am going to use gnulib in a C++ program. This is the first problem I > encountered. > diff --git a/lib/nproc.h b/lib/nproc.h > index fe5b57e..4a8b4d4 100644 > --- a/lib/nproc.h > +++ b/lib/nproc.h > @@ -18,4 +18,13 @@ > > /* Written by Glen Lenker. */ > > +/* Al