Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 23 Sep 2004 14:45:00 +0200 From: "Gerrit P. Haase" Reply-To: "Gerrit @ cygwin" Organization: Esse keine toten Tiere Message-ID: <906379301.20040923144500@familiehaase.de> To: "Gerrit @ cygwin" Subject: Re: New packge: lighttpd-1.3.0 In-Reply-To: <415230DB.83A3B87E@dessent.net> References: <41519C77 DOT 4080201 AT x-ray DOT at> <1656566026 DOT 20040922215552 AT familiehaase DOT de> <41520175 DOT AA068400 AT dessent DOT net> <618153225 DOT 20040923011821 AT familiehaase DOT de> <41521CB9 DOT CCEFB0B AT dessent DOT net> <675000566 DOT 20040923034336 AT familiehaase DOT de> <415230DB DOT 83A3B87E AT dessent DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hello Brian, >> I have a flag here: >> --enable-embed=TYPE EXPERIMENTAL: Enable building of embedded SAPI library >> TYPE is either 'shared' or 'static'. TYPE=shared >> >> is this new in php-5? Lets see what happens when I define it. > No, it's the same in php4, and I haven't had to touch it. > Are you using one of --with-apxs or --with-apache? The former requires > Apache to be installed and the apxs binary in the path or specified > location, and the latter requires an Apache source tree that's been > configured. If neither is found or gives an error then it won't try to > build as an apache module, which looks like what's happening in your > case -- getting the CLI only. No I don't use Apache here at home, I running lighttpd now;) I use the options --enable-fastcgi and two others to get the CGI SAPI. Now I see "$(LIBTOOL) --mode=compile $(CC) ...." in the Makefile, which was previously just "$(CC) ...", however I'm not sure what option makes the difference, I already see now what the problem is, if you have a source tree with the static archives ready compiled you can try the following, remove all *.la files, add to the Makefile: LDFLAGS = -no-undefined and run make again and see if the modules are compiled shared then. There should be lines like this in the Makefile: ext/bcmath/bcmath.la: $(shared_objects_bcmath) $(BCMATH_SHARED_DEPENDENCIES) $(LIBTOOL) --mode=link $(CC) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ -export-dynamic -avoid-version -prefer-pic -module -rpath $(phplibdir) $(EXTRA_LDFLAGS) $(shared_objects_bcmath) $(BCMATH_SHARED_LIBADD) Originally LDFLAGS is empty. BUT, BCMATH_SHARED_LIBADD is empty too, so it needs to hold a reference to libphp5 else there will be most probably failures during linking because of unresolved references. This will need some more changes in their build system, that is we need to update all config.m4 files to include the reference to libphp.la for all modules which are available. Gerrit -- =^..^= -- 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/