ts-7000
[Top] [All Lists]

[ts-7000] Was Re: Apache+PHP

To:
Subject: [ts-7000] Was Re: Apache+PHP
From: "Phil" <>
Date: Thu, 17 Aug 2006 16:23:57 -0000
> I spent half the day trying to get Apache+PHP to compile.  After
> continually being blocked from compiling PHP (various reasons), I

I forgot that PHP was a little harder to get cross-compiled, but in 
the end it wouldn't have been anything other than 
tricking 'configure' into not doing the tests that fail and just 
choose something that sounded right.

> So let me ask a few simple question:
> 1. Using my toolchain I can get most packages to compile (PHP 
being an
> exception), but what is the method for installing them into the TS
> flash?  Its not like you can just copy the executable over.

If all the programs that you compile are statically linked 
executables, then yes you CAN just copy the executables over and run 
them. To tell you the truth, I haven't looked into how you actually 
select static vs. shared libraries, but everything that I have cross-
compiled has already been statically linked so I haven't had to work 
anything out, it just works.

> 2. I can't figure out how the libraries are functioning on the 
target?
> Without ld.so.conf and ldconfig, things are not how I understand 
them.

And if you do really want to use shared libraries, that's not too 
hard anyway. I forget exactly what it was for but you can copy just 
about any arm compiled 'ldconfig' (I got mine from one of the 
filesystem tarballs on the TS website, a debian fs I think), write 
your own ld.so.conf file (it's just a list of paths to libraries) 
run ldconfig and away you go.


Hope this helps,

Cheers
Phil






 
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/
 


<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