You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/06 18:57:26 UTC

[GitHub] [arrow-cookbook] toddfarmer opened a new issue, #191: Clarify prerequisites for building cookbooks

toddfarmer opened a new issue, #191:
URL: https://github.com/apache/arrow-cookbook/issues/191

   This documents my experience attempting to build the java cookbook for the first time on a new laptop.  I suspect the problems encountered apply to other languages as well.
   
   ## Python and pip are required
   The `Prerequisites` section of README.md makes the following statement, which I interpreted to apply only to R and Python cookbooks - I was wrong:
   
   ```
   Both the R and Python cookbooks will try to install the dependencies they need (including latests pyarrow/arrow-R version). This means that as far as you have a working Python/R environment able to install dependencies through the respective package manager you shouldn't need to install anything manually.
   ```
   It would be useful to clarify that Python is required for building all cookbooks, and that the build process will manage necessary dependencies via pip.
   
   ## shpinx-build is required
   After installing pip, the build script successfully installed required dependencies, but failed due to missing `sphinx-build`:
   ```
   todd@pop-os:~/arrow-cookbook$ make java
   >>> Installing Java Dependencies <<<
   
   cd java && pip install -r requirements.txt
   ...
   >>> Building Java Cookbook <<<
   
   cd java && make html
   make[1]: Entering directory '/home/todd/arrow-cookbook/java'
   /bin/sh: 1: sphinx-build: not found
   make[1]: *** [Makefile:20: html] Error 127
   make[1]: Leaving directory '/home/todd/arrow-cookbook/java'
   make: *** [Makefile:81: java] Error 2
   todd@pop-os:~/arrow-cookbook$ sphinx-build
   Command 'sphinx-build' not found, but can be installed with:
   sudo apt install python3-sphinx
   


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-cookbook] toddfarmer closed issue #191: Clarify prerequisites for building cookbooks

Posted by GitBox <gi...@apache.org>.
toddfarmer closed issue #191: Clarify prerequisites for building cookbooks
URL: https://github.com/apache/arrow-cookbook/issues/191


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-cookbook] toddfarmer commented on issue #191: Clarify prerequisites for building cookbooks

Posted by GitBox <gi...@apache.org>.
toddfarmer commented on issue #191:
URL: https://github.com/apache/arrow-cookbook/issues/191#issuecomment-1119987401

   Will consolidate this with 190.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org