This is the mail archive of the cygwin-apps@cygwin.com 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: what happened to apxs?


hkatz@iscs-i.com wrote:
Hi Max,

It's only got a man page on the cygwin release

cygcheck -l apache2 | grep apxs
/usr/share/man/man8/apxs2.8.gz

apxs is a development component, so it's in apache2-devel. Of course, that means the manpage should be there too - thanks for calling it to my attention, I've adjusted my buildscript, and it will be moved in the next release.


which, of course, is preventing me from building subversion:

That's not the only thing, either. Since you seem fairly anxious to build subversion with apache2, I'm appending the key elements from my build. I'll be getting around to packaging it soon.


Max.

PS: No need to cc me, like all cygwin package maintainers, I read cygwin-apps.


Index: Makefile.in
===================================================================
--- Makefile.in (revision 15161)
+++ Makefile.in (working copy)
@@ -166,7 +166,7 @@
LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(libdir)


# special link rule for mod_dav_svn
-LINK_APACHE_MOD = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(APACHE_LIBEXECDIR) -avoid-version -module
+LINK_APACHE_MOD = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(APACHE_LIBEXECDIR) -avoid-version -module -shrext .so


# these commands run SWIG to generate wrapper source files (*.c)
### should we protect against swig not being available?
Index: build.conf
===================================================================
--- build.conf  (revision 15161)
+++ build.conf  (working copy)
@@ -230,6 +230,7 @@
type = apache-mod
path = subversion/mod_dav_svn
libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr
+       mod_dav httpd aprutil apr
nonlibs = apr aprutil
install = apache-mod
msvc-libs = mod_dav.lib libhttpd.lib
@@ -240,9 +241,20 @@
path = subversion/mod_authz_svn
nonlibs = mod_dav_svn apr aprutil
libs = libsvn_subr
+       mod_dav_svn httpd aprutil apr
install = apache-mod
msvc-libs = libhttpd.lib

+[mod_dav]
+type = lib
+external-lib = `$(APXS) -q libexecdir`/mod_dav.la
+libs = httpd aprutil apr
+
+[httpd]
+type = lib
+external-lib = `$(APXS) -q libdir`/libhttpd2core.la
+libs = aprutil apr
+
[svnserve]
description = Subversion Server
type = exe


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