LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem compiling glibc with da.mo install (https://www.linuxquestions.org/questions/linux-newbie-8/problem-compiling-glibc-with-da-mo-install-4175615317/)

Black Forest 10-09-2017 11:17 AM

Problem compiling glibc with da.mo install
 
Hallo everybody,

I am new here and this is my first question on this forum.
I am not an expert of Linux, but in the last few years using different versions of Linux I have learned something.
Since one year I use Lunar Linux, I like it and it is very fast.
The first install is a bootstrap, after I compile everything.
I have a problem compiling glibc-2.25 (the last version of glibc in Lunar). I can follow the rest of the compilation of the other packages without update glibc (in the bootstrap the version is glibc-2.19), but I don't know if that can cause problem, so I want to update it.
The compile process is without problem, but by installing I get an error:
"recipe target for da.mo failed". I supposed it was a problem with the old version of gettext, but it wasn't.
The others .mo files of different languages don't have problem, only install stops at da.mo.
Any idea?
Thank you

aus9 11-06-2017 05:00 PM

Hi

until you get a better reply. I have not used Lunar or compiled GlibC myself but have compiled some apps that use locales and as you are in Spain I suggest the following

go into your source for glibc and find the directory called po/
delete the entries for da.po da.gmo or whatever you find there and then try again

good luck

2) glibc is known as a toolchain app so it might impact on a number of your other software but I am sure you know this means more work

Black Forest 11-08-2017 06:27 AM

Thank you aus9,

yes, I have tried what you suggest, but I receive another error.

So I have found a workaround. I compile first gcc, then glibc from the latest version with for example --prefix=/usr/src, then I copy the files of the new glibc in the correspondent places, and finally I can compile the glibc of Lunar with its package manager system "lin" without problem. So I have two versions of glibc installed and everything is OK.


All times are GMT -5. The time now is 11:42 PM.