Well, the idea was to use the gumstix for telemetry, and pipe the data off to a separate computer that was also doing some image recognition where the results could be stored and correlated.  I was thinking of possibly using IO::socket and setting up a data stream that way, then having the other machine write into SQL -- but can Microperl use the IO::socket library?


On 6/4/07, Drew Folta <drew@folta.net> wrote:
Yeah, most likely.  There are actually 2 approaches you could take.

The first is to write your custom application in C, and compile it on
your host machine.  This application will need to be cross-compiled
for the gumstix.  In that case, you can first cross-compile the mysql
client library, then have your app link to that.

The other approach is to add the mysql library to the buildroot.  This
get it correctly cross-compiled.  It doesn't deal with how you'll
-use- this library.  (You'll still need to write an app that links to
it, and/or some non-DynaLoader perl glue code.)  The advantage is that
you could contribute this "buildroot package" to the greater community

If the underlying problem is that you don't want the sensor data to
build up on the gumstix, there might be other approaches to streaming
it off.


On 6/4/07, Karthik Balakrishnan <k.isfor.kito@gmail.com> wrote:
> So in order to use this, would I build the library from source, then
> transfer it to the Gumstix/add to the buildroot?
> Thanks,
> Karthik
> On 6/4/07, Drew Folta < drew@folta.net> wrote:
> > MySQL actually provides a C client library.  (I think it is this
> > library which is used to implement the perl and PHP client libraries.)
> >
> > http://dev.mysql.com/downloads/
> > http://dev.mysql.com/downloads/mysql/5.0.html#source
> > http://dev.mysql.com/downloads/mysql/4.1.html#source
> >
> > Hmm... I'm not really seeing a client-only download option.  You might
> > have to download the "Community Server" and only build the client
> > library from it.
> >
> > Drew
> >
> >

This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
gumstix-users mailing list