Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

lighttpd

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> lighttpd Page: [1]
Login
Message << Older Topic   Newer Topic >>
lighttpd - Mar. 10, '06, 10:13:00 AM   
DeathWolf

 

Posts: 12
Joined: Mar. 7, '06,
Status: offline
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
Post #: 1
RE: lighttpd - Mar. 10, '06, 10:53:19 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
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.

(in reply to DeathWolf)
Post #: 2
RE: lighttpd - Mar. 11, '06, 1:21:51 AM   
DeathWolf

 

Posts: 12
Joined: Mar. 7, '06,
Status: offline
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)

(in reply to Rodney)
Post #: 3
RE: lighttpd - Mar. 13, '06, 9:23:43 PM   
DeathWolf

 

Posts: 12
Joined: Mar. 7, '06,
Status: offline
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:/?

< Message edited by DeathWolf -- Mar. 13, '06, 9:32:33 PM >

(in reply to DeathWolf)
Post #: 4
RE: lighttpd - Mar. 13, '06, 9:48:20 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
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).

(in reply to DeathWolf)
Post #: 5
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> lighttpd Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.078