Thank you ecforu, I'm building 2.2.3 now. If this breaks whenever it's not using the host's gcc etc, shouldn't the recipe be fixed? Does anyone have the ability to do so?

Kyle Fazzari

On Feb 5, 2010, at 5:08 AM, ecforu wrote:

We had the same error.  It seems only to be a problem with the newer version 2.2.14.  To get around this we removed the 2.2.14 from the apache2 folder and just let it build 2.2.3 version.  This one builds and works fine.

I believe in order to fix 2.2.14 you need to add a patch to the recipe to fix the do_configure.



On Fri, Feb 5, 2010 at 12:57 AM, <gumstix@status.e4ward.com> wrote:
Hello all.

I am attempting to run PHP with Apache2 on a Gumstix Overo Air. I have successfully created the PHP package, but trying to build Apache2 gave me the following error:

...
...
| checking for shmctl... yes
| checking for create_area... no
| checking for MAP_ANON in sys/mman.h... yes
| checking for /dev/zero... configure: error: cannot check for file existence when cross compiling
| configure failed for srclib/apr
| FATAL: oe_runconf failed
NOTE: Task failed: /opt/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/apache2-2.2.14-r1/temp/log.do_configure.24228
ERROR: TaskFailed event exception, aborting
ERROR: Build of /opt/overo-oe/org.openembedded.dev/recipes/apache2/apache2_2.2.14.bb do_configure failed
ERROR: Task 5 (/opt/overo-oe/org.openembedded.dev/recipes/apache2/apache2_2.2.14.bb, do_configure) failed
NOTE: Tasks Summary: Attempted 347 tasks of which 316 didn't need to be rerun and 1 failed.
ERROR: '/opt/overo-oe/org.openembedded.dev/recipes/apache2/apache2_2.2.14.bb' failed

Some Googling showed me that if I was actually running the configure script I could do

ac_cv_file_dev_zero=yes ./configure

or something similar to get around this check. Unfortunately, I don't actually KNOW if that is a yes or a no. I'm just not quite sure what to do with this. Does anyone know how to fix this? Thank you for any help!

Kyle Fazzari

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users