LinuxQuestions.org
Help answer threads with 0 replies.
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 02-15-2010, 01:11 PM   #1
DutchGandalf
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
Question error message 'You must have glib installed'


Hi,
My level is starter with Ubuntu. Moderate experience with C.

Problem starting with programming in C under Ubuntu.

I have installed Anjuta IDE and made this classical program.

#include "stdio.h"
main()
{
printf("Hello Linux.\n\r);
}

I get the error message 'You must have glib installed'.
Well, I have downloaded glib and followed this instructions:

Simple install procedure
========================

% gzip -cd glib-2.23.3.tar.gz | tar xvf - # unpack the sources
% cd glib-2.23.3 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build GLIB

I installed this from the download directory.

The error 'You must have glib installed' still appears.
Does anyone have a suggestion ?

Last edited by DutchGandalf; 02-15-2010 at 01:13 PM. Reason: Spelling error
 
Old 02-15-2010, 01:19 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

The runtime glib-2.Xx is always installed by default.

Default for Ubuntu 9.10 Karmic is : libglib2.0-0
(2.22.2-0ubuntu1)

The command : sudo apt-get install libglib2.0-dev
.. will install the development files.
( Or use the package Manager = Synaptic.

And better delete the 2.23.3 files.
Glib it not supposed not be changed.
.....
 
Old 02-15-2010, 04:33 PM   #3
DutchGandalf
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, first hurdle is taken.
 
  


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
Babytrans - Error for compiling GLIB >= 1.2.0 not installed danielsepulvida Linux - General 3 11-06-2009 06:12 AM
XMMS ./config GLIB >= 1.2.2 not installed error clonedmessiah Linux - Newbie 2 10-06-2006 01:23 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
installed Router, error message dareino Fedora 4 04-20-2005 10:42 PM
Newly installed Slackware 9.1 error message sanfran49 Linux - Software 2 03-10-2004 07:06 AM

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

All times are GMT -5. The time now is 03:34 PM.

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