LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 06-21-2011, 05:01 PM   #1
lich000king
Member
 
Registered: Jun 2011
Posts: 56

Rep: Reputation: Disabled
Install MPD on a (B)LFS system: GLib problem


Hi

When trying to configure the git version of MPD, I get:

Code:
checking for GLIB... no
configure: error: GLib 2.12 is required
I have installed GLib-1.2.10 and GLib-2.24.2 from BLFS (svn).
Pkg-config-0.25 was already installed in LFS (v 6.8).

Googling reveals this problem can often be solved by installing the (debian) package libglib2.0-dev. But this should be included in the above glib packages?

What should I try?

Cheers
Oliver
 
Old 06-21-2011, 05:23 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,119

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
grep -in "checking for GLIB" mpd/*

Example :
Code:
mpd/config.log:688:configure:6615: checking for GLIB
mpd/configure:6615:{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
mpd/configure:6616:$as_echo_n "checking for GLIB... " >&6; }
.. Meaning that you can look into the 'configure' script about line 6615 and read
that mpd uses PKG_CONFIG. Checks for for : /usr/lib/pkgconfig/glib-2.0.pc


Also says: "pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.12"
I.e. : glib 2.12 or later : GLIB 2.24 is OK.

..

Last edited by knudfl; 06-21-2011 at 05:25 PM.
 
1 members found this post helpful.
Old 06-22-2011, 02:42 AM   #3
lich000king
Member
 
Registered: Jun 2011
Posts: 56

Original Poster
Rep: Reputation: Disabled
Well, I reinstalled GLib 2.24. That solved it. I don't understand what went wrong, but MPD is running now.

Thank you very much for your help.
 
  


Reply


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 after booting the LFS 6.7 system prakashsince92 Linux From Scratch 10 12-22-2010 03:35 AM
Problem with making a new LFS system David2010 Linux From Scratch 10 05-20-2009 02:58 AM
how can i install rpm-4.4.6 on lfs system? h_r0019 Linux From Scratch 18 07-02-2007 04:29 AM
xmms install (needs glib>1.22), just installed glib 2.4.8 and still get error message eskiled Linux - Software 2 12-19-2005 10:12 PM
jade install on a lfs system natto34 Linux - Software 0 07-01-2002 04:08 PM


All times are GMT -5. The time now is 01:11 AM.

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