sarveshtamba opened a new issue #2044: Apache CouchDB build issues on 
PowerPC64LE
URL: https://github.com/apache/couchdb/issues/2044
 
 
   Im trying to build Apache CouchDB on PowerPC64LE. 
   
   I have installed all dependencies and following all the steps mentioned at 
https://github.com/apache/couchdb/blob/master/INSTALL.Unix.md
   
   Ran into the following issues:-
   **Issue 1:-
   ==========**
       root@70a8290c0358:~/couchdb/couchdb# make release
       ==> config (compile)
       ERROR: OTP release 18 does not match required regex 19|20|21
       ERROR: compile failed while processing /root/couchdb/couchdb/src/config: 
rebar_abort
       Makefile:123: recipe for target 'couch' failed
       make: *** [couch] Error 1
       root@70a8290c0358:~/couchdb/couchdb#
       
   **Solution/Workaround:-
   ======================**
       Latest version of erlang on PowerPC64LE is Erlang/OTP 18, could not find 
OTP 19 or greater for PowerPC64LE architecture.
       sar@70a8290c0358:~/couchdb/couchdb$ erl
       Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:8:8] [async-threads:10] 
[kernel-poll:false]
   
       Hence put in the following change in the file "rebar.config.script":-
       -    {require_otp_vsn, "19|20|21"},
       +    {require_otp_vsn, "18|19|20|21"},
       
   **Issue 2:-
   ==========**
       root@70a8290c0358:~/couchdb/couchdb# make release
       .
       .
       .
       make[1]: Entering directory '/home/sar/couchdb/couchdb/src/docs'
       sphinx-build -b html -a -W -n -A local=1 -D latex_elements.papersize=a4 
-d build/doctree src/ build/html
       Traceback (most recent call last):
         File "/usr/local/bin/sphinx-build", line 7, in <module>
           from sphinx.cmd.build import main
         File 
"/home/sar/.local/lib/python2.7/site-packages/sphinx/cmd/build.py", line 39
           file=stderr)
               ^
       SyntaxError: invalid syntax
       Makefile:32: recipe for target 'html' failed
       make[1]: *** [html] Error 1
       make[1]: Leaving directory '/home/sar/couchdb/couchdb/src/docs'
       Makefile:520: recipe for target 'src/docs/build' failed
       make: *** [src/docs/build] Error 2
   
   **Solution/Workaround:-
   ======================**
       Used commands "./configure --disable-docs" and "make release" so as to 
not build any documentation or manpages using Sphinx.
       
   With this, I am able to build Apache CouchDB on PowerPC64LE, testing is 
pending though.
   
   Any thoughts/help on the above two issues would be highly appreciated.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to