Re: [R-SIG-Mac] svn location
Carl, the one in /usr/bin is just a stub from Apple that re-directs to real svn. Where that one is depends on your installed tools (Xcode/CLT,...), for CLT it is in $ ls -lh /Library/Developer/CommandLineTools/usr/bin/svn -rwxr-xr-x 1 root admin 321K Jul 13 2019 /Library/Developer/CommandLineTools/usr/bin/svn And it is a dynamic build so it needs all the dependent libraries (see otool -L). The build I'm providing is single-file so all (non-system) libraries are included in the binary hence it is bigger. As to where to put it, I'd probably use /usr/local/bin, but if you don't have access there you can run it from your home or anywhere else. Cheers, Simon > On Aug 29, 2020, at 05:11, Carl Witthoft wrote: > > Well, I put this new svn in /usr/local, then checked around my Catalina > system: > > > iMac:~ cgw$ which svn > /usr/bin/svn > iMac:local cgw$ cd /usr/bin > iMac:bin cgw$ ls -l svn > -rwxr-xr-x 1 root wheel 31488 Aug 10 16:55 svn > iMac:bin cgw$ cd /usr/local > iMac:local cgw$ ls -l svn > -rwxr-xr-x@ 1 cgw wheel 8767792 Aug 25 18:04 svn > iMac:local cgw$ what svn > svn > 1.14.0 (r1876290) > > That's a huge difference in file size! Any idea what the /usr/bin one is? > > Carl > > On 8/26/20 1:00 PM, peter dalgaard wrote: >> Not dumb. >> Simon's usual style is that tarballs are installed at / and things end up >> under /usr/local, using the procedure outlined at the bottom of >> https://mac.r-project.org/libs/ >> but you should probably check with "tar tvfz" first. >> -pd >> >>> On 26 Aug 2020, at 18:43 , Carl Witthoft wrote: >>> >>> Dumb question from someone who hasn't done any building in quite a while: >>> recommended director to place the svn executable? >>> thanks >>> Carl >>> >>> On 8/26/20 6:00 AM, r-sig-mac-requ...@r-project.org wrote: >>> 1. svn now available from the tools (Simon Urbanek) ntent-Type: text/plain; charset="us-ascii" If you want to build R from the svn repository you need svn (subversion). Xcode 10 has removed svn so it is no loner available from Apple, we are providing a binary (cmopatible with OS X 10.11 and higher) in https://mac.r-project.org/tools/ (in "optional tools and libraries" at the bottom), direct link: https://mac.r-project.org/tools/subversion-1.14.0-darwin15.6.tar.gz It is a single-file signed, static build so has no dependencies and can be run from anywhere. Cheers, >>> >>> ___ >>> R-SIG-Mac mailing list >>> R-SIG-Mac@r-project.org >>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > -- > Carl Witthoft > c...@witthoft.com > resume: https://app.box.com/file/498153801347 > > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] svn location
Well, I put this new svn in /usr/local, then checked around my Catalina system: iMac:~ cgw$ which svn /usr/bin/svn iMac:local cgw$ cd /usr/bin iMac:bin cgw$ ls -l svn -rwxr-xr-x 1 root wheel 31488 Aug 10 16:55 svn iMac:bin cgw$ cd /usr/local iMac:local cgw$ ls -l svn -rwxr-xr-x@ 1 cgw wheel 8767792 Aug 25 18:04 svn iMac:local cgw$ what svn svn 1.14.0 (r1876290) That's a huge difference in file size! Any idea what the /usr/bin one is? Carl On 8/26/20 1:00 PM, peter dalgaard wrote: Not dumb. Simon's usual style is that tarballs are installed at / and things end up under /usr/local, using the procedure outlined at the bottom of https://mac.r-project.org/libs/ but you should probably check with "tar tvfz" first. -pd On 26 Aug 2020, at 18:43 , Carl Witthoft wrote: Dumb question from someone who hasn't done any building in quite a while: recommended director to place the svn executable? thanks Carl On 8/26/20 6:00 AM, r-sig-mac-requ...@r-project.org wrote: 1. svn now available from the tools (Simon Urbanek) ntent-Type: text/plain; charset="us-ascii" If you want to build R from the svn repository you need svn (subversion). Xcode 10 has removed svn so it is no loner available from Apple, we are providing a binary (cmopatible with OS X 10.11 and higher) in https://mac.r-project.org/tools/ (in "optional tools and libraries" at the bottom), direct link: https://mac.r-project.org/tools/subversion-1.14.0-darwin15.6.tar.gz It is a single-file signed, static build so has no dependencies and can be run from anywhere. Cheers, ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac -- Carl Witthoft c...@witthoft.com resume: https://app.box.com/file/498153801347 ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
[R-SIG-Mac] bzip2 configure error
I'm trying to build R-devel in Catalina for the first time in a few weeks, and configure is dying with this error: checking whether bzip2 support suffices... configure: error: bzip2 library and headers are required I tried a Homebrew install of bzip2, and it didn't help. When I look in config.log, I see this: configure:45424: checking if bzip2 version >= 1.0.6 configure:45452: gcc -o conftest -g -O2 -I/usr/local/opt/libffi/include -L/usr/local/opt/libffi/lib conftest.c -lbz2 -lz -licucore -ldl -lm -liconv >&5 conftest.c:250:11: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *ver = BZ2_bzlibVersion(); ^ ~~ conftest.c:251:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration] exit(strcmp(ver, "1.0.6") < 0); ^ conftest.c:251:5: note: include the header or explicitly provide a declaration for 'exit' conftest.c:251:10: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration] exit(strcmp(ver, "1.0.6") < 0); ^ conftest.c:251:10: note: include the header or explicitly provide a declaration for 'strcmp' 1 warning and 2 errors generated. Suggestions for fixing this? Duncan Murdoch ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac