MySQL cross compilation

Tom
Anyone tried to compile MySQL for Mini2440? I've got:

configure: error: cannot run test program while cross compiling

Any ideas?

thanks in advance
best regards
Tom

eduardo
I'd found a similar error compiling apr-util for apache:

The 'test' program was compiled by arm-linux-gcc on my PC and the PC was
trying to run it. I think you will have to compile 'test' program with PC
gcc, copy it to the right build directory and try to run the ./configure
again.

Hope it helps.

Dan
Hi eduardo, have you able to compile mysql yet? if so can you provide us a
bit more detail. ie: where is test program, where is the right build
directory... thanks.

TungPham
Just comment test stuff in make file or using --notest(or st like that)

why dont you try to port sqlite instead of choosing mysql. Porting sqlite3
to mini2440 is quite easy :)

Dan
Hi TungPham, I think the test stuff is in ./configure not in make file and
if you type ./configure --help you will see no such --notest option.

Have you actually compile the code or just a guess.

My board is actually tiny6410, I am planning to use mysql 4 or even 3 so
the code will be small and fast enough, the main reason is my database
server need to be able to handle around 30 hits per second constantly.

Dan
I finally able to cross compile mysql to tiny6410 by using scratchbox. 
I download latest version of scratchbox core. Add arm toolchain for armV4
(tiny6410 won't work with armV7 toolchain). Add library, devkit-qemu. Setup
target and away I go. 
For mysql I have to compile and install ncurse first. Then mysql is
compiled without a hitch.

Philip Appiah
Hi everyone

Can you help compile mysql for arm-linux-gcc, i am new here, please i need 
help, i need mysql client libraries to run on a device with arm processor
thank you in advance.