compiling on linux -> locale issue

Started by santaclause102, June 03, 2015, 10:02:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

santaclause102

#7
Compiled :) Thanks Xeroc for your hints!

xeroc


santaclause102

#5
I have made the system default to be "en_US.UTF-8". I used this http://perlgeek.de/en/article/set-up-a-clean-utf8-environment ->Section: Locales: generation

When I do the "export LC_ALL="en_US.UTF-8" command that is suggested here  https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md then I get the error: [translated from German so might not be exactly the same]: bash: Warning: setlocale: LC_ALL: Can not change locale (en_US.UTF-8): File oder folder not found.

The last time I ignored this error and then the make process didn't complete (see OP).

What can I do?

EDIT:
SOLUTION:
1) Logout - login after changing the system default.
2) If that doesnt work then:
Adding the following to /etc/environment:
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8

santaclause102

Quote from: xeroc on June 08, 2015, 07:22:27 PM
you need to setup your locales correctly:
https://help.ubuntu.com/community/Locale

make sure to have "en_US.UTF-8" enabled and built then try again with the export command in the OP
great, thanks xeroc! I will try when I am back home on the weekend...

xeroc

you need to setup your locales correctly:
https://help.ubuntu.com/community/Locale

make sure to have "en_US.UTF-8" enabled and built then try again with the export command in the OP

santaclause102


santaclause102

#1
Hi,

so I attempted to compile according to this https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md on a debian 64 bit system.

There is a newly added instruction export LC_ALL="en_US.UTF-8"
Doing this produced the follwoing error for me: "warning setlocale lc_all cannot change locale (en_us.utf-8)" (I left out a few signs because that is from memory). 
I ignored it... and compiled (make).
Later in the make process I got an error that might be related to the above or not. I dont have an internet connection on the respective machine and didnt want to type it all so here is a photo I made of the error message: http://imgur.com/SGQ7FaX
Don't be confused by the blue background. The blue and the grey background are the same. The blue is marked stuff...

Whats wrong? What should I do? Can I give more information?

Thanks for your help!