-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 29.11.2010 17:53, schrieb Miguel Angel:
> It's been a long time since I tried to compile cherokee statically for
> ARM, In my last tests I did it
> dinamically, with the plugins as separated .so's.

I'd prefer to to it dynamically, too. But I got exactly the same error
output and assumed that it has something to do with the fact that the
plugins are to be found at another path on the embedded board than they
are installed to on compiling environment.

For my first try to compile a dynamic version, I used:

./configure --host=arm-unknown-linux-gnueabi
- --prefix=/path/to/my/toolchains/sysroot --datarootdir=/usr/share
- --sysconfdir=/etc
- --localstatedir=/var/www --enable-static=no --enable-shared=all

I then copied the build results over to /usr/sbin, /usr/bin and /usr/lib
respective on the target machine, but somehow cherokee does not find the
libraries then. Additionally, I encounter the problem that I have
compiled with openssl support enabled, but on loading the plugin,
cherokee claims that libssl wouldn't be found, but it is at
/usr/lib/libopenssl.so.0.9.8, which is exactly the path it's at in my
build sys-root, and other applications on the same machine use it
without problems.
I guess what I need would be a way to tell cherokee that the plugins are
found at /usr/lib/cherokee/* instead of
/path/to/my/toolchains/sysroot/lib/cherokee, could I be right with that?
With which configure-options do you successfully dynamically
cross-compile cherokee to ARM?

Thanks,
Julian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM89+xAAoJENidYKvYQHlQTMcQALy60rEy9cYRLq+3ZmXhUBH2
SyTjAQZPtHvQlTGmMCQXZAGLBQgU8Zmmf30hotIV11vWXEEkQglE6dRENDtE03I/
l+bzea1HGAC6nDwBjPpJTskIu/dzhdQIDFOsSULrbvwA7u3VMfuIfGZ2VLsJv6it
l3VkXJM9d+QYGiCqIbZpxbKQ2qIyDLEgeX0jT3+vaPUbyFh8/6nWHdOkNbxVhOX1
Tr8wJgVBYZFPCmV38qEfC1k4Qo5/i/mkvjdaNvoFGzJ7M7+MXvBLapxVwhs+n7FT
He+od3Lpl97ofE7gl69wjgApWL6sON5/gsmE/D8/e0l4yoVWgXl/U2HjHhOPBcAD
OhToUoODRP3mOnVS6TKTOciEwZ6UdaeZqVLB3QEZouZKrPMC1490trwNx1cOjQyV
jGABIn7frx+mMfaaShS72Vvqyc18phbvCTQaL05qiKn//mE1fAc+jr6dyU/BBlOB
Rmjr3la0u6l4dtWu7vsKPqXqdpIEUzTeIKjb11SbHGRIVBGWs8kEIjxRS5JLJW13
BNaypwnl16FGKVuPMvHH3ClsVzCd9Y5b5z1dmaXnRhfSozLM5zPyu0KZcKA2CQ6r
JwJvlj5yENQgwOOkHJw8ddpSugXv6Cozk1Cj1T50DXiHSuevb/fUzNtcGoISC5/2
+lodk6YUOFW4RYLEEA07
=cN4Z
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to