andrewtaylor-appfolio commented on issue #1529:
URL: https://github.com/apache/arrow-adbc/issues/1529#issuecomment-1934619882
Thank you. This is very helpful. Here's the detailed error message:
```
All files successfully copied to src/go/adbc
Trying 'go version' with GO_BIN at '/opt/homebrew/bin/go'
go version go1.21.6 darwin/arm64
Found vendored ADBC Snowflake driver
** libs
Warning: R include directory is empty -- perhaps need to install R-devel.rpm
or similar
using C compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’
using SDK: ‘MacOSX14.2.sdk’
clang -arch arm64 -I"/opt/homebrew/bin" -DNDEBUG -DADBC_EXPORT=""
-I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c init.c
-o init.o
init.c:19:10: fatal error: 'R.h' file not found
#include <R.h>
^~~~~
1 error generated.
make: *** [init.o] Error 1
ERROR: compilation failed for package ‘adbcsnowflake’
* removing
‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/adbcsnowflake’
* ```
R is running from the current directory:
```
ls -lth /usr/local/bin/R
lrwxr-xr-x 1 root wheel 47B Feb 7 21:11 /usr/local/bin/R ->
/Library/Frameworks/R.framework/Resources/bin/R
```
R include:
```
R.home('include')
[1] "/opt/homebrew/bin"
```
The current location of `R.h` is in:
```
ls /Library/Frameworks/R.framework/Resources/include/
R.h R_ext Rconfig.h Rdefines.h Rembedded.h
Rinterface.h Rinternals.h Rmath.h Rversion.h libintl.h
```
I'm assuming I'll need to set env variables to reference the correct
`include` location?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]