ts-7000
[Top] [All Lists]

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

To: "" <>
Subject: RE: [ts-7000] Re: Apache2 cross compile for TS7400/TS7260/TS7200
From: Jayne Dickinson <>
Date: Wed, 30 Jul 2008 13:18:13 -0700
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...

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

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

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




________________________________________
From:   On Behalf Of 
charliem_1216 
Sent: Wednesday, July 30, 2008 12:45 PM
To: 
Subject: [ts-7000] Re: Apache2 cross compile for TS7400/TS7260/TS7200

Hi Jayne --

--- In <ts-7000%40yahoogroups.com>, "Jayne 
Dickinson" <> wrote:
>
> Greetings,
>
> I need to cross compile Apache2 and PHP5 for the TS7400 and TS7260 on
> my Intel Debian Workstation.
>
> I have the following environment variables defined:
>
CC=/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-gcc
>
LD=/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-ld
>
AS=/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-as
> CFLAGS="-marm -fsigned-char"
> LDFLAGS=-L/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/lib
>
CPPFLAGS="-I/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/include/
> -I/usr/local/opt/ts7400-32-128F/dist/linux24/include/"
>
> I downloaded from www.apache.org: httpd-2.2.9.tar.bz2
> I ran configure with the following:
>
> ./configure --prefix=/usr/local/opt/crosstool --host=arm-linux
> --target=arm-linux --build=i686-linux

AFAIK host and build are the same in your case (you are not doing a
canadian cross). Try just specifying --target, and let host & build
be autodetected as your x86 debian system.

>
>
> and got this error:
>
> checking for /dev/zero... configure: error: cannot check for file
> existence when cross compiling
> configure failed for srclib/apr
>
>
> Argh...has anyone done this already? What have I done wrong?

You could also get the appropriate debian arm packages, and look at
the source, debian patchsets and configure commands as reference. You
may find that the cross compile commands are the least of your
problems ...

regards, ...... Charlie

> Thanks for all your help!
> 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>
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