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! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-01-2010, 01:18 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2009
Posts: 19
Rep:
|
Error message of configure file
Hi,
When I am compiling from the src, I run the ./configure script. While there might be error sometimes, I 'd like to ask, what're the 3 stars( ***) in front of the msg stand for? Do they stand for critical errors?
E.g.
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: GLib2 distribution not found.
Thanks for replying.
|
|
|
|
12-01-2010, 01:44 PM
|
#2
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,808
|
Quote:
Originally Posted by Actionscript3
Hi,
When I am compiling from the src, I run the ./configure script. While there might be error sometimes, I 'd like to ask, what're the 3 stars( ***) in front of the msg stand for? Do they stand for critical errors?
E.g.
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: GLib2 distribution not found.
|
No, they're just output by the script.
Might help if you told us WHAT you're compiling from source, on what version/distro of Linux, etc., for more details. Otherwise, open the configure script, and search for the ***.
|
|
|
|
12-01-2010, 02:53 PM
|
#3
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,620
|
Quote:
|
checking for GLIB - version >= 2.0.0... no
|
You have glib2 ( libglib2.0 ? ) installed.
But the development files are missing.
Use the Package Manager and install glib2-devel, libglib2.0-dev
or whatever the library name is for your OS.
..
|
|
|
|
12-05-2010, 05:30 AM
|
#4
|
|
LQ Newbie
Registered: Jan 2009
Posts: 19
Original Poster
Rep:
|
Thanks,
I am installing Wireshark on Ubuntu 10.10, and I've compiled GLIB 2.26.1
$pkg-config glib-2.0 --modversion
2.26.1
and still get the following error:
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.26.1, but GLIB (2.26.0)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error: GLib2 distribution not found.
|
|
|
|
12-05-2010, 05:45 AM
|
#5
|
|
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873
|
You should use the Synaptic Package Manager to install the glib development files. That will ensure that they are put in the correct place and have the correct file ownership and permissions.
|
|
|
|
12-05-2010, 06:06 AM
|
#6
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,620
|
The system version of glib2 cannot be changed.
A different version will usually stop all Gnome
+ all other applications, that use glib2 / gtk2.
The latest wireshark-1.4.2 will work perfectly with e.g. glib2-2.12.3,
which is the system glib2 in Redhat EL5, CentOS 5.
You are just missing the development part of glib2.
Please read post # 3 : Glib2 is always installed by default.
..
EDIT : Ref post # 5 @stress_junkie : The package name
for Ubuntu 10.10 is 'libglib2.0-dev'.
sudo apt-get install libglib2.0-dev libgtk2.0-dev libpcap-dev
..
Last edited by knudfl; 12-05-2010 at 06:17 AM.
|
|
|
|
12-05-2010, 06:51 AM
|
#7
|
|
LQ Newbie
Registered: Jan 2009
Posts: 19
Original Poster
Rep:
|
Thanks very much!
>>The system version of glib2 cannot be changed.
In this case, we've to re-install the OS if updated of glib2 is necessary?
|
|
|
|
12-05-2010, 12:12 PM
|
#9
|
|
LQ Newbie
Registered: Jan 2009
Posts: 19
Original Poster
Rep:
|
Thanks,
(wireshark:2705): GLib-GObject-WARNING **: gsignal.c:3081: signal name `depressed' is invalid for instance `0xa0265e8'
I've installed but when I am using Wireshark, there are errors out in the console.
And there're no interfaces to be chosen in "Capture Options".
|
|
|
|
12-05-2010, 12:24 PM
|
#10
|
|
LQ Newbie
Registered: Jan 2009
Posts: 19
Original Poster
Rep:
|
oh.. sorry. it's the permission issue!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:33 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|