Location of APR config
I am trying to install SVN and I need path of the followings
apxs
apr config file
apr-util
I found the path of apr-util here /opt/cpanel/ea-apr16/
But I could not find apxs and apr, though yum says that apr is installed. Can someone please help me to find the paths?
-
Hello @Rakesh Mehta Looks like the config is located in /opt/cpanel/ea-apr16 as well: [root@server ea-apr16]# pwd /opt/cpanel/ea-apr16 [root@server ea-apr16]# cd bin/ [root@server bin]# ls -lah total 24K drwxr-xr-x 2 root root 4.0K Sep 7 08:00 . drwxr-xr-x 6 root root 4.0K Sep 7 08:00 .. -rwxr-xr-x 1 root root 6.8K Aug 27 22:18 apr-1-config -rwxr-xr-x 1 root root 6.2K Aug 27 22:21 apu-1-config
and apxs is a binary in /usr/bin/apxs0 -
Hello @Rakesh Mehta Looks like the config is located in /opt/cpanel/ea-apr16 as well:
[root@server ea-apr16]# pwd /opt/cpanel/ea-apr16 [root@server ea-apr16]# cd bin/ [root@server bin]# ls -lah total 24K drwxr-xr-x 2 root root 4.0K Sep 7 08:00 . drwxr-xr-x 6 root root 4.0K Sep 7 08:00 .. -rwxr-xr-x 1 root root 6.8K Aug 27 22:18 apr-1-config -rwxr-xr-x 1 root root 6.2K Aug 27 22:21 apu-1-config
and apxs is a binary in /usr/bin/apxs
I am running the latest version of WHM / CPanel: 98.0.5. I am also trying to compile and run svn, but the library files have no config anywhere. I have run afind / -name apr-*
command and the only thing I've got is /opt/cpanel/ea-apr16/lib64/apr-util-1 which is an empty folder. I would like to be able to compile svn with mod_dav_svn and use the cPanel server to serve my repositories. Do I need to do something to install the configuration files that were used?0 -
@simplify - when I check my personal machine on version 98 I see the following apr packages installed: # rpm -qa | grep apr ea-apr-devel-1.7.0-5.6.1.cpanel.x86_64 ea-apr-util-1.6.1-8.9.1.cpanel.x86_64 ea-apr-util-devel-1.6.1-8.9.1.cpanel.x86_64 ea-apr-1.7.0-5.6.1.cpanel.x86_64
If you aren't seeing those package, you may need to install the APR tools through the EasyApache interface, and then they'll be available on your system.0 -
@cPRex - That was exactly what I needed to do. I checked my output of the command you used and did not have the "devel" packages for apr or apr-util I added them via the RPM Install functionality in WHM in the Software -> RPM Install area. I had to select each one individually and now the files are there. Thanks so much for the help! 0 -
I'm glad that was all it was! 0
Please sign in to leave a comment.
Comments
5 comments