problem with APR (Apache Portable Runtime)
|
|
I have followed the steps in this tutorial http://www.warehouseapp.com/installing/ruby-sub… and I get the following error after i run this command: ./configure—prefix=/usr/local—with-openssl—with-ssl—with-zlib configure: Apache Portable Runtime (APR) library configuration checking for APR... yes checking APR version... 0.9.4 wanted regexes are 0\.9\.[7-9] 0\.9\.1[0-9] 1\. configure: error: invalid apr version found |
|
|
It looks like you need to upgrade your version of the Apache Portable Runtime to at least 0.9.7. You have 0.9.4 currently. If you’re not sure how to do that, post some more information about your platform and maybe we can help. |
|
|
I have CentOS release 4.5 (Final) with Apache 2 and MySQL 5. It’s enough?. Cheers. Thanks |
|
|
dudes, any sugestion? any idea? cheers thanks |
|
|
I have done an “yum search APR” and found there is no new version (0.9.7) of Apache Portable Runtime for CentOS. There is a way to use Warehouse with APR 0.9.4? thanks |
|
|
Why are you building Subversion instead of installing it with Yum? There’s no need to build subversion from source. |
|
|
I was following the installation guide from here: http://warehouseapp.com/installing/ruby-subvers… Can you tell me how to install it using yum? I ask this to the admins: It’s ok to install Subversion using Yum? Thanks |
|
|
“yum install subversion” |
|
|
I did it, but no success. Any other suggestions? [root@24x7hosting swig-1.3.31]# yum install subversion Setting up Install Process Setting up repositories update 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 centosplus 100% |=========================| 951 B 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 55% |============= | 64 kB 00:0primary.xml.gz 97% |======================== | 112 kB 00:0primary.xml.gz 100% |=========================| 114 kB 00:00 centosplus: ################################################## 385/385 Added 28 new packages, deleted 0 old in 3.37 seconds primary.xml.gz 100% |=========================| 53 kB 00:0primary.xml.gz 100% |=========================| 53 kB 00:00 extras : ################################################## 220/220 Added 8 new packages, deleted 0 old in 2.01 seconds Parsing package install arguments Nothing to do |
|
|
Looks like it’s already installed, just go to the next step then. |
|
|
Assuming the next step is to install the Ruby subversion bindings i get this error: [root@24x7hosting swig-1.3.31]# make swig-rb make: *** No rule to make target `swig-rb'. Stop. [root@24x7hosting swig-1.3.31]# waiting for further instructions. |
|
|
Any other suggestions? I really need this working. |
|
|
I guess you already installed the swig? I think you really need to compile subversion on your server. Download the apr and apr-util latest version into your subversion folder, and execute ./configure—prefix=/usr/local —with-openssl—with-ssl—with-zlib—with-apx=apx—with-apr-util=apr-util arguments, where apr and apr-util are the locations of the downloaded versions. |
|
|
To avoid the APR error you must install svn in this order: curl -O http://subversion.tigris.org/downloads/subversi… |
|
|
Alex lots of thanks for your support. When following your steps I get this error: [root@24x7hosting subversion-1.4.5]# ./configure—prefix=/usr/local—with-openssl—with-ssl—with-zlib -bash: ./configure—prefix=/usr/local—with-openssl—with-ssl—with-zlib: No such file or directory [root@24x7hosting subversion-1.4.5]# thanks |
|
|
I’ve managed to install it, and in the last step i get this error:
[root@24x7hosting subversion-1.4.5]# ruby -e 'puts require("svn/core")'
/usr/lib/ruby/site_ruby/1.8/i386-linux/svn/ext/core.so: libsvn_swig_ruby-1.so.0: cannot open shared object file: No such file or directory - /usr/lib/ruby/site_ruby/1.8/i386-linux/svn/ext/core.so (LoadError)
from /usr/lib/ruby/site_ruby/1.8/svn/error.rb:1
from /usr/lib/ruby/site_ruby/1.8/svn/core.rb:4:in `require'
from /usr/lib/ruby/site_ruby/1.8/svn/core.rb:4
from -e:1:in `require'
from -e:1
[root@24x7hosting subversion-1.4.5]#
Waiting for further instructions. Thanks in advance guys! |
|
|
Hmm, are you copying the text straight from this page? Because some of the characters get messed up the textile processor or something, see this: I suggest you delete the subversion source folder you already have and start over with this: Let me know how it goes… |
|
|
I also have the same problem. APR was the incorrect version. Installed updated version of apr and apr-utils. Everything compiled and installed fine. I get that same error. I get this error running make-check-swig.rb
|
|
|
@Shaun I was getting that same exact error and I know how to fix it. The newest svn 1.4.5 uses a library called neon and what ever version of neon you have installed is linked to a diff versions of svn then the one you’re running. Documented here: http://svn.haxx.se/users/archive-2006-06/0670.s… To fix do this: cd /usr/local/src Then download the latest svn 1.4.5 extract it and configure it with the params I provided above including this new one to refrence the new neon we downloaded. For the whole svn process from scratch, see this pastie: Good luck. |
|
|
Actually, subversion requires neon 0.25… or else it won’t be included in the build. |
|
|
I was experiencing these same errors, as well as having problems installing swig, while insalling on RHEL5. Additionally, while trying to run the installation I found that I was missing several dependencies for APR and neon (i.e., an XML rendering utility). I documented the entire process here |