From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] fcgiwrap: new package
Date: Wed, 27 May 2015 15:21:40 +0200 [thread overview]
Message-ID: <87twuyw3yz.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1432657468-17210-1-git-send-email-thomas.claveirole@green-communications.fr> (Thomas Claveirole's message of "Tue, 26 May 2015 18:24:28 +0200")
>>>>> "Thomas" == Thomas Claveirole <thomas.claveirole@green-communications.fr> writes:
> Add package fcgiwrap from https://nginx.localdomain.pl/wiki/FcgiWrap
> fcgiwrap is a simple server for running CGI applications over
> FastCGI. It hopes to provide clean CGI support to Nginx (and other web
> servers that may need it).
> Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
> ---
> package/Config.in | 1 +
> package/fcgiwrap/Config.in | 10 ++++++++++
> package/fcgiwrap/fcgiwrap.mk | 19 +++++++++++++++++++
> 3 files changed, 30 insertions(+)
> create mode 100644 package/fcgiwrap/Config.in
> create mode 100644 package/fcgiwrap/fcgiwrap.mk
> diff --git a/package/Config.in b/package/Config.in
> index e0c2e2a..188ff0d 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1168,6 +1168,7 @@ endif
> source "package/ejabberd/Config.in"
> source "package/ethtool/Config.in"
> source "package/faifa/Config.in"
> + source "package/fcgiwrap/Config.in"
> source "package/fmc/Config.in"
> source "package/foomatic-filters/Config.in"
> source "package/fping/Config.in"
> diff --git a/package/fcgiwrap/Config.in b/package/fcgiwrap/Config.in
> new file mode 100644
> index 0000000..a5c15a0
> --- /dev/null
> +++ b/package/fcgiwrap/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_FCGIWRAP
> + bool "fcgiwrap"
> + depends on BR2_USE_MMU # Transitive dependency from libfcgi.
> + select BR2_PACKAGE_LIBFCGI
> + help
> + fcgiwrap is a simple server for running CGI applications
> + over FastCGI. It hopes to provide clean CGI support to Nginx
> + (and other web servers that may need it).
> +
> + https://nginx.localdomain.pl/wiki/FcgiWrap
FYI, the trac instance at that location seems to have some database
issues.
Thanks, but it doesn't work here:
>>> fcgiwrap 1.1.0 Autoreconfiguring
configure.ac:32: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /home/peko/source/buildroot/output/host/usr/bin/autoconf failed with exit status: 1
package/pkg-generic.mk:146: recipe for target '/home/peko/source/buildroot/output/build/fcgiwrap-1.1.0/.stamp_configured' failed
From a quick look it seems like you are missing a dependency on
host-pkgconf. With that added autoreconf works, but configure fails to
detect libfcgi when linking statically because you are passing LIBS=-lm
to it.
With that fixed, linking fails as LDFLAGS (and hence your -lm) comes
before -lfcgi, so I guess you should add LDLIBS='-lfcgi -lm' to
_MAKE_OPTS instead.
Care to fix these issues and resend? Thanks!
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2015-05-27 13:21 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-26 16:24 [Buildroot] [PATCH 1/1] fcgiwrap: new package Thomas Claveirole
2015-05-27 13:21 ` Peter Korsgaard [this message]
2015-05-28 15:36 ` [Buildroot] [PATCH v2 0/2] " Thomas Claveirole
2015-05-28 15:36 ` [Buildroot] [PATCH v2 1/2] libfcgi (0003-link-against-math.patch): Do actually link when needed Thomas Claveirole
2015-05-28 22:00 ` Arnout Vandecappelle
2015-05-28 15:36 ` [Buildroot] [PATCH v2 2/2] fcgiwrap: new package Thomas Claveirole
2015-05-28 15:48 ` Thomas Claveirole
2015-05-28 22:19 ` Arnout Vandecappelle
2015-05-29 16:15 ` [Buildroot] [PATCH v3 1/2] libfcgi (0003-link-against-math.patch): Do actually link when needed Thomas Claveirole
2015-05-29 16:15 ` [Buildroot] [PATCH v3 2/2] fcgiwrap: new package Thomas Claveirole
2015-07-10 22:29 ` Thomas Petazzoni
2016-07-17 17:00 ` Yann E. MORIN
2016-07-18 14:28 ` [Buildroot] [PATCH 0/2] Bump fcgiwrap, then fixes it w.r.t. systemd Thomas Claveirole
2016-07-18 14:28 ` [Buildroot] [PATCH 1/2] fcgiwrap: Bump to 99c942c90063c73734e56bacaa65f947772d9186 Thomas Claveirole
2016-07-18 21:24 ` Thomas Petazzoni
2016-07-18 14:28 ` [Buildroot] [PATCH 2/2] fcgiwrap: Add a patch to link with libsystemd, not libsystemd-daemon Thomas Claveirole
2016-07-18 21:25 ` Thomas Petazzoni
2016-07-19 10:02 ` Thomas Claveirole
2015-07-10 22:28 ` [Buildroot] [PATCH v3 1/2] libfcgi (0003-link-against-math.patch): Do actually link when needed Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twuyw3yz.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox