This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building .so files for Apache 2.2.0 on Cygwin 1.5.19-4


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

Jacco wrote:
> Hey there
> 
> I'm a complete newbie to cygwin and a "more-or-less" newbie with linux.
> 
> But I came with the idea to create my own apache module. And linux is
> obviuous the platform to go for.
> 
> Apache 2.2.0 compiled, installed and works fine.
> 
> However when I try to get the (ultra basic) module from
> http://threebit.net/tutorials/apache2_modules/tut1/tutorial1.html
> working, I get the error:
> "Warning! dlname not found" (see attachement for complete output)
> 
> I have a '.a' and '.la' file, but no .so file
> 
> As far as I can tell this problem has notting to do with my module since the
> same problem seems to arise with PHP5, mod_security and others on cygwin.
>>From various threads I've read there seems to be an issue with libtool??
> However nobody seems to have a definitive solution for this. (and all the
> things I tried didn't work) and the cygwin mailing list archives didn't come
> up with the cause of the error either.
> 
> So I came to the point where I, with my limited knowledge, am at a complete
> loss.
> I thought that it maybe has something to do with the w2k-platform expecting
> .dll files but there is nothing pointing in that direction.
> 
> Is there anyone out there who can point me in the right direction here ?
> and maybe even provide a solution?


Based on what you've said, I think you'd find writing your own apache
module a lot easier on Linux, than Cygwin.

Cygwin (well, actually, limitations of the Windows DLL loader) require
non-trivial patches to the build system to make DSO modules work.

You can look at the Apache 2.0.55 source package in the distribution, if
you like - I'm working on an Apache 2.2.0 package, which is more-or-less
ready. The only thing holding me back from releasing it is that I need
to get around to discussing how to handle the compatibility issues
implied by the 2.0 -> 2.2 transition.

Max.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFD63zAfFNSmcDyxYARAr8QAJwN12AVAIpmsFrexXtTSaUrht8yTgCgn/2o
Bv/lbRgoZxWRfExM7yDzvlw=
=k68u
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]