You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Gai Feng <gf...@sina.com> on 2006/09/13 07:41:21 UTC

Problem with 1.4.0

Hi all,

I am trying to complie and install Subversion 1.4.0 on my Fedora Core 5
with HTTPD 2.2.0 and Subversion 1.3.0 already installed.

The following packages have been downloaded and unpacked to my ~/
directory:

subversion-1.4.0.tar.gz and subversion-deps-1.4.0.tar.gz

1. I don't know how to specify --with-apxs option. I can not find apxs
on my system.

2. I configured the package as:

./configure --prefix=/usr --with-berkeley-db=/usr

Warning message as below:

==================================================================
WARNING: skipping the build of mod_dav_svn
         --with-apxs or --with-apache must be used
==================================================================

after make and make install, I get the error messages as below when
invoking svn and svnsync:

svn: error while loading shared
libraries: /usr/lib/libsvn_ra_dav-1.so.0: cannot restore segment prot
after reloc: Permission denied
svnsync: error while loading shared
libraries: /usr/lib/libsvn_ra_dav-1.so.0: cannot restore segment prot
after reloc: Permission denied


Any help is appreciated.

Gai Feng


Re: Problem with 1.4.0

Posted by Rob Wilkerson <r....@gmail.com>.
If it is an SELinux problem (and FC5 enables it by default), then you
can disable it completely or you can run this command against your svn
directory:

# chcon -R -t httpd_sys_content_t /path/to/your/svn/install/

On 9/13/06, Garrett Rooney <ro...@electricjellyfish.net> wrote:
> On 9/13/06, Gai Feng <gf...@sina.com> wrote:
> >
> >  Hi all,
> >
> >  I am trying to complie and install Subversion 1.4.0 on my Fedora Core 5
> > with HTTPD 2.2.0 and Subversion 1.3.0 already installed.
> >
> >  The following packages have been downloaded and unpacked to my ~/
> > directory:
> >
> >  subversion-1.4.0.tar.gz and subversion-deps-1.4.0.tar.gz
> >
> >  1. I don't know how to specify --with-apxs option. I can not find apxs on
> > my system.
> >
> >  2. I configured the package as:
> >
> >  ./configure --prefix=/usr --with-berkeley-db=/usr
> >
> >  Warning message as below:
> >
> > ==================================================================
> >  WARNING: skipping the build of mod_dav_svn
> >           --with-apxs or --with-apache must be used
> > ==================================================================
> >
> >  after make and make install, I get the error messages as below when
> > invoking svn and svnsync:
> >
> >  svn: error while loading shared libraries: /usr/lib/libsvn_ra_dav-1.so.0:
> > cannot restore segment prot after reloc: Permission denied
> >  svnsync: error while loading shared libraries:
> > /usr/lib/libsvn_ra_dav-1.so.0: cannot restore segment prot after reloc:
> > Permission denied
> >
> >
> >  Any help is appreciated.
>
> Googling for "cannot restore segment prot after reloc" indicates that
> you've probably got a SELinux problem, and you need to fix it before
> you'll be able to use those libraries.  Unfortunately, I'm no SELinux
> expert, so I can't say how you'd go about doing that.
>
> -garrett
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>


-- 

Rob Wilkerson

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problem with 1.4.0

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 9/13/06, Gai Feng <gf...@sina.com> wrote:
>
>  Hi all,
>
>  I am trying to complie and install Subversion 1.4.0 on my Fedora Core 5
> with HTTPD 2.2.0 and Subversion 1.3.0 already installed.
>
>  The following packages have been downloaded and unpacked to my ~/
> directory:
>
>  subversion-1.4.0.tar.gz and subversion-deps-1.4.0.tar.gz
>
>  1. I don't know how to specify --with-apxs option. I can not find apxs on
> my system.
>
>  2. I configured the package as:
>
>  ./configure --prefix=/usr --with-berkeley-db=/usr
>
>  Warning message as below:
>
> ==================================================================
>  WARNING: skipping the build of mod_dav_svn
>           --with-apxs or --with-apache must be used
> ==================================================================
>
>  after make and make install, I get the error messages as below when
> invoking svn and svnsync:
>
>  svn: error while loading shared libraries: /usr/lib/libsvn_ra_dav-1.so.0:
> cannot restore segment prot after reloc: Permission denied
>  svnsync: error while loading shared libraries:
> /usr/lib/libsvn_ra_dav-1.so.0: cannot restore segment prot after reloc:
> Permission denied
>
>
>  Any help is appreciated.

Googling for "cannot restore segment prot after reloc" indicates that
you've probably got a SELinux problem, and you need to fix it before
you'll be able to use those libraries.  Unfortunately, I'm no SELinux
expert, so I can't say how you'd go about doing that.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problem with 1.4.0

Posted by Frank Gruman <fg...@verizon.net>.
Gai Feng wrote:
> Hi all,
>
> I am trying to complie and install Subversion 1.4.0 on my Fedora Core 
> 5 with HTTPD 2.2.0 and Subversion 1.3.0 already installed.
>
> The following packages have been downloaded and unpacked to my ~/ 
> directory:
>
> subversion-1.4.0.tar.gz and subversion-deps-1.4.0.tar.gz
>
> 1. I don't know how to specify --with-apxs option. I can not find 
> /apxs/ on my system.
>
> 2. I configured the package as:
>
> ./configure --prefix=/usr --with-berkeley-db=/usr
>
> Warning message as below:
>
> /==================================================================/
> /WARNING: skipping the build of mod_dav_svn/
> /         --with-apxs or --with-apache must be used/
> /==================================================================/
>
> after /make/ and /make install/, I get the error messages as below 
> when invoking /svn/ and /svnsync:/
>
> /svn: error while loading shared libraries: 
> /usr/lib/libsvn_ra_dav-1.so.0: cannot restore segment prot after 
> reloc: Permission denied/
> /svnsync: error while loading shared libraries: 
> /usr/lib/libsvn_ra_dav-1.so.0: cannot restore segment prot after 
> reloc: Permission denied/
>
>
> Any help is appreciated.
>
> Gai Feng
>
If you installed Apache from source, it probably includes APXS in the 
bin folder of your install location.

On mine (SUSE), this is  --with-apxs=/usr/local/apache2/bin/apxs


Regards,
Frank