[ https://issues.apache.org/jira/browse/ARROW-12802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346221#comment-17346221 ]
Webb Phillips edited comment on ARROW-12802 at 5/17/21, 3:11 PM: ----------------------------------------------------------------- Using install.packages as in the docs would be ideal. but does not work for me: {code:java} mac$ R --vanilla ... > install.packages('arrow') ... * installing *source* package ‘arrow’ ... ** package ‘arrow’ successfully unpacked and MD5 sums checked ** using staged installation *** Using Homebrew apache-arrow PKG_CFLAGS=-I/usr/local/opt/apache-arrow/include -DARROW_R_WITH_ARROW -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET PKG_LIBS=-L/usr/local/opt/apache-arrow/lib -larrow_dataset -lparquet -larrow -larrow_bundled_dependencies ** libs /opt/local/bin/clang++-mp-9.0 -std=gnu++11 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/opt/apache-arrow/include -DARROW_R_WITH_ARROW -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -I'/Users/webb/Library/R/4.0/library/cpp11/include' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fPIC -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c array.cpp -o array.o In file included from array.cpp:18: ././arrow_types.h:37:10: fatal error: 'arrow/csv/type_fwd.h' file not found {code} This is with no other arrow installed. was (Author: webbp): Using install.packages as in the docs would be ideal. but does not work for me: {code:java} mac$ R --vanilla ... > install.packages('arrow') ... * installing *source* package ‘arrow’ ... ** package ‘arrow’ successfully unpacked and MD5 sums checked ** using staged installation *** Using Homebrew apache-arrow PKG_CFLAGS=-I/usr/local/opt/apache-arrow/include -DARROW_R_WITH_ARROW -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET PKG_LIBS=-L/usr/local/opt/apache-arrow/lib -larrow_dataset -lparquet -larrow -larrow_bundled_dependencies ** libs /opt/local/bin/clang++-mp-9.0 -std=gnu++11 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/opt/apache-arrow/include -DARROW_R_WITH_ARROW -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -I'/Users/webb/Library/R/4.0/library/cpp11/include' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fPIC -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c array.cpp -o array.o In file included from array.cpp:18: ././arrow_types.h:37:10: fatal error: 'arrow/csv/type_fwd.h' file not found {code} > No more default ARROW_CSV=ON in libarrow build breaks R arrow > ------------------------------------------------------------- > > Key: ARROW-12802 > URL: https://issues.apache.org/jira/browse/ARROW-12802 > Project: Apache Arrow > Issue Type: Bug > Affects Versions: 4.0.0, 4.0.1 > Reporter: Webb Phillips > Priority: Major > > libarrow build succeeds, but include/arrow/csv/type_fwd.h isn't installed > since 4.0.0. This causes R install.packages('arrow') to fail with: > {code:java} > make: *** > [/opt/local/Library/Frameworks/R.framework/Resources/etc/Makeconf:179: > array.o] Error 1 > In file included from recordbatch.cpp:18: > ././arrow_types.h:37:10: fatal error: 'arrow/csv/type_fwd.h' file not > found{code} > Reproduced with Ubuntu 18.04 and with macOS 10.13.6 MacPorts with both > apache-arrow-4.0.0 and current HEAD f959141ece4d660bce5f7fa545befc0116a7db79. > No other type_fwd.h are missing: > {code:java} > find .../arrow/cpp/src -name type_fwd.h | wc -l > 10 > find .../include -name type_fwd.h | wc -l > 9{code} > Best guess: default value of cmake ARROW_CSV changed and R arrow requires > ARROW_CSV=ON. -- This message was sent by Atlassian Jira (v8.3.4#803005)