Google
  Web www.spinics.net

Re: Problem cross-compiling Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hola Marta,

El Thu, Jun 12, 2008 at 09:17:59AM +0200 Marta Gros Marín ha dit:

>    Thanks for your answer, I tried it but I get the same error.
>    Do you know why is that?

the configure script tries to test the presence of the device node
/dev/zero. as you are cross compiling it isn't the /dev/zero of your
build system what matters, but if the device node is present on the
root filesystem of your device. i think for this kind of check you have
to specify the option manually. with

./configure --host=arm-unknown-linux-gnu --prefix=/tmp/apache
ac_cv_file__dev_zero=yes

the error about /dev/zero doesn't show up anymore, but others of the
same kind

use grep to figure out the name of the option that triggers the
offending check. e.g.:

grep -H setpgrp configure srclib/apr/*

openembedded.org is an embedded meta-distribution with recipes to
build packages from source. it could be a valuable source of
information to figure out the options (or patches) you
need. unfortunatly the server of the project seems to be down at the
moment. meanwhile
http://trac.nslu2-linux.org/slugos/browser/releases/slugos-4.8-beta/openembedded/packages/apache2?rev=467
could be a starting point, though it's apache v2.2.3

regards

-- 
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona

        They that can give up essential liberty to obtain a little
           temporary safety deserve neither liberty nor safety
                         (Benjamin Franklin)
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php


[Site Home]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux

Google PageRank Checking tool