skip navigation
URC Consortium Logo

You are here: MyURC.org > Tools & Prototypes > UCHe > tutorial > Installing Apache Server

How to Install Apache Server for UCHe


Page Contents:


Compile and configure Apache

Cross Compile and configure Apache

Following steps were performed for cross compilation for ARM GNU/Linux on i386 Linux PC; similar steps can be used for cross compiling for some other architecture:

  1. Download Arm Linux GNU package from http://www.codesourcery.com
  2. After un-tar of total package, add path using command

    $PATH = ${PATH}:/opt/arm/bin/

    "bin" directory is where g++ and all related things are present.

  3. Give the following command to add the ranlib

    export RANLIB="arm-linux-ranlib"

  4. Change directory to the Apache directory and apply changes as mentioned at: See Tutorial
  5. Apply the following command:
    1. ac_cv_func_setpgrp_void=no ac_cv_maxsegsize=4096 CC=/opt/arm/arm-2005q3-2/bin/arm-none-linux-gnueabi-gcc ./configure --target=arm-linux --host=arm-linux --build=i386-linux --prefix=/usr/local/armapache/ --enable=rewrite
    2. make
    3. make install
  6. Now change directory to fastcgi folder and apply the following commands:
    1. CC=/opt/arm/arm-2005q3-2/bin/arm-none-linux-gnueabi-g++ ./configure --build=i386-linux --host=arm-none-linux-gnueabi --target=arm-linux
    2. make [APACHE_HOME]
    3. make install
  7. Make the changes in httpd.conf file as mentioned above.

Last update: Parikshit Thakur &Team, 2008-08-21

This site is maintained by the University of Wisconsin Trace Center, a member of the Universal Remote Console Consortium.