LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-12-2009, 12:38 PM   #1
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Rep: Reputation: 30
autogen.sh asks to install 'glib'


I want to use Ide for coding . It fails to compile. actually two different Ide failed to compile code .Then I noticed that the error occured in autogen.sh.

**Error**: You must have `glib' installed.
You can get it from: ftp://ftp.gtk.org/pub/gtk

I am using ubuntu 9.04. I how to install software but don't know which package to install. I was wondering that is there any difference in glib and glibc . Secondly I thought that glib is some very essential library and it might be already present.
 
Old 11-12-2009, 12:47 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,656

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by amolgupta View Post
I want to use Ide for coding . It fails to compile. actually two different Ide failed to compile code .Then I noticed that the error occured in autogen.sh.

**Error**: You must have `glib' installed.
You can get it from: ftp://ftp.gtk.org/pub/gtk

I am using ubuntu 9.04. I how to install software but don't know which package to install. I was wondering that is there any difference in glib and glibc.
Yes, otherwise they'd be the same thing. If you want to install the package, the error is quite clear. Try typing in "apt-get install glib".
Quote:
Secondly I thought that glib is some very essential library and it might be already present.
If it was present, you wouldn't get the error saying it's NOT. However, it may be present, but the wrong version. You don't say which IDE's you're trying to compile, or why you don't install them from packages, so it's hard to say.
 
Old 11-12-2009, 01:03 PM   #3
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Original Poster
Rep: Reputation: 30
apt get say couldn't find the package glib
 
Old 11-12-2009, 01:09 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
try apt-get install glib6
 
Old 11-12-2009, 01:15 PM   #5
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Original Poster
Rep: Reputation: 30
even that failed
here is the list of options Please suggest one that you tink would help

Code:
amol@amol-laptop:~/synthesis$ sudo apt-cache search glib | grep glib
libavahi-glib-dev - Development headers for the Avahi glib integration library
libavahi-glib1 - Avahi glib integration library
libdbus-glib-1-2 - simple interprocess messaging system (GLib-based shared library)
libdbus-glib-1-2-dbg - simple interprocess messaging system (GLib library debug symbols)
libdbus-glib-1-dev - simple interprocess messaging system (GLib interface)
libdbus-glib-1-doc - simple interprocess messaging system (GLib library documentation)
libglib-perl - Perl interface to the GLib and GObject libraries
libglib2.0-cil - CLI binding for the GLib utility library 2.12
libglibmm-2.4-1c2a - C++ wrapper for the GLib toolkit (shared libraries)
libglibmm-2.4-dbg - C++ wrapper for the GLib toolkit (debug symbols)
libglibmm-2.4-dev - C++ wrapper for the GLib toolkit (development files)
libglibmm-2.4-doc - C++ wrapper for the GLib toolkit (documentation)
libndesk-dbus-glib1.0-cil - CLI implementation of D-Bus (GLib mainloop integration)
libnm-glib-dev - network management framework (GLib interface)
libnm-glib0 - network management framework (GLib shared library)
gobject-introspection-glib-2.0 - Introspection data for GLib, GObject, Gio and GModule
guile-gnome0-glib - Guile bindings for GLib
libcglib2.1-java - code generation library for Java
libcglib2.1-java-doc - code generation library for Java
libdb1-compat - The Berkeley database routines [glibc 2.0/2.1 compatibility]
libghc6-glib-dev - A GUI library for Haskell (Gtk2Hs) -- GLib bindings
libglib1.2-dbg - The GLib library of C routines (debug)
libglib1.2-dev - The GLib library of C routines (development)
libglib1.2ldbl - The GLib library of C routines
libglib2-ruby - Glib 2 bindings for the Ruby language
libglib2-ruby1.8 - Glib 2 bindings for the Ruby language
libglibmm-utils-dev - utility functions, classes and widgets written on top of glibmm
libglibmm-utils2 - utility functions, classes and widgets written on top of glibmm
libglrr-glib-dev - Development library of Grift (glib)
libglrr-glib0 - Utility functions for glib of Grift
libgsnmp0 - an SNMP library implementation based on glib and gnet
libgsnmp0-dev - an SNMP library implementation based on glib and gnet (development files)
libjson-glib-1.0-0 - GLib JSON manipulation library
libjson-glib-1.0-0-dbg - GLib JSON manipulation library (debug symbols)
libjson-glib-dev - GLib JSON manipulation library (development files)
libjson-glib-doc - GLib JSON manipulation library (documentation)
libpoppler-glib-ruby - Ruby bindinds for the libpoppler-glib library
libpoppler-glib-ruby1.8 - Ruby bindinds for the libpoppler-glib library
libsofia-sip-ua-glib-dev - Sofia-SIP library glib/gobject interface development files
libsofia-sip-ua-glib3 - Sofia-SIP library glib/gobject interfaces runtime
libtaglib-ocaml - OCaml bindings for the TagLib Audio Meta-Data Library
libtaglib-ocaml-dev - OCaml bindings for the TagLib Audio Meta-Data Library
libtaglib2.0-cil - CLI library for accessing audio and video files metadata
libtelepathy-glib-dev - GLib Telepathy connection manager library (headers)
libtelepathy-glib-doc - GLib Telepathy library (documentation)
libtelepathy-glib0 - Telepathy framework - GLib library
libtelepathy-glib0-dbg - GLib Telepathy library (debug symbols)
libxmmsclient++-glib-dev - XMMS2 - glib client library for c++ - development files
libxmmsclient++-glib1 - XMMS2 - glib client library for c++
libxmmsclient-glib-dev - XMMS2 - glib client library - development files
libxmmsclient-glib1 - XMMS2 - glib client library
monodoc-taglib-manual - compiled XML documentation for taglib-sharp
glibc-doc - GNU C Library: Documentation
libglib2.0-0 - The GLib library of C routines
libglib2.0-0-dbg - The GLib libraries and debugging symbols
libglib2.0-data - Common files for GLib library
libglib2.0-dev - Development files for the GLib library
libglib2.0-doc - Documentation files for the GLib library
libpackagekit-glib-dev - Library for accessing PackageKit using GLib (development files)
libpackagekit-glib11 - Library for accessing PackageKit using GLib
libpoppler-glib-dev - PDF rendering library -- development files (GLib interface)
libpoppler-glib4 - PDF rendering library (GLib-based shared library)
libpulse-mainloop-glib0 - PulseAudio client libraries (glib support)
libpulse-mainloop-glib0-dbg - PulseAudio client libraries (glib support) debugging symbols
glibc-source - GNU C Library: sources
amol@amol-laptop:~/synthesis$
 
Old 11-12-2009, 01:29 PM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
"libglib2.0-0" is the basic one you need, but I'll bet money you have it installed already as it is very basic. You probably are needing the libglib2.0-dev package.
 
Old 11-12-2009, 01:42 PM   #7
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Original Poster
Rep: Reputation: 30
Thanks alot. It worked out.
 
  


Reply



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
e17: source install, edje cannot find lua, ./autogen.sh fails. Sum1 Linux - Desktop 8 07-28-2010 03:18 AM
Slack 11 install problem (cd install asks for /dev/fd0) cygnus-x1 Slackware 1 10-16-2006 10:30 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 09:12 PM
rpm install: A asks for B, B asks for A mike_bio Linux - Software 6 07-15-2005 04:00 AM
can't install gtk 2.4.4: "Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 webazoid Linux - Software 0 07-15-2004 06:07 PM

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

All times are GMT -5. The time now is 01:58 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