On Wed, 5 Dec 2007, trucmuch_59 wrote:
> Hmm I see. Thanks for the input.
> The problem I have is that I need to run some script on linux and give
> the output to a web page,
You could possibly just do a "sh" script to do it or you could write a C
program to do it, depending on the complexity of what needs doing.
The webserver is apache, there is loads on info on the web for writing cgi
scripts/programs under apache. One introduction to cgi is at
http://hoohoo.ncsa.uiuc.edu/cgi/
> and I have no clue how to do that, I
> colleague suggest perl, that's why.
>
> I even try to find the cross tool, but the asource is not on the CD
> that come with the dev kit (and it should be because it' indicate on
> the readme)
>
>
> --- In "Gonzalo A. de la Vega"
> <> wrote:
> >
> > On Dec 4, 2007 8:02 PM, Joe Bouchard <> wrote:
> > >
> > > On Tue, Dec 04, 2007 at 12:46:37PM -0000, trucmuch_59 wrote:
> > > >
> > > > anyway, any help on the second question about the install of a
> program
> > > > on the onboard flash ? (like perl for now)
> > >
> > > Are you talking about the 8mb flash built onto the TS-7200? I
> think perl is
> > > too
> > > big for that.
> >
> > Yeah... you need to check if PERL will run with the available RAM, or
> > how to build it so it can do so (you may be able to switch off
> > features with the configure script).
> > About how to build it, I have done so with wermit this way:
> > 1) Mount the Debian distro (USB Flash o NFS, you choose).
> > 2) Untar the sources (again Flash or NFS, you just need enough space
> to build)
> > 3) Run ./configure from the SBC so it detects everything properly. I
> > used the --prefix option so when running "make install" the bianries
> > reside on some clean known directory tree.
> > 4) Run "make install" and move the directory tree to the SBC.
> > 5) The ugly part: run the program and see wich libraries are missing.
> > 6) Get the missing libraries from the debian direcotories, copy them
> > to the SBC and repeat from 5) until the program runs.
> > I never got to repeat from 5)
> > Note: dependig on what you are bulding you may get some kind on
> > package building option, like "make package" or "make tar". It's also,
> > usually, possible to find the library dependences in the building
> > docs.
> >
> > Gonzalo
> >
>
>
>
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/
|