Error Installing : subversion +bash_completion +mac_os_x_server_mod_dav_svn

Bill Hernandez ms at mac-specialist.com
Sat Mar 28 12:07:09 PDT 2009


I tried to accessing subversion on a machine running OS X SERVER  
10.4.x (latest 10.4 version) and ran into a couple of errors related  
to something called 'neon'.

( 1 ) I had installed 'CornerStone svn client' yesterday tried on my  
workstation.
( 2 ) Setup a repository on my local machine, which worked fine.
( 3 ) Modified the apache2 virtual host conf file to allow WebDav over  
SSL on port 8443
( 3 ) Tried to create the repository using the client, using :

'https://www.example.com:8443/svn/repository'

as the path, but kept running into an error, so today I looked at the  
server and did a $which svn, and to my surprise found there wasn't any.

On the Leopard machine that I am using, just for grins, I also tried :

[2009.28.03](01:40PM) -> [roscoe] ~ $ which svn
/usr/bin/svn

and sure enough, it finally became clear why I couldn't access the  
server using the client. Cornerstone worked fine with a repository on  
my local machine, but not on the server. I didn't realize OS X Server  
10.4 didn't have subversion installed, silly me.

Anyway, MacPorts to the rescue, I tried installing subversion using  :

$ sudo port install -v subversion +bash_completion 
+mac_os_x_server_mod_dav_svn

below, but ran into a couple of errors during the install.

Any ideas ?

Bill Hernandez
Plano, Texas

[2009.28.03](01:08PM) -> [roscoe] ~ $ sudo port selfupdate
Password:

[2009.28.03](01:08PM) -> [roscoe] ~ $ port installed apache2
The following ports are currently installed:
   apache2 @2.2.10_0 (active)


MacPorts base version 1.700 installed
Downloaded MacPorts base version 1.700

The MacPorts installation is not outdated so it was not updated
[2009.28.03](01:08PM) -> [roscoe] ~ $ port info subversion
subversion @1.6.0, Revision 1 (devel)
Variants:    bash_completion, darwin_7, disable_keychain,  
mac_os_x_server_mod_dav_svn, mod_dav_svn, no_bdb,
              no_neon, tools, unicode_path

Subversion is a version control system designed to be as similar to  
cvs(1) as possible, while fixing many
outstanding problems with cvs(1).
Homepage:    http://subversion.tigris.org/

Library Dependencies: expat, neon, apr, apr-util, db46, sqlite3,  
gettext, libiconv, serf, cyrus-sasl2
Platforms:            darwin
Maintainers:          dluke at geeklair.net

[2009.28.03](01:09PM) -> [roscoe] ~ $ sudo port install -v subversion  
+bash_completion+mac_os_x_server_mod_dav_svn

--->  Fetching bash-completion
--->  Attempting to fetch bash-completion-20060301.tar.bz2 from http://distfiles.macports.org/bash-completion
--->  Verifying checksum(s) for bash-completion
--->  Extracting bash-completion
--->  Configuring bash-completion
--->  Building bash-completion
--->  Staging bash-completion into destroot
--->  Installing bash-completion @20060301_1
To use bash_completion, add the following lines at the end of  
your .bash_profile:

     if [ -f /opt/local/etc/bash_completion ]; then
         . /opt/local/etc/bash_completion
     fi

--->  Activating bash-completion @20060301_1
--->  Cleaning bash-completion
--->  Fetching neon
--->  Attempting to fetch neon-0.28.3.tar.gz from http://distfiles.macports.org/neon
--->  Verifying checksum(s) for neon
--->  Extracting neon
--->  Configuring neon
--->  Building neon
--->  Staging neon into destroot
--->  Installing neon @0.28.3_1
--->  Activating neon @0.28.3_1
--->  Cleaning neon
--->  Fetching serf
--->  Attempting to fetch serf-0.3.0.tar.bz2 from http://serf.googlecode.com/files/
--->  Verifying checksum(s) for serf
--->  Extracting serf
--->  Configuring serf
--->  Building serf
--->  Staging serf into destroot
--->  Installing serf @0.3.0_0
--->  Activating serf @0.3.0_0
--->  Cleaning serf
--->  Fetching subversion
--->  Attempting to fetch subversion-1.6.0.tar.bz2 from http://subversion.tigris.org/downloads/
--->  Verifying checksum(s) for subversion
--->  Extracting subversion
--->  Applying patches to subversion
--->  Configuring subversion

ERROR: Target org.macports.configure returned: configure failure:  
shell command " cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_devel_subversion/work/subversion-1.6.0"  
&& ./configure --prefix=/opt/local --with-berkeley-db=yes --with-neon=/ 
opt/local --with-apr=/opt/local/bin/apr-1-config --with-apr-util=/opt/ 
local/bin/apu-1-config --mandir=\${prefix}/share/man --disable-neon- 
version-check --with-serf=/opt/local --with-sasl=/opt/local --with- 
apxs=/opt/apache2/bin/apxs --disable-mod-activation " returned error 1
Command output: configure: Apache Portable Runtime Utility (APRUTIL)  
library configuration

checking for APR-util... yes
checking APR-UTIL version... 1.3.4
checking for pkg-config... /opt/local/bin/pkg-config
configure: checking neon library
checking neon library version... 0.28.3
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
configure: serf library configuration
checking serf.h usability... yes
checking serf.h presence... yes
checking for serf.h... yes
checking for serf_context_create in -lserf-0... yes
configure: looking for apr_memcache as part of apr-util
checking apr_memcache.h usability... yes
checking apr_memcache.h presence... yes
checking for apr_memcache.h... yes
checking for apr_memcache_create in -laprutil-1... yes
checking for Apache module support via DSO through APXS... found at / 
opt/apache2/bin/apxs
checking httpd version... recent enough

checking whether Apache version is compatible with APR version... NO
configure: error: Apache version incompatible with APR version

ERROR: Status 1 encountered during processing.

[2009.28.03](01:15PM) -> [roscoe] ~ $



More information about the macports-users mailing list