assignUser commented on code in PR #38970:
URL: https://github.com/apache/arrow/pull/38970#discussion_r1409944475


##########
r/configure:
##########
@@ -293,15 +293,15 @@ set_pkg_vars () {
 
 # If we have pkg-config, it will tell us what libarrow needs
 set_lib_dir_with_pc () {
-  LIB_DIR="`${PKG_CONFIG} --variable=libdir --silence-errors 
${PKG_CONFIG_NAME}`"
+  LIB_DIR="`${PKG_CONFIG} --variable=libdir  ${PKG_CONFIG_NAME}`"

Review Comment:
   If there are no errors there is no ouput with erros it looks like this:
   ```
   dewey@tidytuesday ~ % R CMD INSTALL ~/Desktop/arrow_14.0.0.tar.gz 
   * installing to library 
‘/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library’
   * installing *source* package ‘arrow’ ...
   ** using staged installation
   *** Found libcurl and OpenSSL >= 1.1
   *** Successfully retrieved C++ binaries (darwin-x86_64-openssl-1.1)
   *** Checksum validated successfully for libarrow binary: 
darwin-x86_64-openssl-1.1/arrow-14.0.0.zip
   Package libcurl was not found in the pkg-config search path.
   Perhaps you should add the directory containing `libcurl.pc'
   to the PKG_CONFIG_PATH environment variable
   Package 'libcurl', required by 'arrow', not found
   Package libcurl was not found in the pkg-config search path.
   Perhaps you should add the directory containing `libcurl.pc'
   to the PKG_CONFIG_PATH environment variable
   Package 'libcurl', required by 'arrow', not found
   Package libcurl was not found in the pkg-config search path.
   Perhaps you should add the directory containing `libcurl.pc'
   to the PKG_CONFIG_PATH environment variable
   Package 'libcurl', required by 'arrow', not found
   ```



##########
r/configure:
##########
@@ -293,15 +293,15 @@ set_pkg_vars () {
 
 # If we have pkg-config, it will tell us what libarrow needs
 set_lib_dir_with_pc () {
-  LIB_DIR="`${PKG_CONFIG} --variable=libdir --silence-errors 
${PKG_CONFIG_NAME}`"
+  LIB_DIR="`${PKG_CONFIG} --variable=libdir  ${PKG_CONFIG_NAME}`"

Review Comment:
   If there are no errors there is no ouput with erros it looks like this:
   ```
   dewey@tidytuesday ~ % R CMD INSTALL ~/Desktop/arrow_14.0.0.tar.gz 
   * installing to library 
‘/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library’
   * installing *source* package ‘arrow’ ...
   ** using staged installation
   *** Found libcurl and OpenSSL >= 1.1
   *** Successfully retrieved C++ binaries (darwin-x86_64-openssl-1.1)
   *** Checksum validated successfully for libarrow binary: 
darwin-x86_64-openssl-1.1/arrow-14.0.0.zip
   Package libcurl was not found in the pkg-config search path.
   Perhaps you should add the directory containing `libcurl.pc'
   to the PKG_CONFIG_PATH environment variable
   Package 'libcurl', required by 'arrow', not found
   Package libcurl was not found in the pkg-config search path.
   Perhaps you should add the directory containing `libcurl.pc'
   to the PKG_CONFIG_PATH environment variable
   Package 'libcurl', required by 'arrow', not found
   Package libcurl was not found in the pkg-config search path.
   Perhaps you should add the directory containing `libcurl.pc'
   to the PKG_CONFIG_PATH environment variable
   Package 'libcurl', required by 'arrow', not found
   ```



-- 
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]

Reply via email to