Re: Garnome 2.16 | error: Could not find Python module gtk



Sahid,

bindings/pygtk is a dependency for avahi, as can be seen from looking at
the GAR Makefile for avahi. I asked you to check that ./bindings/pygtk
successfully built and installed.  If it did, the question now is "why
can't configure find it?". 

To answer that question, you need to see where the build
of ./binding/pygtk installed its files. Normally, the files should have
been installed under

   top-of-garnome-install-tree/lib/python2.4/site-packages/gtk-2.0

If the files are installed somewhere else, you will have to adjust the
PYTHONPATH environment variable found in gar.conf.mk. gar.conf.mk is
located at the top of the GARNOME source tree.


-Joseph

=================================================================================


On Tue, 2006-09-12 at 19:12 +0200, Sahid Ferdjaoui wrote:
> hello
> i dont understand ... :(
> i give you full error
> 
> make[6]: Entering directory `/home/sahid/tmp/garnome-2.16.0/freedesktop/avahi'
> 
> [===== NOW BUILDING:    avahi-0.6.13    =====]
> 
>         [fetch] complete for avahi.
> 
>         [checksum] complete for avahi.
> 
>         [extract] complete for avahi.
> 
>         [patch] complete for avahi.
> 
>         [fixup] complete for avahi.
> 
>  ==> Running configure in work/main.d/avahi-0.6.13
> 
> 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 for gcc... cc
> 
> checking for C compiler default output file name... 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 cc accepts -g... yes
> 
> checking for cc option to accept ISO C89... none needed
> 
> checking for style of include used by make... GNU
> 
> checking dependency style of cc... gcc3
> 
> 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... cc -E
> 
> checking for a BSD-compatible install... /usr/bin/install -c
> 
> checking whether ln -s works... yes
> 
> checking whether make sets $(MAKE)... (cached) yes
> 
> checking for grep that handles long lines and -e... /usr/bin/grep
> 
> checking for egrep... /usr/bin/grep -E
> 
> checking whether cc needs -traditional... no
> 
> checking build system type... x86_64-unknown-linux-gnu
> 
> checking host system type... x86_64-unknown-linux-gnu
> 
> checking for a sed that does not truncate output... /usr/bin/sed
> 
> checking for ld used by cc... /usr/x86_64-suse-linux/bin/ld
> 
> checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
> 
> checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
> 
> checking for BSD-compatible nm... /usr/bin/nm -B
> 
> checking how to recognise dependent libraries... pass_all
> 
> 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 how to run the C++ preprocessor... g++ -E
> 
> checking for g77... no
> 
> checking for f77... no
> 
> checking for xlf... no
> 
> checking for frt... no
> 
> checking for pgf77... no
> 
> checking for cf77... no
> 
> checking for fort77... no
> 
> checking for fl32... no
> 
> checking for af77... no
> 
> checking for f90... no
> 
> checking for xlf90... no
> 
> checking for pgf90... no
> 
> checking for pghpf... no
> 
> checking for epcf90... no
> 
> checking for gfortran... no
> 
> checking for g95... no
> 
> checking for f95... no
> 
> checking for fort... no
> 
> checking for xlf95... no
> 
> checking for ifort... no
> 
> checking for ifc... no
> 
> checking for efc... no
> 
> checking for pgf95... no
> 
> checking for lf95... no
> 
> checking for ftn... no
> 
> checking whether we are using the GNU Fortran 77 compiler... no
> 
> checking whether  accepts -g... no
> 
> checking the maximum length of command line arguments... 32768
> 
> checking command to parse /usr/bin/nm -B output from cc object... ok
> 
> checking for objdir... .libs
> 
> checking for ar... ar
> 
> checking for ranlib... ranlib
> 
> checking for strip... strip
> 
> checking if cc supports -fno-rtti -fno-exceptions... no
> 
> checking for cc option to produce PIC... -fPIC
> 
> checking if cc PIC flag -fPIC works... yes
> 
> checking if cc static flag -static works... yes
> 
> checking if cc supports -c -o file.o... yes
> 
> checking whether the cc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
> 
> checking whether -lc should be explicitly linked in... no
> 
> checking dynamic linker characteristics... GNU/Linux ld.so
> 
> checking how to hardcode library paths into programs... immediate
> 
> checking whether stripping libraries is possible... yes
> 
> 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/x86_64-suse-linux/bin/ld -m elf_x86_64
> 
> checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
> 
> checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
> 
> checking for g++ option to produce PIC... -fPIC
> 
> checking if g++ PIC flag -fPIC works... yes
> 
> checking if g++ static flag -static works... yes
> 
> checking if g++ supports -c -o file.o... yes
> 
> checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
> 
> checking dynamic linker characteristics... GNU/Linux ld.so
> 
> checking how to hardcode library paths into programs... immediate
> 
> appending configuration tag "F77" to libtool
> 
> checking for the pthreads library -lpthreads... no
> 
> checking whether pthreads work without any flags... no
> 
> checking whether pthreads work with -Kthread... no
> 
> checking whether pthreads work with -kthread... no
> 
> checking for the pthreads library -llthread... no
> 
> checking whether pthreads work with -pthread... yes
> 
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> 
> checking if more special flags are required for pthreads... no
> 
> checking whether to check for GCC pthread/shared inconsistencies... yes
> 
> checking whether -pthread is sufficient with -shared... yes
> 
> checking for linux/netlink.h... yes
> 
> checking for net/route.h... yes
> 
> checking for sys/filio.h... no
> 
> checking for sys/sysctl.h... yes
> 
> checking for struct ip_mreqn... yes
> 
> checking checking whether rtnetlink.h can be included with -std=c99... yes
> 
> checking whether cc accepts -std=c99... yes
> 
> checking whether cc accepts -Wall... yes
> 
> checking whether cc accepts -W... yes
> 
> checking whether cc accepts -Wextra... yes
> 
> checking whether cc accepts -pedantic... yes
> 
> checking whether cc accepts -pipe... yes
> 
> checking whether cc accepts -Wformat... yes
> 
> checking whether cc accepts -Wold-style-definition... yes
> 
> checking whether cc accepts -Wdeclaration-after-statement... yes
> 
> checking whether cc accepts -Wfloat-equal... yes
> 
> checking whether cc accepts -Wmissing-declarations... yes
> 
> checking whether cc accepts -Wmissing-prototypes... yes
> 
> checking whether cc accepts -Wstrict-prototypes... yes
> 
> checking whether cc accepts -Wredundant-decls... yes
> 
> checking whether cc accepts -Wmissing-noreturn... yes
> 
> checking whether cc accepts -Wshadow... yes
> 
> checking whether cc accepts -Wendif-labels... yes
> 
> checking whether cc accepts -Wpointer-arith... yes
> 
> checking whether cc accepts -Wbad-function-cast... yes
> 
> checking whether cc accepts -Wcast-qual... yes
> 
> checking whether cc accepts -Wcast-align... yes
> 
> checking whether cc accepts -Wwrite-strings... yes
> 
> checking whether cc accepts -Winline... yes
> 
> checking for ANSI C header files... (cached) yes
> 
> checking arpa/inet.h usability... yes
> 
> checking arpa/inet.h presence... yes
> 
> checking for arpa/inet.h... yes
> 
> checking fcntl.h usability... yes
> 
> checking fcntl.h presence... yes
> 
> checking for fcntl.h... yes
> 
> checking for inttypes.h... (cached) yes
> 
> checking limits.h usability... yes
> 
> checking limits.h presence... yes
> 
> checking for limits.h... yes
> 
> checking netinet/in.h usability... yes
> 
> checking netinet/in.h presence... yes
> 
> checking for netinet/in.h... yes
> 
> checking for stdlib.h... (cached) yes
> 
> checking for string.h... (cached) yes
> 
> checking sys/ioctl.h usability... yes
> 
> checking sys/ioctl.h presence... yes
> 
> checking for sys/ioctl.h... yes
> 
> checking sys/socket.h usability... yes
> 
> checking sys/socket.h presence... yes
> 
> checking for sys/socket.h... yes
> 
> checking sys/time.h usability... yes
> 
> checking sys/time.h presence... yes
> 
> checking for sys/time.h... yes
> 
> checking for unistd.h... (cached) yes
> 
> checking netdb.h usability... yes
> 
> checking netdb.h presence... yes
> 
> checking for netdb.h... yes
> 
> checking syslog.h usability... yes
> 
> checking syslog.h presence... yes
> 
> checking for syslog.h... yes
> 
> checking for stdbool.h that conforms to C99... yes
> 
> checking for _Bool... yes
> 
> checking for an ANSI C-conforming const... yes
> 
> checking for size_t... yes
> 
> checking whether time.h and sys/time.h may both be included... yes
> 
> checking for sys/wait.h that is POSIX.1 compatible... yes
> 
> checking for working memcmp... yes
> 
> checking sys/select.h usability... yes
> 
> checking sys/select.h presence... yes
> 
> checking for sys/select.h... yes
> 
> checking for sys/socket.h... (cached) yes
> 
> checking types of arguments for select... int,fd_set *,struct timeval *
> 
> checking for stdlib.h... (cached) yes
> 
> checking for GNU libc compatible malloc... yes
> 
> checking for stdlib.h... (cached) yes
> 
> checking for GNU libc compatible realloc... yes
> 
> checking for gethostname... yes
> 
> checking for memchr... yes
> 
> checking for memmove... yes
> 
> checking for memset... yes
> 
> checking for mkdir... yes
> 
> checking for select... yes
> 
> checking for socket... yes
> 
> checking for strchr... yes
> 
> checking for strcspn... yes
> 
> checking for strdup... yes
> 
> checking for strerror... yes
> 
> checking for strrchr... yes
> 
> checking for strspn... yes
> 
> checking for strstr... yes
> 
> checking for uname... yes
> 
> checking for setresuid... yes
> 
> checking for setreuid... yes
> 
> checking for setresgid... yes
> 
> checking for setregid... yes
> 
> checking for strcasecmp... yes
> 
> checking for gettimeofday... yes
> 
> checking for putenv... yes
> 
> checking for strncasecmp... yes
> 
> checking for strlcpy... no
> 
> checking for gethostbyname... yes
> 
> checking for seteuid... yes
> 
> checking for setegid... yes
> 
> checking for setproctitle... no
> 
> checking for getprogname... no
> 
> checking for uid_t in sys/types.h... yes
> 
> checking for unistd.h... (cached) yes
> 
> checking for working chown... yes
> 
> checking whether lstat dereferences a symlink specified with a trailing slash... yes
> 
> checking whether stat accepts an empty string... no
> 
> checking for mode_t... yes
> 
> checking for pid_t... yes
> 
> checking whether environ is declared... yes
> 
> checking sys/capability.h usability... no
> 
> checking sys/capability.h presence... no
> 
> checking for sys/capability.h... no
> 
> checking sys/prctl.h usability... yes
> 
> checking sys/prctl.h presence... yes
> 
> checking for sys/prctl.h... yes
> 
> checking for chroot... yes
> 
> checking for dlopen in -ldl... yes
> 
> checking for dlfcn.h... (cached) yes
> 
> checking for pkg-config... yes
> 
> checking for pkg-config... /opt/gnome-2.16.0/bin/pkg-config
> 
> checking pkg-config is at least version 0.9.0... yes
> 
> checking for GLIB20... yes
> 
> checking for GTK20... yes
> 
> checking for GLADE20... yes
> 
> checking for DBUS... yes
> 
> Your dbus version is 0,92,0.
> 
> checking for XML_ParserCreate in -lexpat... yes
> 
> checking expat.h usability... yes
> 
> checking expat.h presence... yes
> 
> checking for expat.h... yes
> 
> checking for gdbm_open in -lgdbm... yes
> 
> checking gdbm.h usability... yes
> 
> checking gdbm.h presence... yes
> 
> checking for gdbm.h... yes
> 
> checking for LIBDAEMON... yes
> 
> checking whether /usr/bin/python version >= 2.4... yes
> 
> checking for /usr/bin/python version... 2.4
> 
> checking for /usr/bin/python platform... linux2
> 
> checking for /usr/bin/python script directory... ${prefix}/lib64/python2.4/site-packages
> 
> checking for /usr/bin/python extension module directory... ${exec_prefix}/lib64/python2.4/site-packages
> 
> checking for python module gtk... no
> 
> configure: error: Could not find Python module gtk
> 
> make[6]: *** [configure-work/main.d/avahi-0.6.13/configure] Erreur 1
> 
> make[6]: Leaving directory `/home/sahid/tmp/garnome-2.16.0/freedesktop/avahi'
> 
> make[5]: *** [../../freedesktop/avahi/cookies/main.d/install] Erreur 2
> 
> make[5]: Leaving directory `/home/sahid/tmp/garnome-2.16.0/platform/gnome-vfs'
> 
> make[4]: *** [../../platform/gnome-vfs/cookies/main.d/install] Erreur 2
> 
> make[4]: Leaving directory `/home/sahid/tmp/garnome-2.16.0/platform/libgnome'
> 
> make[3]: *** [../../platform/libgnome/cookies/main.d/install] Erreur 2
> 
> make[3]: Leaving directory `/home/sahid/tmp/garnome-2.16.0/platform/libbonoboui'make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Erreur 2
> 
> make[2]: Leaving directory `/home/sahid/tmp/garnome-2.16.0/platform/libgnomeui'
> 
> make[1]: *** [../../platform/libgnomeui/cookies/main.d/install] Erreur 2
> 
> make[1]: Leaving directory `/home/sahid/tmp/garnome-2.16.0/desktop/bug-buddy'
> 
> make: *** [paranoid-install] Erreur 2
> 
> slave:/home/sahid/tmp/garnome-2.16.0/desktop #
> 
> 
> 
> Joseph E. Sacco, Ph.D. wrote:
> > Sahid,
> >
> > Did the python bindings build and install?
> >
> > Take a look in the bindings directory. You will see subdirectories named
> > py*.
> >
> >
> > -Joseph
> >
> > =======================================================================
> >
> > On Sat, 2006-09-09 at 19:11 +0200, Sahid Ferdjaoui wrote:
> >   
> >> Hello,
> >> I try Build Garnome-2.16 on OpenSuSE 10.1 x86_64 but i have a problem,
> >>
> >> checking for /usr/bin/python script directory... ${prefix}/lib64/python2.4/site-packages
> >>
> >> checking for /usr/bin/python extension module directory... ${exec_prefix}/lib64/python2.4/site-packages
> >>
> >> checking for python module gtk... no
> >>
> >> configure: error: Could not find Python module gtk
> >>
> >>
> >> i have installing package gtk-devel and path
> >> "/opt/gnome-2.16.0/lib64/python2.4/site-packages" its OK
> >>
> >> you have idea ?
> >> sahid
> >>
> >> -- 
> >>   sahid.funraill.org
> >>     semi-official foundation for open source :)
> >>
> >>
> >>     
> 
-- 
joseph_sacco [at] comcast [dot] net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]