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. :newbie: |
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.
|
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.
|
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!! :Pengy: :Pengy: :Pengy: |
All times are GMT -5. The time now is 05:27 PM. |