taiyuanfang / mp4v2

Automatically exported from code.google.com/p/mp4v2
0 stars 0 forks source link

Building from repository fails on non-english platforms #112

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I tried to build libmp4v2 directly form the repository following the 
BuildRepository wiki page. However the `autoreconf -fiv` command fails if the 
locale is not set to English.

The reason for this lies in configure.ac. There the output of `svn info` is 
parsed to get some information. If the output of `svn info` is not in English 
the parsing fails and the `autoreconf` command fails later on.

I fixed the issue by changing the command from

  svn info 2>/dev/null

to

  LANG=en svn info 2>/dev/null

This forces the output of `svn info` to English. After that the whole build 
process went through successfully. I attached the svn diff of the change.

Original issue reported on code.google.com by stephan....@helionweb.de on 16 Jul 2011 at 2:07

Attachments:

GoogleCodeExporter commented 8 years ago
Should be fixed in r483; thanks for the report.

Original comment by kid...@gmail.com on 23 Jul 2011 at 5:52

GoogleCodeExporter commented 8 years ago
really, you want "LC_ALL=C svn info 2>/dev/null" instead of enforcing another 
locale ("en" this time)

C locale is always present, "en" .. could not and "en" could be translated 
indifferently (en_US vs en_GB) :)

Original comment by elan.ruu...@gmail.com on 16 Aug 2011 at 10:26

GoogleCodeExporter commented 8 years ago
Good point.  Let me re-open, test that change and try it out.

Original comment by kid...@gmail.com on 16 Aug 2011 at 8:07