koleto commented on issue #892: Building CouchDB on ARMv8
URL: https://github.com/apache/couchdb/issues/892#issuecomment-337940778
 
 
   Just manage to comile on Linaro ARMv8.
   
   1. Open the file ~/apache-couchdb-2.1.0$ vim 
src/rebar/src/rebar_port_compiler.erl
   2. Remove the '-m64' flag from Line 608 and 609. The output should be:
   `     %% Linux specific flags for multiarch
        {"linux.*-64$", "CFLAGS", "$CFLAGS"},
        {"linux.*-64$", "CXXFLAGS", "$CXXFLAGS"},
        {"linux.*-64$", "LDFLAGS", "$LDFLAGS"},` 
   
   3. Recompile rebar:   cd src/rebar
   `./bootstrap`
   
   4. Rebuild couchdb: 
   `make release`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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