LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-19-2004, 11:05 PM   #1
behmjose
Member
 
Registered: Dec 2003
Posts: 55

Rep: Reputation: 15
glib-2.2.3 won't compile because libiconv prob


Hi

I am trying to install glib-2.2.3, and have tried earlier versions and come up with the same problem

gconvert.c:46:2: #error GNU libiconv not in use but included iconv.h is from libiconv

i installed libiconv-1.9.1, and it compiled perfectly, or so i think, so what should i do to get glib to compile?

thanks,

behmjose
 
Old 02-20-2004, 12:48 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Err...,Isn't iconv part of Glibc, the shared library that's at the heart of the whole Gnu system? If you got poking in there, things are going to break.
 
Old 02-20-2004, 02:14 PM   #3
behmjose
Member
 
Registered: Dec 2003
Posts: 55

Original Poster
Rep: Reputation: 15
Hi

what should i do to reinstall glibc, should i just repeat the way i originaly installed it?
thanks for your insight

behmjose
 
Old 02-20-2004, 08:16 PM   #4
behmjose
Member
 
Registered: Dec 2003
Posts: 55

Original Poster
Rep: Reputation: 15
hi

its me again i reinstalled my l reinstalled my linux system, and tried installing glib-2.2.3, and i still get the same error message i have glibc-2.3.2, and i was wondering what i could do to remedy my problem.

thanks,
behmjose
 
Old 02-21-2004, 06:37 AM   #5
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Well I've just untared a fresh copy of glib-2.2.3, cd'd into it and run
Code:
./configure --help
and it says
Code:
Optional Packages:
--with-libiconv=no/gnu/native use the libiconv library
so if I were you, I would try
Code:
./configure --with-libiconv=gnu
Good luck.
 
Old 02-21-2004, 03:17 PM   #6
behmjose
Member
 
Registered: Dec 2003
Posts: 55

Original Poster
Rep: Reputation: 15
hi

thanks for your help i used ./configure --with-libiconv[COLOR=blue].
it worked to plan. i now have glib-2.2.3 installed.

thanks,
behmjose
 
Old 02-21-2004, 11:14 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Moved: Not an LFS specific question.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Glib compile problems after upgrading to 10.0 jrdioko Slackware 2 08-10-2005 10:07 PM
Compile Prob engnet Linux - Hardware 1 09-05-2004 09:50 AM
glib-2.4.0 compile error trollman Linux - Software 2 04-09-2004 10:37 AM
garnome + slack 9.1 compile error - libiconv schurt Slackware 2 02-20-2004 10:12 PM
glib 2.2.2 prob Enemyforce Linux - Software 1 10-17-2003 05:01 PM


All times are GMT -5. The time now is 10:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration