All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephan Hoffmann <sho@relinux.de>
To: buildroot@busybox.net
Subject: [Buildroot] need help adding apache to buildroot
Date: Sun, 07 Jul 2013 16:16:14 +0200	[thread overview]
Message-ID: <51D9782E.1060901@relinux.de> (raw)
In-Reply-To: <2DD0B9C711CDFC45A3A266C78966CE7F40E3A14E@G4W3291.americas.hpqcorp.net>

Am 16.01.2013 22:30, schrieb Jenkins, Lee (ISS Houston):
>
> Hello. I'm adding apache httpd to my buildroot project but I'm stuck
> and need some help.
>
Hello Lee,

did you finally manage to build apache? If yes, could you provide a patch?

Kind Regards

Stephan
>
>  
>
> Here's what I've done so far:
>
>  
>
> 1.       created a directory buildroot/package/apache
>
> 2.       created buildroot/package/apache/Config.in (see below)
>
> 3.       as a starting point, downloaded the panda-buildroot apache.mk
> (see below)  to buildroot/package/apache
>
> 4.       added a line <<source "package/apache/Config.in">> to
> buildroot/package/Config.in under "Networking applications"
>
> 5.       ran "make menuconfig", selected "apache" in "Package
> Selection" > "Networking applications", saved & exited
>
> 6.       ran "make" and expected httpd to be built and show up in my
> rootfs target. It was not there.
>
> 7.       ran "make apache-source" as a test, but make replies: "No
> rule to make target `apache-source'. Stop."
>
>  
>
> I expected make to pick up the new package, but that's clearly not
> happening. What am I missing?
>
>  
>
> Lee Jenkins
>
>  
>
>  
>
> ----- buildroot/package/apache/Config.in -----
>
>  
>
> config BR2_PACKAGE_APACHE
>
>      bool "apache"
>
>      help
>
>        Apache web server software
>
>  
>
> ----- buildroot/package/apache/apache.mk -----
>
>  
>
> #############################################################
>
> #
>
> # apache
>
> #
>
> #############################################################
>
> APACHE_VERSION    = 2.2.19
>
> #APACHE_SITE       = http://mir2.ovh.net/ftp.apache.org/dist/httpd/
>
> APACHE_SITE       = http://archive.apache.org/dist/httpd/
>
> APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2
>
> APACHE_INSTALL_STAGING = YES
>
> APACHE_INSTALL_TARGET = YES
>
> APACHE_AUTORECONF = YES
>
>  
>
> APACHE_CONF_ENV += \
>
>         ac_cv_file__dev_zero=yes \
>
>         ac_cv_func_setpgrp_void=yes \
>
>         apr_cv_tcp_nodelay_with_cork=yes \
>
>         ac_cv_sizeof_struct_iovec=8 \
>
>         apr_cv_process_shared_works=yes \
>
>         apr_cv_mutex_robust_shared=no \
>
>         ac_cv_struct_rlimit=yes \
>
>         ap_cv_void_ptr_lt_long=no \
>
>         CC="$(TARGET_CC)" \
>
>         CFLAGS="$(TARGET_CFLAGS)" \
>
>         LDFLAGS="$(TARGET_LDFLAGS)" \
>
>  
>
> APACHE_CONF_OPT += \
>
>         --host="$(REAL_GNU_TARGET_NAME)" \
>
>         --prefix="/apacheSW/" \
>
>         --enable-so \
>
>         --enable-module=all
>
>  
>
>  
>
>        
>
>                 
>
>                 
>
> define APACHE_CONFIGURE_CMDS
>
>         (cd $(@D) && rm -rf config.cache; \
>
>                 $(APACHE_CONF_ENV) \
>
>                 ./configure \
>
>                 $(APACHE_CONF_OPT) \
>
>         )
>
> endef
>
> define ADD_INIT_SCRIPT
>
>  
>
> $(INSTALL) -m 0755 -D
> $(APACHE_DIR_PREFIX)/$(APACHE_NAME)/Apache_InitScript \
>
>         $(TARGET_DIR)/etc/init.d/S90Apache;
>
> endef
>
> APACHE_POST_INSTALL_STAGING_HOOKS += ADD_INIT_SCRIPT
>
>  
>
>  
>
> $(eval $(call AUTOTARGETS))
>
>  
>
>  
>
>  
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130707/614c5484/attachment-0001.html>

  parent reply	other threads:[~2013-07-07 14:16 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16 21:30 [Buildroot] need help adding apache to buildroot Jenkins, Lee
2013-01-16 21:35 ` Gustavo Zacarias
2013-01-17 22:41   ` Jenkins, Lee
2013-01-18  9:25     ` Jérôme Pouiller
2013-01-18 15:31       ` Thomas Petazzoni
2013-01-18 16:11         ` [Buildroot] [PATCH] Add support for plain URL in $(PKG)_PATCH variable Jérôme Pouiller
2013-01-30 18:59           ` Yann E. MORIN
2013-01-30 19:23           ` Yann E. MORIN
2013-01-30 22:37             ` Jérôme Pouiller
2013-01-30 22:37               ` Jérôme Pouiller
2013-01-30 22:54                 ` Yann E. MORIN
2013-01-30 23:11                   ` Jérôme Pouiller
2013-01-31  8:18                     ` [Buildroot] [PATCH 1/2] " Jérôme Pouiller
2013-01-31  8:18                       ` [Buildroot] [PATCH 2/2] Add $(PKG_NAME) in name of downloaded patches Jérôme Pouiller
2013-04-26  6:18                         ` Arnout Vandecappelle
2013-05-13 15:51                           ` [Buildroot] [PATCH v2] Add support for plain URL in $(PKG)_PATCH variable Jérôme Pouiller
2013-05-13 20:59                             ` Yann E. MORIN
2013-05-14  9:51                               ` Markos Chandras
2013-09-07  6:12                             ` Peter Korsgaard
2013-04-26  6:00                       ` [Buildroot] [PATCH 1/2] " Arnout Vandecappelle
2013-01-31  8:20                     ` [Buildroot] [PATCH] " Jérôme Pouiller
2013-01-30 22:50             ` Thomas Petazzoni
2013-01-30 22:57               ` Yann E. MORIN
2013-01-30 23:04                 ` Jérôme Pouiller
2013-01-30 23:10                   ` Yann E. MORIN
2013-01-16 21:54 ` [Buildroot] need help adding apache to buildroot Thomas Petazzoni
2013-07-07 14:16 ` Stephan Hoffmann [this message]
2013-07-18 16:46   ` Jenkins, Lee

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=51D9782E.1060901@relinux.de \
    --to=sho@relinux.de \
    --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 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.