Cross compilation of Apache 1.3.34

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-09-2006
Gerry Cohn
 
Posts: n/a
Default Cross compilation of Apache 1.3.34

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

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:21 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0