Re: [R-pkg-devel] Problem compiling openssl package (FreeBSD stable/11)

2017-01-19 Thread David Wolfskill
On Thu, Jan 19, 2017 at 09:02:12AM -0600, Dirk Eddelbuettel wrote: > ... > | I was able puzzle through things enough to determine that re-invoking > | install.packages() as > | > | install.packages("~/R/Rtmp4VjFtY/dhw/openssl", repos = NULL) > | > | (in my case) would allow me to work with m

Re: [R-pkg-devel] Problem compiling openssl package (FreeBSD stable/11)

2017-01-18 Thread David Wolfskill
On Wed, Jan 18, 2017 at 01:27:24PM -0600, Dirk Eddelbuettel wrote: > ... > | And it appears that the local sources are ephemeral, so I can't > | readily patch those sources to see if I can get it to work (as the > | patched sources wouldn't be used) -- unless I miss the mark > | > | Any sugg

Re: [R-pkg-devel] Problem compiling openssl package (FreeBSD stable/11)

2017-01-18 Thread David Wolfskill
On Wed, Jan 18, 2017 at 01:27:24PM -0600, Dirk Eddelbuettel wrote: > ... > | It turns out that in FreeBSD (possibly also in other BSD-derived > | environments), PF_UNSPEC is defined (in /usr/include/sys/socket.h), but > | only if "__BSD_VISIBLE" is true: > > [good detective work omitted] :-) >

Re: [R-pkg-devel] Problem compiling openssl package (FreeBSD stable/11)

2017-01-18 Thread David Wolfskill
On Tue, Jan 17, 2017 at 04:05:16PM -0800, David Wolfskill wrote: > [The R "openssl" package didn't build under FreeBSD for me] > ... > gcc49 -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -DLIBICONV_PLUG > -I/usr/local/include -isystem /usr/local/

[R-pkg-devel] Problem compiling openssl package (FreeBSD stable/11)

2017-01-17 Thread David Wolfskill
I tried to install the RPresto package, which depends on the openssl package; the latter failed to build: ... ** testing if installed package can be loaded * DONE (curl) * installing *source* package ‘openssl’ ... ** package ‘openssl’ successfully unpacked and MD5 sums checked Using PKG_CFLAGS= Us