compile lighttpd for Angstrom on Beaglebone black

Hi All,

I would like set-up a web server lighttpd on beaglebone black. i have tried with following approaches:

  1. first tried with installing package through opkg
    opkg update
    opkg install lighttpd

but above process gets hung at “Configuring lighttpd” message. i have waiting for 3-4 hours but it still stuck at this point.

  1. Then I have decided to go with source code compilation. I have downloaded the source code and tried to cross compile it as per the reference link “http://www.ridgesolutions.ie/index.php/2013/06/05/build-cross-compile-lighttpd-for-arm-linux-with-pcre/”. In this link, I have modified configuration command as:

./configure --prefix=/home/user/build_lighttpd/build_pcre/_install --build=i386-linux --host=arm-linux --target=arm-linux CC=/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc AR=/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-ar STRIP=/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-strip RANLIB=/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-ranlib LDFLAGS=/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-ld

It configured successfully without any error (I have modified this command because I was getting an error with the original command given in the link). But after that, when I apply make command, I am getting an error: “./.libs/libpcre.so: could not read symbols: File in wrong format”. Can you guys please add your inputs in this stuff.

If I am following wrong reference link for cross compilation, please suggest the appropriate one.

Thanks,
Ashish