Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <3C3C69C7.6080907@ece.gatech.edu> Date: Wed, 09 Jan 2002 11:03:19 -0500 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Stipe Tolj CC: cygwin-apps Subject: Re: [ANN] apache_1.3.22 package available for setup inclusion References: <3C3BFC4C DOT 15C3C81A AT wapme-systems DOT de> <885801411 DOT 20020109124743 AT familiehaase DOT de> <468205118 DOT 20020109132747 AT familiehaase DOT de> <3C3C5DE2 DOT 3AED8AE3 AT wapme-systems DOT de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Stipe Tolj wrote: > "Gerrit P. Haase" wrote: > > >>Question 1: >>=========== >>The Apache isn't linked against libgdbm? >>Wouldn't it be a nice addition? >> >>I ask because of this message during configuring: >> >> + adding selected modules >> o rewrite_module uses ConfigStart/End >> disabling DBM support for mod_rewrite >> (perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS) >> o dbm_auth_module uses ConfigStart/End >> > > snap from src/Configure: > > ... > *-cygwin*) > OS='Cygwin' > OSDIR="os/cygwin" > CFLAGS="$CFLAGS -DCYGWIN" > DEF_WANTHSREGEX=yes > DBM_LIB="-lgdbm" > LIBS="$LIBS -lcrypt $DBM_LIB" > ;; > ... > > so it should be linked in, IMO, but staticaly. Actually, -lgdbm SHOULD result in a dynamic link. unless you explicitly say '-static', ld will first attempt to link against "libgdbm.dll.a" (the import lib for cyggdbm.dll) BEFORE trying to link against "libgdbm.a" (the static lib). > Should be link against the import lib -lgsbm.dll to have cyggdbm.dll > used? No, see above. (Also, the current gdbm DLLization is "old style" -- which means that if you want to link STATICALLY you have to compile with -DGDBM_STATIC. See /usr/doc/Cygwin/gdbm.README. I hope to change this soon...utilizing autoimport functionality, blah blah blah) > > >>Question 2: >>=========== >>My configure says: >> >> + using system Expat >> >>wouldn't it be nice to have a cygwin-port of expat with shared libs too? >> > > expat is not maintained by the Apache group itself, so it's an other > front here I guess. True -- are you volunteering, Gerrit? :-) --Chuck