You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2017/10/19 15:16:21 UTC

[GitHub] koleto commented on issue #892: Building CouchDB on ARMv8

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:
users@infra.apache.org


With regards,
Apache Git Services