Linux - NewbieThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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 ***.
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.
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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
..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.