--- In "David L. Martin" <> wrote:
>
> I have a TS-7250, and one of my first steps is that I need to get Apache
> with PHP running on the board.
>
> Unfortunately I've have quite a learning curve to overcome, any help
> would be appreciated.
>
> Here are several stumbling blocks I need guidance on:
> 1. While I have a lot Linux development experience, but I have no cross
> development exposure. When compiling source on an x86 platform (with
> the tool chain), how does the compiler/linker deal with linking the
> application to the libraries on the target?
Your toolchain should take care of that, and you specify the lib
locations with -L and the include with -I
>
> 2. While compiling Apache is fairly straight forward (in a native
> environment), the cross compile issues have me completely stumped.
> How do you install a large package such as this? Its not like you can
> just do a "make install".
Sure. Once you have your toolchain set up, all you really need to do
is CC=arm-linux-gcc make install
>
> 3. What version of Apache do I use? I noticed that the board is using
> an older version of Apache, and I can't even find documentation on how
> to install PHP on this version.
Do you need all the apache features? buysbox http now handles php
scripts well enough.
>
> I figured with PHP being so popular, I'm sure someone has solved these
> issues before. I have seen an old post (#3201), which seems to address
> some of these issues, but it doesn't explain the installation or PHP
> issues.
PHP is pretty straightforward:
configure it with the right options and build it....
./configure --host=arm-linux --build=i686-pc-linux-gnu
make
Except that I am running into a real problem with php4.... I can't
get a build that allows dynamic loading. I built it previously with
no problems, and I am using the exact same script, but now it won't
load ming....
--Yan
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|