ts-7000
[Top] [All Lists]

[ts-7000] Re: Apache2 cross compile for TS7400/TS7260/TS7200

To:
Subject: [ts-7000] Re: Apache2 cross compile for TS7400/TS7260/TS7200
From: "charliem_1216" <>
Date: Thu, 31 Jul 2008 14:56:07 -0000
--- In  Jayne Dickinson <> wrote:
>
> Thanks Charlie,
> 
> I sure have entered into a rats nest... but alas, I have to be able
to reproduce apache2 for my TS7400 and TS7260...

Yes, I know you want to build it rather than use debian binaries.  But
you can still get the debian source files, and use their required
patches.  No sense re-inventing the wheel ... see below.

> 
> What I have found out so far, is that the httpd-2.2.9 is not fully
supported by Debian and the ARM communities...so

Maybe not in stable, but definitely in testing:
http://packages.debian.org/lenny/apache2-mpm-prefork

> I downloaded httpd-2.0.54 and really got further...
> 
> Here's my configure script...
> ./configure --prefix=/usr/local/opt/crosstool --host=arm-linux
--with-included-apr

AFAIK, host == machine running configure
       build == machine that will be used to compile the package
       target == destination machine that will run the package
So for your case, host == build == x86, and target == arm

> 
> Note, I tried just using target option, and the configure couldn't
use the cross compiler...
> 
> So I got alot further in the configure, but I still have an
error...this time it's
> ....
> checking for size_t... (cached) yes
> checking whether setpgrp takes no argument... configure: error:
cannot check setpgrp when cross compiling
> configure failed for srclib/apr
> 
> I am doing this cross compilation on an Intel Debian Workstation...
my debian version is 2.6 ...whereas the
> TS7400 is 2.4.26... and I have the CFLAGS pointing to the cross
compilation of gcc for the TS7400 and the compiled
> TS7400 kernel source ... my LDFLAGS are also pointing to the TS7400
environment...
> 
> So...I'm really perplexed... I don't think I'm the only TS customer
that wants Apache2 and PHP5... how did everyone
> else do this? I am new to Apache...

Search for the debian packages you want at:
http://www.debian.org/distrib/packages

It may lead you to (for example):
http://packages.debian.org/etch/apache2-mpm-prefork

There, in the 'download source package' area, you find that debian
supplies three files:
* A .dsc file (signature, other metadata)
* An upstream, vanilla tar distribution file
* and a diff.gz file

The diff file carries all of the debian changes needed to support the
package on all of the listed architectures.  It should give you a lot
more guidance than I can ...

regards, .... Charlie

> 
> Thanks for all your help, this is trully an adventure!
> Jayne
> 
>


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Re: Apache2 cross compile for TS7400/TS7260/TS7200, charliem_1216 <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU