* [libgpiod][PATCH] README: list the development packages required to build the library
@ 2024-07-04 14:24 Bartosz Golaszewski
2024-07-04 14:50 ` Kent Gibson
0 siblings, 1 reply; 4+ messages in thread
From: Bartosz Golaszewski @ 2024-07-04 14:24 UTC (permalink / raw)
To: Kent Gibson, Linus Walleij; +Cc: linux-gpio, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
The error messages emitted by configure when either libtool, pkg-config
or autoconf-archive packages are missing on the host are not very clear
and seem to cause confusion among users building the project from
sources. List the required packages in the README.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
README | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/README b/README
index a6f24d1..a20e801 100644
--- a/README
+++ b/README
@@ -34,6 +34,11 @@ BUILDING
This is a pretty standard autotools project. The core C library does not have
any external dependencies other than the standard C library with GNU extensions.
+The build system requires autotools, autoconf-archive, libtool and pkg-config
+to be installed on the host system for the basic build. Development files for
+additional libraries may be required depending on selected options. The
+configure script will typically prompt the user for them clearly when missing.
+
The command-line tools optionally depend on libedit for the interactive feature.
To build the project (including command-line utilities) run:
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [libgpiod][PATCH] README: list the development packages required to build the library
2024-07-04 14:24 [libgpiod][PATCH] README: list the development packages required to build the library Bartosz Golaszewski
@ 2024-07-04 14:50 ` Kent Gibson
2024-07-04 14:57 ` Bartosz Golaszewski
0 siblings, 1 reply; 4+ messages in thread
From: Kent Gibson @ 2024-07-04 14:50 UTC (permalink / raw)
To: Bartosz Golaszewski; +Cc: Linus Walleij, linux-gpio, Bartosz Golaszewski
On Thu, Jul 04, 2024 at 04:24:51PM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> The error messages emitted by configure when either libtool, pkg-config
> or autoconf-archive packages are missing on the host are not very clear
> and seem to cause confusion among users building the project from
> sources. List the required packages in the README.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> ---
> README | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/README b/README
> index a6f24d1..a20e801 100644
> --- a/README
> +++ b/README
> @@ -34,6 +34,11 @@ BUILDING
> This is a pretty standard autotools project. The core C library does not have
> any external dependencies other than the standard C library with GNU extensions.
>
> +The build system requires autotools, autoconf-archive, libtool and pkg-config
> +to be installed on the host system for the basic build. Development files for
> +additional libraries may be required depending on selected options. The
> +configure script will typically prompt the user for them clearly when missing.
> +
typically? Shouldn't that always be the case?
"prompt" makes it seem interactive.
I would reword as "The configure script will report any missing additional
required dependencies."
Cheers,
Kent.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [libgpiod][PATCH] README: list the development packages required to build the library
2024-07-04 14:50 ` Kent Gibson
@ 2024-07-04 14:57 ` Bartosz Golaszewski
2024-07-04 15:10 ` Kent Gibson
0 siblings, 1 reply; 4+ messages in thread
From: Bartosz Golaszewski @ 2024-07-04 14:57 UTC (permalink / raw)
To: Kent Gibson; +Cc: Linus Walleij, linux-gpio, Bartosz Golaszewski
On Thu, Jul 4, 2024 at 4:50 PM Kent Gibson <warthog618@gmail.com> wrote:
>
> On Thu, Jul 04, 2024 at 04:24:51PM +0200, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> >
> > The error messages emitted by configure when either libtool, pkg-config
> > or autoconf-archive packages are missing on the host are not very clear
> > and seem to cause confusion among users building the project from
> > sources. List the required packages in the README.
> >
> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> > ---
> > README | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/README b/README
> > index a6f24d1..a20e801 100644
> > --- a/README
> > +++ b/README
> > @@ -34,6 +34,11 @@ BUILDING
> > This is a pretty standard autotools project. The core C library does not have
> > any external dependencies other than the standard C library with GNU extensions.
> >
> > +The build system requires autotools, autoconf-archive, libtool and pkg-config
> > +to be installed on the host system for the basic build. Development files for
> > +additional libraries may be required depending on selected options. The
> > +configure script will typically prompt the user for them clearly when missing.
> > +
>
> typically? Shouldn't that always be the case?
>
I used the word "typically" because I am simply not sure if *all*
potentially missing dependencies will get reported correctly. We
identified the ones listed above as causing confusing error message.
Maybe there are more, just unreported (yet)?
> "prompt" makes it seem interactive.
> I would reword as "The configure script will report any missing additional
> required dependencies."
>
Sure, can use this instead.
Bart
> Cheers,
> Kent.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [libgpiod][PATCH] README: list the development packages required to build the library
2024-07-04 14:57 ` Bartosz Golaszewski
@ 2024-07-04 15:10 ` Kent Gibson
0 siblings, 0 replies; 4+ messages in thread
From: Kent Gibson @ 2024-07-04 15:10 UTC (permalink / raw)
To: Bartosz Golaszewski; +Cc: Linus Walleij, linux-gpio, Bartosz Golaszewski
On Thu, Jul 04, 2024 at 04:57:40PM +0200, Bartosz Golaszewski wrote:
> On Thu, Jul 4, 2024 at 4:50 PM Kent Gibson <warthog618@gmail.com> wrote:
> >
> > On Thu, Jul 04, 2024 at 04:24:51PM +0200, Bartosz Golaszewski wrote:
> > > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> > >
> > > The error messages emitted by configure when either libtool, pkg-config
> > > or autoconf-archive packages are missing on the host are not very clear
> > > and seem to cause confusion among users building the project from
> > > sources. List the required packages in the README.
> > >
> > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> > > ---
> > > README | 5 +++++
> > > 1 file changed, 5 insertions(+)
> > >
> > > diff --git a/README b/README
> > > index a6f24d1..a20e801 100644
> > > --- a/README
> > > +++ b/README
> > > @@ -34,6 +34,11 @@ BUILDING
> > > This is a pretty standard autotools project. The core C library does not have
> > > any external dependencies other than the standard C library with GNU extensions.
> > >
> > > +The build system requires autotools, autoconf-archive, libtool and pkg-config
> > > +to be installed on the host system for the basic build. Development files for
> > > +additional libraries may be required depending on selected options. The
> > > +configure script will typically prompt the user for them clearly when missing.
> > > +
> >
> > typically? Shouldn't that always be the case?
> >
>
> I used the word "typically" because I am simply not sure if *all*
> potentially missing dependencies will get reported correctly. We
> identified the ones listed above as causing confusing error message.
> Maybe there are more, just unreported (yet)?
>
You have covered the core dependencies, required just to get configure
to run, so you can assume those are present.
I would consider any other that case produced a confusing error to be a bug
to be fixed when found.
The problem with the "typically" is it normalises such a failure, so
then it wont be reported.
Cheers,
Kent.
> > "prompt" makes it seem interactive.
> > I would reword as "The configure script will report any missing additional
> > required dependencies."
> >
>
> Sure, can use this instead.
>
> Bart
>
> > Cheers,
> > Kent.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-07-04 15:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-04 14:24 [libgpiod][PATCH] README: list the development packages required to build the library Bartosz Golaszewski
2024-07-04 14:50 ` Kent Gibson
2024-07-04 14:57 ` Bartosz Golaszewski
2024-07-04 15:10 ` Kent Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).