3
$cd astyle/build/mac
$make
$bin/astyle

I cannot set native locale, reverting to English

Flimzy
  • 68,325
  • 15
  • 126
  • 165
Emerson
  • 75
  • 1
  • 9

1 Answers1

0

astyle is testing the value of the LC_ALL environment variable. You can see its value with $ echo $LC_ALL: it most likely is empty.

A quick workaround is to do $ export LC_ALL="fr_FR.UTF-8" but Mac OS X can be a strange beast when it comes to environment variables. I'd suggest you read these three ressources:

http://www.dowdandassociates.com/content/howto-set-an-environment-variable-in-mac-os-x/

Setting environment variables in OS X?

https://superuser.com/questions/476752/setting-environment-variables-in-os-x-for-gui-applications

Community
  • 1
  • 1
romainl
  • 172,579
  • 20
  • 259
  • 291