shoegoo Posted August 19, 2003 Report Share Posted August 19, 2003 I am having a difficult time compiling gDesklets 0.12.1 After running the configure script this is the error I get checking for pkg-config... /usr/bin/pkg-configchecking for gnome-python-2.0 >= 1.99.14 pygtk-2.0 >= 1.99.14... Package pygtk-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `pygtk-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'pygtk-2.0' found configure: error: Library requirements (gnome-python-2.0 >= 1.99.14 pygtk-2.0 >= 1.99.14) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. The only entry in /usr/lib/pkgconfig that I think might be relevant is gnome-python-2.0.pc* I dontknow whay but its the only executable one in the directory. Quote Link to comment Share on other sites More sharing options...
tyme Posted August 19, 2003 Report Share Posted August 19, 2003 you're missing the pygtk-devel package doing a: urpmi pygtk-devel should fix the problem. Quote Link to comment Share on other sites More sharing options...
shoegoo Posted August 19, 2003 Author Report Share Posted August 19, 2003 I installed pygtk-devel just now and the problems is still there. Perhaps I need to make a manual entry in the pkgconfig directory, if so I wouldnt know how to do it. Quote Link to comment Share on other sites More sharing options...
tyme Posted August 19, 2003 Report Share Posted August 19, 2003 do you know what version of pygtk-devel it is? search for pygtk*.pc you may need to make a link (ln -s file1 linkname) from it to pygtk-2.0.pc if the file name doesn't match exactly. Quote Link to comment Share on other sites More sharing options...
shoegoo Posted August 20, 2003 Author Report Share Posted August 20, 2003 [root@localhost gDesklets-0.12.1]# rpm -q pygtkpygtk-0.6.9-6mdk [root@localhost gDesklets-0.12.1]# rpm -q pygtk-devel pygtk-devel-0.6.9-6mdk [root@localhost gDesklets-0.12.1]# rpm -q gnome-python gnome-python-1.99.15-1mdk I used find / pytgtk*.pc and then find / pygtk-2.0.pc as root and neither found anything. Quote Link to comment Share on other sites More sharing options...
tyme Posted August 20, 2003 Report Share Posted August 20, 2003 you have a t in the first one, was that there when you did the find or just a typo on here? i would su to root, run updatedb, and do a: locate pygtk*.pc and see if that gives you any better luck also maybe gnome-python-devel would help, if it exists...which it should... Quote Link to comment Share on other sites More sharing options...
shoegoo Posted August 20, 2003 Author Report Share Posted August 20, 2003 The t is a typo, [root@localhost gDesklets-0.12.1]# urpmi gnome-python-devel no package named gnome-python-devel I also tried this as you instructed [root@localhost gDesklets-0.12.1]# updatedb [root@localhost gDesklets-0.12.1]# locate pygtk*.pc [root@localhost gDesklets-0.12.1]# locate pygtk-2.0.pc [root@localhost gDesklets-0.12.1]# BTW, Tyme, I think you and I must be the only ppl on the board interested in this software... Quote Link to comment Share on other sites More sharing options...
iphitus Posted August 20, 2003 Report Share Posted August 20, 2003 No I had the same problem. I just haven't got around to fixing it I'll be watchin this thread, i'll let you know if i work anything out. James Quote Link to comment Share on other sites More sharing options...
shoegoo Posted August 20, 2003 Author Report Share Posted August 20, 2003 urpmi pygtk2.0-devel That solves all the problems. I hate it when they tag new version numbers on the end of the packages... Now to figure out how it works... Quote Link to comment Share on other sites More sharing options...
shoegoo Posted August 20, 2003 Author Report Share Posted August 20, 2003 Well I got it installed but everytime I try to run it it says python 2.2 may produce unexpected errors, then it crashes. There doesnt seem to be a complete set of pyhton 2.3 rpms yet, so i installed it from source. I tried running the prog again and I got the same error message so I tried to urpme python2.2, it told me there wasnt a package called python2.2 but one called libpython2.2, so i tried to urpme it, but it didnt work, it said it would break my system. Then I checked my path and symlinked python 2.3 in /usr/bin and that still didnt work... I am stuck again. Quote Link to comment Share on other sites More sharing options...
tyme Posted August 20, 2003 Report Share Posted August 20, 2003 you probably should recompile gdesklets after you've installed the newer version of python. and make sure when you ./configure the new python you do it with the --prefix=/usr switched, i.e.: ./configure --prefix=/usr If I was running Mandrake I'd spend some time trying to get it working, but I run arch....and have a completely seperate set of problems going on right gdesklets. Quote Link to comment Share on other sites More sharing options...
bvc Posted August 20, 2003 Report Share Posted August 20, 2003 Also might want to clean the source tree; make clean or make distclean Or delete it and start over. You could also take a look at ./configure --help and see how you can specify the python libs $DIR from a ./configure option and/or in the Makefile. Quote Link to comment Share on other sites More sharing options...
shoegoo Posted August 21, 2003 Author Report Share Posted August 21, 2003 I erased the directeroy, reunzipped it, and reconfigured with --prefix=/usr which did not work, I havent tried specifying the python dir yet. Quote Link to comment Share on other sites More sharing options...
DOlson Posted August 21, 2003 Report Share Posted August 21, 2003 Comment deleted. Reason: 09:33 < tyme> http://www.mandrakeusers.org/viewtopic.php...p?p=59180#59180 <-what's this about me pushing arch down others throats, dolson? i wonder what you were doing there. I didn't know that I wasn't allowed to post information about Debian here on this forum. Sorry for the inconvenience, I won't do it again. Quote Link to comment Share on other sites More sharing options...
tyme Posted August 21, 2003 Report Share Posted August 21, 2003 can anyone try to find out what package pygtk-2.x.pc is in? I did a search on the rpm sites and got no response...I know I had a similar problem previously with Mandrake, but I can't for the life of me remember what I did to fix it.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.