Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-09-2017, 11:17 AM   #1
Black Forest
LQ Newbie
Registered: Oct 2017
Location: Santa Pola - Spain
Posts: 3

Rep: Reputation: Disabled
Problem compiling glibc with 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 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
Any idea?
Thank you
Old 11-06-2017, 05:00 PM   #2
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: voidlinux with LXDE
Posts: 5,508

Rep: Reputation: Disabled

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

Last edited by aus9; 11-06-2017 at 05:02 PM.
Old 11-08-2017, 06:27 AM   #3
Black Forest
LQ Newbie
Registered: Oct 2017
Location: Santa Pola - Spain
Posts: 3

Original Poster
Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem compiling after installing glibc stu1811 Linux From Scratch 10 12-16-2012 10:30 PM
[SOLVED] Pls help problem in compiling glibc 2.12.1 abhiklall Linux From Scratch 29 10-06-2011 08:56 AM
Problem compiling glibc 2.12.1 abhiklall Linux From Scratch 2 04-12-2011 02:01 PM
Problem compiling glibc Azmeen Linux From Scratch 4 07-09-2003 10:48 AM
Problem compiling glibc v2.3.1 agrocott Linux - Software 2 01-30-2003 12:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration