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 04-11-2003, 05:43 PM   #1
saiz66
Member
 
Registered: Apr 2003
Posts: 225

Rep: Reputation: 30
Angry Installing gtk+ help


Hi. I need help installing gtk+-2.2.0.tar.gz i am using Mandrake 9.1 and when i typed ./configure --prefix=/opt/gtk my output screen was like this:
---------------------------------------------------------------------------
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1... Package atk was not found in the pkg-config search path.
Perhaps you should add the directory containing `atk.pc'
to the PKG_CONFIG_PATH environment variable
No package 'atk' found

configure: error: Library requirements (glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
---------------------------------------------------------------------------

if anybody can help me .. i am sort of a noob to all this... i get some concepts but i need step by step instructions cause i got lost in all this so easily... i also downloaded glib-2.2.0.tar.gz, atk-1.2.0.tar.gz, pango-1.2.1.tar.gz and pkconfig something... and for all of the i untarred it and did a ./configure then a make and a make install.. not sure wat i was doing.. need feedback on wat to do with those.. if i should install them again a different way, where to install them.. and the error message above.

Thank you.
 
Old 04-11-2003, 06:23 PM   #2
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
Read below, sorry

Last edited by pablob; 04-11-2003 at 06:27 PM.
 
Old 04-11-2003, 06:24 PM   #3
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
Install atk and reinstall gtk. See what happens.
Don't mix glib with glibc; could leave your system non working.

Check the version you have installed of atk/glib/pango against suggested values (glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1)
although I don't think it says is uncomfortable with glib or pango: seems like is only checking fot them and only fails to find atk.
 
Old 06-20-2003, 01:03 AM   #4
Reynolds
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
well im kind of having the same problem when installing gtk.. when i goto install gtk it says:
checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

configure: error: Library requirements (glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
-
ive installed glib over and over... from 2.2.2 to 2.2.0 and back agian when i goto install atk.. get the same error about glib... and glib is installed... if i try to check with pkg-config it says the same though but:
[user@ipx-x-x-x temp]$ whereis glib-2.0.pc
glib-2.0: /usr/local/lib/glib-2.0
-
i looked all over i cant figure out what im doing rong.. looked over the INSTALL 2-3 times

Last edited by Reynolds; 06-20-2003 at 01:05 AM.
 
Old 06-20-2003, 03:45 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
you need to install glib-devel-2.0 (or whatever it's actually called) this will contain the pkgconfig file.
 
Old 06-20-2003, 05:19 PM   #6
Reynolds
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
ok... i installed glib-devel now i dont get that error when i do ./configure but now when i goto install atk i get this:

gcc: /usr/lib/libgobject-2.0.so: No such file or directory
gcc: /usr/lib/libgmodule-2.0.so: No such file or directory
gcc: /usr/lib/libglib-2.0.so: No such file or directory
make[2]: *** [libatk-1.0.la] Error 1

so to make sure i had them and they were in the correct dir i did this:

[root@ipx-x-x x atk-1.2.4]# whereis libgobject-2.0.so
libgobject-2.0: /usr/lib/libgobject-2.0.a /usr/lib/libgobject-2.0.la /usr/lib/libgobject-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgobject-2.0.la

so i have it... and it is in /usr/lib
why wont the compiler see it?!?!

[edit]
as root i tryed to run cat on /usr/lib/libgobject-2.0.so
and it said i do not have it... im really getting agrivated with this
is this not a file made from glib? or what is it

im afraid to reboot i think i might have borked my system up
[/edit]

Last edited by Reynolds; 06-20-2003 at 05:33 PM.
 
Old 06-21-2003, 04:06 PM   #7
Reynolds
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
i reinstalled everything still no luck... same ol errors... i cannot find a package that installs llibgobject-2.0.so anywere.. execpt for stuff like debian binary packages.. ive found pre-compiled so files but i really dont want to use something that i didnt compile and also these were compiled on a debian system
 
  


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
Installing the gtk Elbryan Linux - Software 10 10-13-2007 01:17 AM
Installing Mono-got stuck while installing gtk-sharp chutsu Linux - Software 11 01-18-2005 08:25 PM
installing GTK+ 2.4.2 Vindane Linux - Software 3 06-05-2004 05:20 PM
installing gtk dlm4444 Programming 1 09-26-2003 10:07 AM
Installing GTK+ Womandrake Linux - Software 5 04-23-2003 09:54 AM

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

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