This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Cross Compiling problems with lighttpd

816X/389X EVM

I am trying to get a web server with PHP support to run on the board. I decided to go with lighttpd because of it is all that I really need.

I used the toolchain from the linuxdevkit. I received no errors during the compiles.

I still receive the following error. I understand that it means that it isn't compiled for the arm board. But I don't understand why it isn't compiled.

line 1: syntax error: word unexpected (expecting ")") 

I used PCRE 8.3 and lighttpd 1.4.31. I am fairly certain that PCRE compiled correctly, because I used it with an Apache server I compiled. Which makes this a little more difficult for me to identify.

The steps I took on the Ubuntu 11.10 virtual box:

 sudo ./configure --with-pcre --host=$TRIPLET --without-bzip2 --without-zlib 
 ($TRIPLET is identified as arm-none-linux-gnueabi) 
 sudo make 
         sudo make install