Skip to contentSkip to conversation

Bug with the locale path

DISCUSSION Goofy 3 participants 4 messages Aug 13, 2015

lore
Share & tools
lore

Goofy

author
#0 lore raw

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"

#1 lore raw
Quoted 7 lines · Goofy

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

Quoted 5 lines

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.

Quoted 19 lines

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
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#2 lore raw

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

Quoted 44 lines · Andrei Borzenkov
Quoted 7 lines · Goofy

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

Quoted 5 lines

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.

Quoted 15 lines

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"

Quoted 4 lines

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#3 lore raw
Quoted 3 lines · Toomas Soome

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).

Quoted 55 lines

rgds,
toomas

Quoted 40 lines · Andrei Borzenkov
Quoted 7 lines · Goofy

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

Quoted 5 lines

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.

Quoted 15 lines

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"

Quoted 4 lines

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Quoted 4 lines

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel