BitShares Forum
Main => Technical Support => Topic started by: bitcoin42 on January 18, 2015, 02:22:05 am
-
Hi,
I need some help with the installation. I am getting following error message:
[ 79%] Generating include/bts/api/common_api.hpp, ../rpc_stubs/common_api_rpc_server.cpp, ../rpc_stubs/common_api_rpc_client.cpp, ../rpc_stubs/common_api_client.cpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_rpc_server.hpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_rpc_client.hpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_client.hpp, ../rpc_stubs/include/bts/rpc_stubs/common_api_overrides.ipp
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted
make[2]: *** [libraries/api/include/bts/api/common_api.hpp] Error 134
make[1]: *** [libraries/api/CMakeFiles/bts_api.dir/all] Error 2
make: *** [all] Error 2
What does this mean and how can I fix it?
I followed these instructions: http://wiki.bitshares.org/index.php/Delegate/How-To
-
Are you building the master branch or the latest released version? You should checkout the tag:
git checkout bts/0.5.0
Don't forget to init and/or update the submodules in git as well before you make.
git submodule init
git submodule update
-
Tell me if this fixes it. Probably lots of little places in the wiki I should try to hunt down and correct this.
-
Still seems not to be working.
I get this:
/home/bitshares# git submodule update
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "en_US.UTF-8",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Any idea? I feel like a super noob here.
-
Did you include the following line between cmake . and make?
export LC_ALL="en_US.UTF-8"
I think there are more recent build instructions in the github repo which you can find here
https://github.com/BitShares/bitshares/blob/bts/0.5.0/BUILD_UBUNTU.md
You may have to upgrade to the new version soon though.
I would start over, clone to a new directory, use the newest version 0.6.0 and follow these directions
https://github.com/BitShares/bitshares/blob/bts/0.6.0/BUILD_UBUNTU.md