lighttpd (Full Version)

All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum



Message


DeathWolf -> lighttpd (Mar. 10, '06, 10:13:00 AM)

Hello all,
I've been trying to get lighttpd to work on interix.
Configure went rather well(with a few CFLAGS set)
make went unhappy because of missing setgroup/initgroup functions,
which i then disabled.
It then compiled fine, and passed tests...
But when trying to actually start it:
2006-03-10 16:09:58: (plugin.c.165) dlopen() failed for: /usr/local/lib/mod_indexfile.so /usr/local/lib/mod_indexfile.so: unable to read file header: No such file or directory

So i went to check and there were only .la files, no .so.
Anything that can be done about that?

Thanks for any help,

Paul-Kenji Cahier




Rodney -> RE: lighttpd (Mar. 10, '06, 10:53:19 PM)

I'll guess that "mopd_indexfile.so" is part of the lighttpd code.
What you will need to do to adjust the configure file to produce shared/dynamic libraries.
The configure that is currently with lighttpd likely doesn't come understanding Interix.
Once the adjustments are done then you'll need to rerun configure, etc.




DeathWolf -> RE: lighttpd (Mar. 11, '06, 1:21:51 AM)

i was told by a friend that it's a problem with libtool that's causing it, and that there's actually a fixed version
or a fixed way of using it, heard about it?(it was apparently already reported in the past)




DeathWolf -> RE: lighttpd (Mar. 13, '06, 9:23:43 PM)

appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes

i think that's the problem...
i'm using latest libtool (from the warehouse)
Also i tried using autoreconf but it made the new configure invalid



Trying to force manually shared gave:
*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libmod_cml. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.



~$ pkg_info | grep libtool
libtool-1.5.20-bin Version 1.5.20 of libtool for Interix.

I thought 1.5.20 supported shared libraries:/?




Rodney -> RE: lighttpd (Mar. 13, '06, 9:48:20 PM)

What is happening is the "creator" of the configure is using some other packages as well
for the configure's build that are non-standard.
A hack to do is edit the configure (post autoreconf) and delete the lines causing the complaint.
It's worked before to get the shared libs going.
Or track down the other "configure packages" it wants (time consuming).




Page: [1]



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.016