Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unset Locale settings. Is it important to check before build? #28

Open
marcelorauldiaz opened this issue Nov 2, 2018 · 3 comments
Open
Labels
invalid This doesn't seem right

Comments

@marcelorauldiaz
Copy link
Contributor

marcelorauldiaz commented Nov 2, 2018

O.S: Ubuntu 18.04

make[4]: Leaving directory '/home/marcelo/.pgenv/src/postgresql-10.5/src/fe_utils'
'/usr/bin/perl' create_help.pl ../../../doc/src/sgml/ref sql_help
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_NAME = "es_AR.UTF-8",
LC_NUMERIC = "es_AR.UTF-8",
LC_TIME = "es_AR.UTF-8",
LC_MONETARY = "es_AR.UTF-8",
LC_TELEPHONE = "es_AR.UTF-8",
LC_PAPER = "es_AR.UTF-8",
LC_MEASUREMENT = "es_AR.UTF-8",
LC_IDENTIFICATION = "es_AR.UTF-8",
LC_ADDRESS = "es_AR.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

@fluca1978
Copy link
Collaborator

I suspect you are referring to the PGENV_INITDB_OPTS set by default. We could try to guess the LANG settings and use them when there is no initdb opts set.
However, to keep things simple, I would suggest to check when the configuration is created/loaded if there are inconcistencies and warn the user.

@theory
Copy link
Owner

theory commented Nov 3, 2018

what happens if you set LANGUAGE and LC_ALL?

@theory
Copy link
Owner

theory commented Nov 15, 2020

Hey @marcelorauldiaz, please let us know if you still have an issue here. Otherwise we'll close it in the week or so. Thanks!

@theory theory added the invalid This doesn't seem right label Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants