grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* Bug with the locale path
@ 2015-08-13  5:55 Goofy
  2015-08-13 17:48 ` Andrei Borzenkov
  0 siblings, 1 reply; 4+ messages in thread
From: Goofy @ 2015-08-13  5:55 UTC (permalink / raw)
  To: grub-devel

Hello,

i play around with the grub 2.02~Beta2 and i think there is a litte bug ?
i configure the paket with the following line
./configure --prefix=  --datarootdir=/usr/share 
--localedir=/usr/share/locale

but if i want to install grub with

# grub-install /dev/sda
Installing for i386-pc platform.
grub-install: warning: cannot open directory `/usr/local/share/locale': 
File or Directory not found

but in the config.log is

....
   $ ./configure --prefix= --datarootdir=/usr/share 
--localedir=/usr/share/locale

....

localedir='/usr/share/locale'
#define LOCALEDIR "/usr/share/locale"




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug with the locale path
  2015-08-13  5:55 Bug with the locale path Goofy
@ 2015-08-13 17:48 ` Andrei Borzenkov
  2015-08-13 17:52   ` Toomas Soome
  0 siblings, 1 reply; 4+ messages in thread
From: Andrei Borzenkov @ 2015-08-13 17:48 UTC (permalink / raw)
  To: The development of GNU GRUB



On 13.08.2015 08:55, Goofy wrote:
> Hello,
>
> i play around with the grub 2.02~Beta2 and i think there is a litte bug ?
> i configure the paket with the following line
> ./configure --prefix=  --datarootdir=/usr/share
> --localedir=/usr/share/locale
>
> but if i want to install grub with
>
> # grub-install /dev/sda
> Installing for i386-pc platform.
> grub-install: warning: cannot open directory `/usr/local/share/locale':

I can't reproduce it using current GIT master so I assume it is fixed in 
the meantime.

> File or Directory not found
>
> but in the config.log is
>
> ....
>    $ ./configure --prefix= --datarootdir=/usr/share
> --localedir=/usr/share/locale
>
> ....
>
> localedir='/usr/share/locale'
> #define LOCALEDIR "/usr/share/locale"
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug with the locale path
  2015-08-13 17:48 ` Andrei Borzenkov
@ 2015-08-13 17:52   ` Toomas Soome
  2015-08-13 17:54     ` Andrei Borzenkov
  0 siblings, 1 reply; 4+ messages in thread
From: Toomas Soome @ 2015-08-13 17:52 UTC (permalink / raw)
  To: The development of GNU GRUB


it (was?) issue when translations were not imported before configure/build. if you have translations imported, then the locale path will be populated with messages files and therefore the directory is created.

rgds,
toomas


> On 13.08.2015, at 20:48, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
> 
> 
> 
> On 13.08.2015 08:55, Goofy wrote:
>> Hello,
>> 
>> i play around with the grub 2.02~Beta2 and i think there is a litte bug ?
>> i configure the paket with the following line
>> ./configure --prefix=  --datarootdir=/usr/share
>> --localedir=/usr/share/locale
>> 
>> but if i want to install grub with
>> 
>> # grub-install /dev/sda
>> Installing for i386-pc platform.
>> grub-install: warning: cannot open directory `/usr/local/share/locale':
> 
> I can't reproduce it using current GIT master so I assume it is fixed in the meantime.
> 
>> File or Directory not found
>> 
>> but in the config.log is
>> 
>> ....
>>   $ ./configure --prefix= --datarootdir=/usr/share
>> --localedir=/usr/share/locale
>> 
>> ....
>> 
>> localedir='/usr/share/locale'
>> #define LOCALEDIR "/usr/share/locale"
>> 
>> 
>> 
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug with the locale path
  2015-08-13 17:52   ` Toomas Soome
@ 2015-08-13 17:54     ` Andrei Borzenkov
  0 siblings, 0 replies; 4+ messages in thread
From: Andrei Borzenkov @ 2015-08-13 17:54 UTC (permalink / raw)
  To: The development of GNU GRUB



On 13.08.2015 20:52, Toomas Soome wrote:
>
> it (was?) issue when translations were not imported before configure/build. if you have translations imported, then the locale path will be populated with messages files and therefore the directory is created.
>

The problem here is not missing translations but wrong locale path. I do 
not have grub translations either (actually I did not even install grub 
in the first place, I run grub-install from the build dir).

> rgds,
> toomas
>
>
>> On 13.08.2015, at 20:48, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
>>
>>
>>
>> On 13.08.2015 08:55, Goofy wrote:
>>> Hello,
>>>
>>> i play around with the grub 2.02~Beta2 and i think there is a litte bug ?
>>> i configure the paket with the following line
>>> ./configure --prefix=  --datarootdir=/usr/share
>>> --localedir=/usr/share/locale
>>>
>>> but if i want to install grub with
>>>
>>> # grub-install /dev/sda
>>> Installing for i386-pc platform.
>>> grub-install: warning: cannot open directory `/usr/local/share/locale':
>>
>> I can't reproduce it using current GIT master so I assume it is fixed in the meantime.
>>
>>> File or Directory not found
>>>
>>> but in the config.log is
>>>
>>> ....
>>>    $ ./configure --prefix= --datarootdir=/usr/share
>>> --localedir=/usr/share/locale
>>>
>>> ....
>>>
>>> localedir='/usr/share/locale'
>>> #define LOCALEDIR "/usr/share/locale"
>>>
>>>
>>>
>>> _______________________________________________
>>> Grub-devel mailing list
>>> Grub-devel@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-13 17:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-13  5:55 Bug with the locale path Goofy
2015-08-13 17:48 ` Andrei Borzenkov
2015-08-13 17:52   ` Toomas Soome
2015-08-13 17:54     ` Andrei Borzenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).