apache-httpd-2.2.20-ldap with ap2-subversion
Hi, How do I combine apache-httpd-2.2.20-ldap with the subversion plugin (ap2-subversion)? Apache-httpd with the ldap flavor depends on: - apr-mt-1.2.11p5 - apr-util-mt-1.2.10p8-ldap But ap2-subversion depends on: - apr-1.2.11p5 - apr-util-1.2.10p8 This seems to give some stability issues. Any ideas on how to accomplish this combination? Kind regards, Martijn Rijkeboer
Re: apache-httpd-2.2.20-ldap with ap2-subversion
On Sat, Sep 01, 2012 at 10:18:58AM +0200, Martijn Rijkeboer wrote: Hi, How do I combine apache-httpd-2.2.20-ldap with the subversion plugin (ap2-subversion)? Apache-httpd with the ldap flavor depends on: - apr-mt-1.2.11p5 - apr-util-mt-1.2.10p8-ldap But ap2-subversion depends on: - apr-1.2.11p5 - apr-util-1.2.10p8 This seems to give some stability issues. Any ideas on how to accomplish this combination? Subversion depends on thread-less APR in OpenBSD 5.1 because the user-space pthreads library is causing issues with piping output from the svn client to other programs (e.g. svn diff | less). If you want to stay on 5.1 you could try hacking the devel/subversion port to depend on apr-mt and apr-util-mt and recompile. There is no harm in doing so expect for the piping issues. Another solution is to upgrade to -current (or 5.2 when it is released later this year), where APR's -mt flavour has been removed and APR uses threads by default, so you can mix and match any of the ports that depend on APR. This will also give you more up-to-date versions of APR, httpd, and Subversion.
Re: apache-httpd-2.2.20-ldap with ap2-subversion
If you want to stay on 5.1 you could try hacking the devel/subversion port to depend on apr-mt and apr-util-mt and recompile. There is no harm in doing so expect for the piping issues. I've tried to hack devel/subversion so it depends on apr-mt and apr-util-mt (see attached Makefile). When I try to build it with: # env FLAVOR=no_bindings make package I'm getting: Missing library for aprutil-1-mt=2.0 Fatal error Any suggestions on what I'm doing wrong? Kind regards, Martijn Rijkeboer Subversion-Makefile Description: Binary data
Re: apache-httpd-2.2.20-ldap with ap2-subversion
On Sat, Sep 01, 2012 at 12:57:04PM +0200, Martijn Rijkeboer wrote: If you want to stay on 5.1 you could try hacking the devel/subversion port to depend on apr-mt and apr-util-mt and recompile. There is no harm in doing so expect for the piping issues. I've tried to hack devel/subversion so it depends on apr-mt and apr-util-mt (see attached Makefile). When I try to build it with: # env FLAVOR=no_bindings make package I'm getting: Missing library for aprutil-1-mt=2.0 Fatal error Any suggestions on what I'm doing wrong? If you run into problems changing the 5.1 port I'd recommend upgrading to -current instead. Your original problem has already been fixed there. You will receive better support running -current than running 5.1 with custom hacks.