All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric BENARD <ebenard@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Compiling Apache
Date: Tue, 22 Mar 2011 15:59:22 +0100	[thread overview]
Message-ID: <4D88B94A.1060609@free.fr> (raw)
In-Reply-To: <4D89170F.7080305@michaelburghart.de>

Hi,

On 22/03/2011 22:39, Michael Burghart wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I am new to this list. Nevertheless I am really happy about the
> buildroot tool. Great Work!!
>
> Unfortunately I ran into trouble which I don't understand. I produced a
> working toolchain and managed to post-install things. Now I need to add
> a "httpd-2.3.8" package. But it fails to  build with the following error:
>
> make[4]: Entering directory
> `/LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib/pcre'
> ./dftables
> /LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib/pcre/chartables.c
> make[4]: ./dftables: Kommando nicht gefunden
> make[4]: ***
> [/LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib/pcre/chartables.c]
> Fehler 127
> make[4]: Leaving directory
> `/LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib/pcre'
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Leaving directory
> `/LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib/pcre'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory
> `/LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory
> `/LFS/buildroot-2011.02/output/build/httpd-2.2.17'
> make: ***
> [/LFS/buildroot-2011.02/output/build/httpd-2.2.17/.stamp_built] Fehler 2
>
> ("Fehler" =>>  "Error" :)))
>
> This is my mk file for httpd
>
> HTTPD_VERSION=2.3.8
> HTTPD_SOURCE=httpd-${HTTPD_VERSION}.tar.gz
> HTTPD_SITE=http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/httpd/
> HTTPD_INSTALL_TARGET=YES
> HTTPD_AUTORECONF=YES
> HTTPD_LIBTOOL_PATCH=YES
> HTTPD_AUTORECONF=YES
> HTTPD_CONF_OPT=  --enable-ldap=no  --enable-ssl --with-pcre=/usr
> - --with-ssl=/usr ap_cv_void_ptr_lt_long=no
> HTTPD_DEPENDENCIES=pcre
>
> Does anybody know about this problem? What am I doing wrong?
>
dftables is a tool which should be compiled for your host as it's used to 
generate pcre_chartables.c . In the present case, it seems dftables can't be 
executed so either it's compiled for your target (but in that cas you would 
get a log saying it has a wrong binary format) or it's not present at all.

Moreover you have HTTPD_VERSION=2.3.8 in your .mk and the log says 
httpd-2.2.17 so there may be something wrong here.

apache is not easy to cross compile, you can check the recipes in OpenEmbedded 
to see what we do there :
http://cgit.openembedded.net/cgit.cgi/openembedded/tree/recipes/apache2/apache2_2.2.17.bb
http://cgit.openembedded.net/cgit.cgi/openembedded/tree/recipes/libpcre/libpcre_8.10.bb
http://cgit.openembedded.net/cgit.cgi/openembedded/tree/recipes/apr/apr_1.4.2.bb
http://cgit.openembedded.net/cgit.cgi/openembedded/tree/recipes/apr/apr-util_1.3.10.bb

Eric

  reply	other threads:[~2011-03-22 14:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-22 21:39 [Buildroot] Compiling Apache Michael Burghart
2011-03-22 14:59 ` Eric BENARD [this message]
     [not found]   ` <4D88BD19.7070901@michaelburghart.de>
     [not found]     ` <4D88C6B3.5010103@free.fr>
2011-03-22 16:07       ` Michael Burghart
2011-03-22 19:33       ` Michael Burghart
2011-03-22 19:55         ` Baruch Siach
2011-03-22 20:00           ` Michael Burghart
2011-03-22 20:03             ` Baruch Siach
2011-03-22 20:21               ` Michael Burghart
2011-03-23  6:12                 ` Michael Burghart
2011-03-23 17:16                   ` Baruch Siach
2011-03-23 19:02                     ` [Buildroot] proc not mouning Heyendal, Carl
2011-03-23 19:27                       ` bruce bushby
2011-03-23 19:32                       ` ANDY KENNEDY
2011-03-23 19:35                         ` Heyendal, Carl
2011-03-23 19:43                           ` ANDY KENNEDY
2011-03-23 19:46                             ` Heyendal, Carl
2011-03-23 19:36                         ` bruce bushby
2011-03-23 20:35                       ` Heyendal, Carl
2011-03-23 21:14                         ` ANDY KENNEDY
2011-03-24 18:58                         ` Thomas Petazzoni
2011-03-24 19:04                           ` Heyendal, Carl
2011-10-21 16:29                             ` vbr vbr
2011-10-28 12:50                               ` Peter Korsgaard
2011-03-24  6:42                     ` [Buildroot] Compiling Apache Michael Burghart
2011-03-22 19:35       ` Michael Burghart

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=4D88B94A.1060609@free.fr \
    --to=ebenard@free.fr \
    --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.