This is a discussion on Cross compilation of Apache 1.3.34 within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi folks! I have a need to run Apache 1.3.34 on an ARM based processor (Intel PXA270). I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi folks!
I have a need to run Apache 1.3.34 on an ARM based processor (Intel PXA270). I have tried to use the "configure" script to set the arm-linux-gcc compiler but when I run it it keeps trying to execute some programs that it compiles during the configuration run. This is the output I get when I try to configure the build: gerryc@neptune:~/apache_1.3.34$ CC="arm-linux-gcc-3.3.2" ./configure --prefix=/usr/local/apache Configuring for Apache, Version 1.3.34 + using installation path layout: Apache (config.layout) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for Linux platform + setting C pre-processor to arm-linux-gcc-3.3.2 -E + using "tr [a-z] [A-Z]" to uppercase + checking for system header files + adding selected modules + using builtin Expat + checking sizeof various data types ../helpers/TestCompile: line 293: /home/gerryc/apache_1.3.34/src/helpers/testfunc: cannot execute binary file ../helpers/TestCompile: line 293: /home/gerryc/apache_1.3.34/src/helpers/testfunc: cannot execute binary file ../helpers/TestCompile: line 293: /home/gerryc/apache_1.3.34/src/helpers/testfunc: cannot execute binary file ../helpers/TestCompile: line 293: /home/gerryc/apache_1.3.34/src/helpers/testfunc: cannot execute binary file ../helpers/TestCompile: line 293: /home/gerryc/apache_1.3.34/src/helpers/testfunc: cannot execute binary file + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/regex Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/lib/expat-lite Creating Makefile in src/modules/standard gerryc@neptune:~/apache_1.3.34$ How is one supposed to cross-compile the Apache package for a different target? Any assistance will be gratefully received. TIA Gerry |