All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] ifplugd: add --with-initdir= to config command
@ 2012-08-18 14:04 Shawn J. Goff
  2012-08-21  9:56 ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Shawn J. Goff @ 2012-08-18 14:04 UTC (permalink / raw)
  To: buildroot

From: "Shawn J. Goff" <shawnjgoff@gmail.com>

ifplugd refuses to configure without this set.
---
 package/ifplugd/ifplugd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/ifplugd/ifplugd.mk b/package/ifplugd/ifplugd.mk
index 1e11c14..d031a97 100644
--- a/package/ifplugd/ifplugd.mk
+++ b/package/ifplugd/ifplugd.mk
@@ -12,7 +12,7 @@ IFPLUGD_AUTORECONF = YES
 
 # install-strip unconditionally overwrites $(TARGET_DIR)/etc/ifplugd/ifplugd.*
 IFPLUGD_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install-exec
-IFPLUGD_CONF_OPT = --disable-lynx
+IFPLUGD_CONF_OPT = --disable-lynx --with-initdir=/etc/init.d/
 IFPLUGD_DEPENDENCIES = libdaemon
 
 # Prefer big ifplugd
-- 
1.7.11.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH] ifplugd: add --with-initdir= to config command
  2012-08-18 14:04 [Buildroot] [PATCH] ifplugd: add --with-initdir= to config command Shawn J. Goff
@ 2012-08-21  9:56 ` Thomas Petazzoni
  2012-08-21 13:12   ` Shawn Goff
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2012-08-21  9:56 UTC (permalink / raw)
  To: buildroot

Le Sat, 18 Aug 2012 10:04:16 -0400,
"Shawn J. Goff" <shawnjgoff@gmail.com> a ?crit :

> From: "Shawn J. Goff" <shawnjgoff@gmail.com>
> 
> ifplugd refuses to configure without this set.

When you say "configure", do you mean the execution of the configure
script at build time, or the startup of ifplugd on the target?

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH] ifplugd: add --with-initdir= to config command
  2012-08-21  9:56 ` Thomas Petazzoni
@ 2012-08-21 13:12   ` Shawn Goff
  2012-08-22  7:54     ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Shawn Goff @ 2012-08-21 13:12 UTC (permalink / raw)
  To: buildroot

I mean the configure script fails when building the package.

On Tue, Aug 21, 2012 at 5:56 AM, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:

> Le Sat, 18 Aug 2012 10:04:16 -0400,
> "Shawn J. Goff" <shawnjgoff@gmail.com> a ?crit :
>
> > From: "Shawn J. Goff" <shawnjgoff@gmail.com>
> >
> > ifplugd refuses to configure without this set.
>
> When you say "configure", do you mean the execution of the configure
> script at build time, or the startup of ifplugd on the target?
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120821/dfbc80c8/attachment-0001.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH] ifplugd: add --with-initdir= to config command
  2012-08-21 13:12   ` Shawn Goff
@ 2012-08-22  7:54     ` Thomas Petazzoni
  2012-08-22 12:39       ` Shawn Goff
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2012-08-22  7:54 UTC (permalink / raw)
  To: buildroot

Le Tue, 21 Aug 2012 09:12:46 -0400,
Shawn Goff <shawnjgoff@gmail.com> a ?crit :

> I mean the configure script fails when building the package.

It builds fine here. What problem do you encounter, and with what
configuration?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH] ifplugd: add --with-initdir= to config command
  2012-08-22  7:54     ` Thomas Petazzoni
@ 2012-08-22 12:39       ` Shawn Goff
  2012-08-24 21:46         ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Shawn Goff @ 2012-08-22 12:39 UTC (permalink / raw)
  To: buildroot

Error:
configure: error: missing --with-initdir=DIR
full output from make: http://sprunge.us/eRQT

Config:
http://sprunge.us/TITZ

On Wed, Aug 22, 2012 at 3:54 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
>
> Le Tue, 21 Aug 2012 09:12:46 -0400,
> Shawn Goff <shawnjgoff@gmail.com> a ?crit :
>
> > I mean the configure script fails when building the package.
>
> It builds fine here. What problem do you encounter, and with what
> configuration?
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH] ifplugd: add --with-initdir= to config command
  2012-08-22 12:39       ` Shawn Goff
@ 2012-08-24 21:46         ` Thomas Petazzoni
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2012-08-24 21:46 UTC (permalink / raw)
  To: buildroot

Le Wed, 22 Aug 2012 08:39:55 -0400,
Shawn Goff <shawnjgoff@gmail.com> a ?crit :

> Error:
> configure: error: missing --with-initdir=DIR
> full output from make: http://sprunge.us/eRQT

Ok. It was working here because the ./configure script of ifplug looks
at /etc on the build system to see if /etc/init.d exists. Since it's
the case on my machine, it did work. But apparently, it's not the case
on yours, and it's not good to depend on such thing from the build
machine, so I applied your patch.

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-24 21:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-18 14:04 [Buildroot] [PATCH] ifplugd: add --with-initdir= to config command Shawn J. Goff
2012-08-21  9:56 ` Thomas Petazzoni
2012-08-21 13:12   ` Shawn Goff
2012-08-22  7:54     ` Thomas Petazzoni
2012-08-22 12:39       ` Shawn Goff
2012-08-24 21:46         ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.