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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to