Skip to contentSkip to conversation

add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi

PATCH New Rico Bachmann 2 participants 5 messages Sep 28, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): add fcgi-2.4.0 package to buildroot

#1 lore raw

PATCH 1/1 add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi

---
 package/Config.in          |    1 +
 package/libfcgi/Config.in  |    5 +++++
 package/libfcgi/libfcgi.mk |   13 +++++++++++++
 3 files changed, 19 insertions(+), 0 deletions(-)
 create mode 100755 package/libfcgi/Config.in
 create mode 100755 package/libfcgi/libfcgi.mk
package/Config.in +1 -0
index 3d04056..56bb992 100644
@@ -325,6 +325,7 @@ source "package/libcgicc/Config.in"
 source "package/libcurl/Config.in"
 source "package/libdnet/Config.in"
 source "package/libeXosip2/Config.in"
+source "package/libfcgi/Config.in"
 source "package/libidn/Config.in"
 source "package/libmicrohttpd/Config.in"
 source "package/neon/Config.in"
package/libfcgi/Config.in new file +5 -0
new file mode 100755
index 0000000..169c6f2
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_LIBFCGI
+    bool "libfcgi"
+    help
+        fastcgi developerslibrary
+        http://www.fastcgi.com/
package/libfcgi/libfcgi.mk new file +13 -0
new file mode 100755
index 0000000..e338f29
@@ -0,0 +1,13 @@
+##############################################################################
+#
+# libfcgi
+#
+##############################################################################
+LIBFCGI_VERSION = 2.4.0
+LIBFCGI_SOURCE = fcgi-$(LIBFCGI_VERSION).tar.gz
+LIBFCGI_SITE = http://www.fastcgi.com/dist
+LIBFCGI_INSTALL_STAGING = YES
+LIBFCGI_INSTALL_TARGET = YES
+LIBFCGI_CONF_OPT = --enable-shared
+
+$(eval $(call AUTOTARGETS,package,libfcgi))
Signature · 1 line
1.7.2.5
#2 lore raw

PATCH 1/1 add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi

Hello,

Good for the usage of git send-email!

The patch title is too long. There should be one first line of < 80 characters, and then if you need to put some other details: one blank line, and then some other paragraphs.

And the -lm problem should be fixed rather than explained in the commit log :-)

Le Wed, 28 Sep 2011 16:13:20 +0200,
Rico Bachmann <[email protected]> a ?crit :

package/libfcgi/libfcgi.mk line 10

Quoted 10 lines
package/libfcgi/libfcgi.mk new file +10 -0
+##############################################################################
+#
+# libfcgi
+#
+##############################################################################
+LIBFCGI_VERSION = 2.4.0
+LIBFCGI_SOURCE = fcgi-$(LIBFCGI_VERSION).tar.gz
+LIBFCGI_SITE = http://www.fastcgi.com/dist
+LIBFCGI_INSTALL_STAGING = YES
+LIBFCGI_INSTALL_TARGET = YES

Line not needed, this is the default.

Quoted 1 line

+LIBFCGI_CONF_OPT = --enable-shared

Line not needed, this is already part of the default configuration options.

Regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw

PATCH 1/1 add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi

Quoted 9 lines

-----Urspr?ngliche Nachricht-----
Von: buildroot-bounces at busybox.net [mailto:buildroot- bounces at busybox.net] Im Auftrag von Thomas Petazzoni
Gesendet: Mittwoch, 28. September 2011 16:30
An: buildroot at busybox.net
Betreff: Re: [Buildroot] [PATCH] add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi

Quoted 7 lines

Hello,

Good for the usage of git send-email!

The patch title is too long. There should be one first line of < 80 characters, and then if you need to put some other details: one blank line, and then some other paragraphs.

that wasn't planed ^^ i didn't know that all my comments get i to the subject.
next time i will use the blank line. Did i have to commit the patch a second time, because of the long subject?

Quoted 4 lines

And the -lm problem should be fixed rather than explained in the commit log :-)

i have 2 patches that fix that problem, but i don't know how to add patches to buildroot for files that are created in the build/fcgi-2.4.0/ when fcgi-2.4.0.tar.gz is unpacked

http://lists.busybox.net/pipermail/buildroot/2011-September/046084.html

