Hey Yann
Well for php I would look at http://www.acmesystems.it/?id=26 Its been a while but I worked out 4 me about 1 year ago. So I wont use php - instead I am more interested of Tcl and Sqlite 4 that u could look at the Tcl & Sqlite interface http://developer.axis.com/wiki/doku.php?id=tips_on_how_to_cross_compile_vari ous_programs <http://developer.axis.com/wiki/doku.php?id=tips_on_how_to_cross_compile_var ious_programs&s=tcl> &s=tcl For Sqlite this might help http://developer.axis.com/wiki/doku.php?id=cros-compiling-sqlite_hack but honestly it worked out right now by doing the following. Open console and change to the devboard dir Start the SDK by typing Type: . init_env Return: blabla prepended to path Type: Wget http://www.sqlite.org/sqlite-3.5.6.tar.gz Type: tar xvfz sqlite-3.5.6.tar.gz Type: cd sqlite-3.5.6 Type: export CC=cris-axis-linux-gnu-gcc Type: ./configure -- prefix=/mnt/1/sqli -- host=cris-axis-linux-gnu --build=i686-linux If there are complains that your Compiler cant create executables it might be that your SDK is not active By the way I store everything on a usb drive /mnt/1 Open the makefile with an editor and check the HAVE TCL makro. it worked only when I deletet the 1 so that It looks like HAVE_TCL = Type: make Type: make install During make I encountered some problems sometimes I had to be root sometimes not and when you have to change to root u have to activate the sdk again stupid me (win user) Also I had some problems to copy the sqlite3.so.0 lib. I really dont know why when I tried to copy /mnt/1/sqli from HD to USB drive I was told Cant copy sqlite3.so.0 - permission denied. It worked when I copied the lib dir with gFTP from my HD to the USB drive when it was already mounted in the fox. I have attached my makefile for Sqlite so if you adjust it to your paths it should work out. Nevertheless I think u should try the ./configure once again. BR Markus BTW: at which university do u study? Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von yann.daluzeau Gesendet: Donnerstag, 24. Januar 2008 09:13 An: [email protected] Betreff: [foxboard] Install SQLite on Fox Hi everybody, It's my first post on this group. I'm a student in France. I've to install SQLite on my Fox, but I've not idea how to do that. I found how to install PHP + SQLite, but it's not what I want, because, I've to create a C server program and use SQLite functions (sqlite3_open, sqlite3_close, sqlite3_exec, ...). If somebody can help me, or if somebody has already make a Fox image with SQLite, I'm waiting for you. Thanks.
makefile
Description: Binary data
