LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-19-2004, 05:43 AM   #1
ns_sanish
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Rep: Reputation: 0
Question Can't install pango-1.6.0


Hi all,

I am trying to install pango-1.6.0 on my rh9 machine. Running the "configure" script threw me the following error.

checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.4.0...
*** 'pkg-config --modversion glib-2.0' returned 2.5.3, but GLIB (2.3.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:
*** Glib 2.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.

Now how do I remove the old version of glib from my s/m? Any pointers?

Thanks in advance,
San
 
Old 10-19-2004, 11:50 AM   #2
SyBEX
LQ Newbie
 
Registered: Oct 2004
Location: Sweden
Distribution: SUSE 9.1 Personal
Posts: 23

Rep: Reputation: 15
Re: Can't install pango-1.6.0

Quote:
Originally posted by ns_sanish
Hi all,

I am trying to install pango-1.6.0 on my rh9 machine. Running the "configure" script threw me the following error.

checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.4.0...
*** 'pkg-config --modversion glib-2.0' returned 2.5.3, but GLIB (2.3.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:
*** Glib 2.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.

Now how do I remove the old version of glib from my s/m? Any pointers?

Thanks in advance,
San
Hey dude!
This answer are probably some months late and you have solved the problem, but there might be other that
will counter the same problem.

Anyway, uninstall 2.5.3 from it source directory with following commands:
Code:
# make uninstall
now you have uninstalled 2.5.3, than you can manual remove the old one with just removing the glib-2.0 files or when you makes the installation of glib 2.5.3 just type
Code:
# ./configure --prefix=/usr/ && make && make install
this worked for me anyway, it might be so that it writes over the old versions files!

to see which one that pkg-config gives, just type:
Code:
 # pkg-config --modversion glib-2.0
now it should give 2.5.3

ehmm...
 
Old 10-20-2004, 04:12 AM   #3
ns_sanish
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Yes, that worked. Thanks man, but now I am stuck at another phase.

Actually, I am trying to install evolution 2.0 on my machine and am in the process of resolving the library dependencies one by one. Once I installed pango and I got ready to install libbonoboui-2.6.1.

configure and make went to completion successfully but it is "make install" that is causing me new problesm. Here is what I am getting.


Code:
libtool: link: warning: library `/usr//lib/libpango-1.0.la' was moved.
libtool: link: warning: library `/usr//lib/libpango-1.0.la' was moved.
gcc -g -O2 -o .libs/bonobo-hello hello.o -Wl,--export-dynamic  ../../bonobo/.libs/libbonoboui-2.so -L/usr/local//lib -L/usr/local/lib -L/usr//lib -lSM -lICE -L/usr/X11R6/lib -lX11 -pthread -lgnomecanvas-2 -lart_lgpl_2 /usr//lib/libpangoft2-1.0.so -lgnome-2 -lbonobo-2 -lgnomevfs-2 -lbonobo-activation /usr/lib/libxml2.so -lz -lgconf-2 /usr/local/lib/libORBit-2.so /usr/lib/libpopt.so /usr//lib/libgthread-2.0.so -lpthread /usr/local//lib/libgtk-x11-2.0.so /usr/local//lib/libgdk-x11-2.0.so /usr/local/lib/libatk-1.0.so /usr/local//lib/libgdk_pixbuf-2.0.so /usr//lib/libpangoxft-1.0.so /usr//lib/libpangox-1.0.so /usr//lib/libpango-1.0.so -lm /usr//lib/libgmodule-2.0.so -ldl /usr//lib/libgobject-2.0.so /usr//lib/libglib-2.0.so -Wl,--rpath -Wl,/usr//lib -Wl,--rpath -Wl,/usr/local//lib
/usr/local//lib/libgtk-x11-2.0.so: undefined reference to `XineramaIsActive'
/usr/local//lib/libgtk-x11-2.0.so: undefined reference to `XineramaQueryScreens'
collect2: ld returned 1 exit status
make[2]: *** [bonobo-hello] Error 1
make[2]: Leaving directory `/tmp/libbonoboui-2.6.1/samples/bonoboui'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/libbonoboui-2.6.1/samples'
make: *** [install-recursive] Error 1
Any idea what could be possiibly going wrong here?

Last edited by ns_sanish; 10-20-2004 at 04:14 AM.
 
Old 10-20-2004, 08:29 AM   #4
SyBEX
LQ Newbie
 
Registered: Oct 2004
Location: Sweden
Distribution: SUSE 9.1 Personal
Posts: 23

Rep: Reputation: 15
Ooops.. :)

Well, here you can see the problem!
Code:
libtool: link: warning: library `/usr//lib/libpango-1.0.la' was moved
Libtool can't locate libpango-1.0.la, this because of one little error, in my first message... I saw it now..

It should be
Code:
./prefix=/usr && make && make install
not
Code:
./configure --prefix=/usr/ && make && make install
I think that would work a bit better ... hu hu on my self! (back too the books )
 
  


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
error in the creation of `etc/pango/pango.modules` okeyla Linux - Newbie 3 07-02-2011 09:06 PM
pango install fails on make install Seph64 Linux From Scratch 1 10-16-2005 12:17 AM
Having problems install pango 1.2.0...please help :( RoaCh Of DisCor Linux - Software 4 10-13-2004 02:19 PM
Pango install problem JreL Linux - Software 24 09-05-2003 01:46 PM
Trying to install pango... psyklops Linux - General 8 08-26-2003 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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