[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Can not compile Apache subversion 1.9.5 on CentOS 7 (64 bit).

From: Ravi Roy <ravi.aroy_at_gmail.com>
Date: Wed, 7 Jun 2017 21:45:40 +0530

On Wed, Jun 7, 2017 at 8:32 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name>
wrote:

>
>
> Why are you running autogen.sh? If you build from a released tarball,
> you don't need to run autogen at all; just configure and make. (And
> none of them needs to be run as root)
>
> Running autogen.sh is only needed when building from a working copy of
> /repos/asf/subversion/tags/*/.
>
Thanks Daniel, I've used ./autogen.sh in 1.6.x compilation too, there was
no specific reason (did not go into details, sorry). I just tried to
confiure it but i'm getting the below error :

 ./configure --prefix=/usr/local/Subversion --enable-shared
--with-apxs=/usr/local/Apache2/bin/apxs
configure: Configuring Subversion 1.9.5
configure: creating config.nice
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking if gcc accepts -std=c90... yes
checking if gcc accepts -w... yes
checking if gcc accepts -Werror=unknown-warning-option... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /usr/bin/sed
configure: error: cannot run /bin/sh build/config.sub

Googling it does not give a solid clue. Do you know what is wrong here?
From the INSTALL docuemnt i've made sure all necessary dependencies are
installed.

Regards
Ravi
Received on 2017-06-07 18:16:01 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.