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

Re: Building Subversion on the Mac

From: Paul Hammant <paul_at_hammant.org>
Date: Sat, 28 Oct 2017 08:24:19 -0400

Thank you, that allows configure to complete w/o error. Next up, libtool
....

$ make
/bin/sh "/scm/oss/subversion/libtool" --tag=CC --silent --mode=compile gcc
-std=c90 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10
 -Werror=unknown-warning-option -g -O2 -g -O2 -I./subversion/include
-I./subversion -I/usr/local/opt/apr/libexec/include/apr-1
 -I/usr/local/opt/apr-util/libexec/include/apr-1
-I/usr/local/opt/openssl/include -I/usr/local/Cellar/lz4/1.8.0/include -o
subversion/libsvn_delta/branch.lo -c subversion/libsvn_delta/branch.c
/bin/sh: /scm/oss/subversion/libtool: No such file or directory
make: *** [subversion/libsvn_delta/branch.lo] Error 127

So I can find a /usr/bin/libtool and one in
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
but both are binary, and the failing make step is an attempt to hand a
shell script to /bin/sh to execute. This feels like a wrapper-like thing,
and I've googled a little, but can't see anything clear like "copy this
script to folder/libtool".

- Paul

On Sat, Oct 28, 2017 at 8:07 AM, Troy Curtis Jr <troycurtisjr_at_gmail.com>
wrote:

>
>
> On Sat, Oct 28, 2017, 7:02 AM Paul Hammant <paul_at_hammant.org> wrote:
>
>> OK, so I can get so far ...
>>
>> svn co http://svn.apache.org/repos/asf/subversion/trunk subversion
>> cd subversion
>> brew install libtool apr
>> cp /usr/local/Cellar/libtool/2.4.6_1/share/libtool/build-aux/config.sub
>> build/
>> autoconf
>> ./configure --build=x86_64 --prefix=/usr/local --with-openssl --with-ssl
>> --with-zlib --with-apr=/usr/local/Cellar/apr/1.6.3/
>> --with-apr-util=/usr/local/Cellar/apr-util/1.6.1/
>>
>>
>> (Note that I had to config.sub in my Homebrew folders and copy it into
>> the build/ directory - barfs without it)
>>
>> .. but it barfs after during the configure step:
>>
>>
>> <snip/>
>>
>> checking how to use output level for Ruby bindings tests... normal
>> checking for ctypesgen.py... none
>> checking stdbool.h usability... yes
>> checking stdbool.h presence... yes
>> checking for stdbool.h... yes
>> checking for stdint.h... (cached) yes
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: error: cannot find input file: `subversion/libsvn_*/*.
>> pc.in'
>>
>> I can't see any files ending in .pc.in in any subversion/libsvn_
>> prefixed folder (in the checkout). Therefore I'm not surprised the
>> configure step fails when it's looking for those files.
>>
>> Any advice would be appreciated.
>>
>> - Paul
>>
>
> Since you are building from a checkout and not from a dist tarball, you
> need to run "autogen.sh" before configure.
>
> Troy
>

-- 
Paul Hammant DevOps <https://devops.paulhammant.com> Let me give you a step
by step plan to get out of the hell of ClearCase and crazy branching models
and into the world of high-throughput CD on DevOps foundations.
Received on 2017-10-28 14:24:33 CEST

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

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