LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-04-2012, 08:02 AM   #1
Gary Baker
Member
 
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105

Rep: Reputation: 3
Question ./ configure for midnight commander cannot find glib library


I recently tried to load MC (midnight commander) but I received the following errors from ./configure.

sudo ./configure [sudo] password for gb: checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x8664-unknown-linux checking host system type... x8664-unknown-linux checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for library containing strerror... none required checking for pkg-config... /bin/pkg-config checking for glib-2.0... checking for glib-config... no checking for glib12-config... no checking for glib-config... no checking for GLIB - version >= 1.2.6... no * The glib-config script installed by GLIB could not be found If GLIB was installed in PREFIX, make sure PREFIX/bin is in your path, or set the GLIB_CONFIG environment variable to the * full path to glib-config. configure: error: Test for glib failed. GNU Midnight Commander requires glib 1.2.6 or above.

I checked to see that glib was installed.

[gb@bluuna mc-4.6.1]$ rpm -ql glib /usr/lib64/libglib-1.2.so.0 /usr/lib64/libglib-1.2.so.0.0.10 /usr/lib64/libgmodule-1.2.so.0 /usr/lib64/libgmodule-1.2.so.0.0.10 /usr/lib64/libgthread-1.2.so.0 /usr/lib64/libgthread-1.2.so.0.0.10 /usr/share/doc/glib-1.2.10 /usr/share/doc/glib-1.2.10/AUTHORS /usr/share/doc/glib-1.2.10/COPYING /usr/share/doc/glib-1.2.10/ChangeLog /usr/share/doc/glib-1.2.10/NEWS /usr/share/doc/glib-1.2.10/README

I tried every link I know how do using env and could not get it to work. I am using fedora 17. Thanks for the help.

wsv123456
 
Old 12-04-2012, 08:15 AM   #2
millgates
Member
 
Registered: Feb 2009
Location: 192.168.x.x
Distribution: Slackware
Posts: 852

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
In addition to glib, you may also need glib-devel package.
 
1 members found this post helpful.
Old 12-04-2012, 09:00 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Why don't you just install a binary package for mc?
Also, the configure script dos not need to be run as root, so you don't need to use sudo here.
 
1 members found this post helpful.
  


Reply

Tags
./configure



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
[Bug] Midnight Commander wrong configure option guanx Slackware 0 10-18-2012 03:31 PM
midnight commander configure arguments changed fdeak Slackware 1 03-15-2011 02:57 PM
Midnight Commander matombo Fedora 3 11-30-2005 12:41 PM
How do you configure Midnight Commander? GoldenRetriever DNALinux 6 05-17-2005 09:37 AM
Midnight Commander / Glib yorkshiresteve Linux - Software 3 07-05-2003 05:53 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:52 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration