LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-26-2004, 03:23 PM   #1
kevcart3
LQ Newbie
 
Registered: Jun 2004
Location: USA
Distribution: Fedora Core 2
Posts: 15

Rep: Reputation: 0
Problem installing Gdesklets


I have been trying to install Gdesklets for the past four days, and I have not had any luck yet.

Here is my problem:

I install pyorbit 2.2.0
I then install pygtk 2.0.0
When trying to install gnome-python, here is what happens:

[root@localhost gnome-python-2.0.0]$ ./configure

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/bin/python
checking for python version... 2.2
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.2/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.2/site-packages
checking for headers required to compile python extensions... found
checking for pkg-config... /usr/bin/pkg-config
checking is pkg-config version >= 0.9.0... yes
checking for pygtk-2.0 >= 2.0.0... Requested 'pygtk-2.0 >= 2.0.0' but version of PyGTK is 1.99.14

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

Have I installed pygtk correctly, this is what i did to install pygtk:

./configure
make
make install

I am a pretty experienced computer user as far a programming and actually using a computer goes, but fairly new in Linux, and trying to learn more about how to use it, if there are any suggestions on what i did wrong, i would appreciate it.

 
Old 06-26-2004, 04:11 PM   #2
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
do a ldconfig and then try it if that doesnt work try export PKG_CONFIG_PATH=/path/to/pygtk2 (hope you get the idea) not sure if thats the right variable they use but you see what im talking ahbout i hope.
 
Old 06-26-2004, 04:23 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
i'd expect that you don't actually have pygtk installed right, if it was a version like pygtk-2.0-rc3 or something, then this will not actually be 2.0, but 1.99 most likely. a good way do troubleshooting on things like this are to open the configure script and fine (by a text search) the part where it does the test and recreate it yourself. possibly you have two versions installed in different locations or such.
 
Old 06-26-2004, 04:39 PM   #4
kevcart3
LQ Newbie
 
Registered: Jun 2004
Location: USA
Distribution: Fedora Core 2
Posts: 15

Original Poster
Rep: Reputation: 0
PROBLEM SOLVED!!

Okay, i figured out my problem, the ./config of gnome-python is looking for a file called pygtk-2.0.pc

this file tells exactly where pygtk is installed and what version i am using.

i had to type this to tell it where the dir was for that .pc file:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

that told pkg-config where pygtk2.0 was installed and what version i was running. This totally fixed my problem, when installing gDesklets, i had the same problem with it looking for the gnome-python.pc file, so i did the same thing with it, and I was successful. I now have gDesklets installed, thanks for the help!!


 
  


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 gDesklets Noido Linux - Software 6 06-29-2005 11:17 AM
Installing gDesklets Bern911 Linux - Software 1 02-19-2005 08:13 PM
problem installing gDesklets Bern911 Linux - Newbie 1 02-18-2005 04:33 PM
Problem installing gDesklets Bern911 Linux - Software 1 02-17-2005 09:13 PM
installing gdesklets minm Linux - Software 1 10-10-2004 11:22 PM

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

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