in this link you can see the patches for 2 makefiles (they're attached to the mail). It is the solution to the -lm problem, but i don't know how to add that to buildroot.

Quoted 37 lines

Le Wed, 28 Sep 2011 16:13:20 +0200,
Rico Bachmann <[email protected]> a ?crit :

Quoted 1 line

+######################################################################
########

package/libfcgi/libfcgi.mk line 4

Quoted 4 lines
package/libfcgi/libfcgi.mk new file +3 -0
+#
+# libfcgi
+#

+######################################################################
########

package/libfcgi/libfcgi.mk line 10

Quoted 5 lines
package/libfcgi/libfcgi.mk new file +5 -0
+LIBFCGI_VERSION = 2.4.0
+LIBFCGI_SOURCE = fcgi-$(LIBFCGI_VERSION).tar.gz
+LIBFCGI_SITE = http://www.fastcgi.com/dist
+LIBFCGI_INSTALL_STAGING = YES
+LIBFCGI_INSTALL_TARGET = YES

Line not needed, this is the default.

Quoted 1 line

+LIBFCGI_CONF_OPT = --enable-shared

Line not needed, this is already part of the default configuration options.

Regards,

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#4 lore raw

PATCH 1/1 add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi

Hello,

Le Wed, 28 Sep 2011 17:02:21 +0200,
"Rico Bachmann" <[email protected]> a ?crit :

Quoted 2 lines

that wasn't planed ^^ i didn't know that all my comments get i to the subject.
next time i will use the blank line. Did i have to commit the patch a second time, because of the long subject?

You can simply do a :

	git commit --amend

to modify the commit message of the topmost commit.

Quoted 5 lines

i have 2 patches that fix that problem, but i don't know how to add patches to buildroot for files that are created in the build/fcgi-2.4.0/ when fcgi-2.4.0.tar.gz is unpacked

http://lists.busybox.net/pipermail/buildroot/2011-September/046084.html

in this link you can see the patches for 2 makefiles (they're attached to the mail). It is the solution to the -lm problem, but i don't know how to add that to buildroot.

Simply add them in package/fcgi/, under a name like fcgi-2.4.0-some-useful-description.patch.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#5 lore raw

PATCH 1/1 add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi

In reply to Rico Bachmann
Quoted 43 lines

-----Urspr?ngliche Nachricht-----
Von: buildroot-bounces at busybox.net [mailto:buildroot- bounces at busybox.net] Im Auftrag von Rico Bachmann
Gesendet: Mittwoch, 28. September 2011 17:02
An: buildroot at busybox.net
Cc: 'Thomas Petazzoni'
Betreff: Re: [Buildroot] [PATCH] add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi

Quoted 6 lines

-----Urspr?ngliche Nachricht-----
Von: buildroot-bounces at busybox.net [mailto:buildroot- bounces at busybox.net] Im Auftrag von Thomas Petazzoni
Gesendet: Mittwoch, 28. September 2011 16:30
An: buildroot at busybox.net
Betreff: Re: [Buildroot] [PATCH] add libfcgi to buildroot it will

have

Quoted 10 lines

compiling errors as long as -lm isnt added to the buildsystem of libfcgi

Hello,

Good for the usage of git send-email!

The patch title is too long. There should be one first line of < 80 characters, and then if you need to put some other details: one blank line, and then some other paragraphs.

that wasn't planed ^^ i didn't know that all my comments get i to the subject.
next time i will use the blank line. Did i have to commit the patch a second time, because of the long subject?

Quoted 2 lines

And the -lm problem should be fixed rather than explained in the

commit

Quoted 2 lines

log :-)

i have 2 patches that fix that problem, but i don't know how to add patches to buildroot for files that are created in the build/fcgi- 2.4.0/ when fcgi-2.4.0.tar.gz is unpacked

Quoted 5 lines

http://lists.busybox.net/pipermail/buildroot/2011-September/046084.html

in this link you can see the patches for 2 makefiles (they're attached to the mail). It is the solution to the -lm problem, but i don't know how to add that to buildroot.

Did I see that right? i just have to add a libfcgi.patch file to the package/libfcgi/ folder? If it is that way, i will upload tomorrow a full functional patch, and the libfcgi will be included to buildroot

Quoted 45 lines
Quoted 6 lines

Le Wed, 28 Sep 2011 16:13:20 +0200,
Rico Bachmann <[email protected]> a ?crit :

Quoted 1 line

+######################################################################

Quoted 6 lines

########

package/libfcgi/libfcgi.mk line 4

Quoted 4 lines
package/libfcgi/libfcgi.mk new file +3 -0
+#
+# libfcgi
+#

+######################################################################

Quoted 16 lines

########

package/libfcgi/libfcgi.mk line 10

Quoted 5 lines
package/libfcgi/libfcgi.mk new file +5 -0
+LIBFCGI_VERSION = 2.4.0
+LIBFCGI_SOURCE = fcgi-$(LIBFCGI_VERSION).tar.gz
+LIBFCGI_SITE = http://www.fastcgi.com/dist
+LIBFCGI_INSTALL_STAGING = YES
+LIBFCGI_INSTALL_TARGET = YES

Line not needed, this is the default.

Quoted 1 line

+LIBFCGI_CONF_OPT = --enable-shared

Line not needed, this is already part of the default configuration options.

Regards,

Quoted 10 lines

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot