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

Re: Error message from install of python packages



*********In an earlier post I had these issues (below)
         I reinstalled all my ptyhon packages and I get clean
         installs now(w/out any error messages)

>Setting up python-gtk (0.6.11-7) ...
>'import site' failed; use -v for traceback
>'import site' failed; use -v for traceback

>Setting up python-glade (0.6.11-7) ...
>'import site' failed; use -v for traceback
>'import site' failed; use -v for traceback

>Setting up python-gdk-imlib (0.6.11-7) ...
>'import site' failed; use -v for traceback
>'import site' failed; use -v for traceback

>Setting up python-gnome (1.4.4-7) ...
>'import site' failed; use -v for traceback
>'import site' failed; use -v for traceback

>They seem to be affecting my ablity to build packages???

>configure: error:
>**** The python interpreter can't find the python bindings for gtk.
>make: *** [build] Error 1
>debuild: fatal error at line 456:
>dpkg-buildpackage failed!


*************I still am getting this error though when trying to build a  
               package...

checking for python... /usr/bin/python
checking python version... 2.2
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... yes
checking for gnome-config... no
checking for gtk.py... no
configure: error:
**** The python interpreter can't find the python bindings for gtk.
make: *** [build] Error 1
debuild: fatal error at line 456:
dpkg-buildpackage failed!
bfurry@EULER:~/src/paleta-0.1.02082002$



***********Full output of session below

bfurry@EULER:~/src/paleta-0.1.02082002$ debuild
dpkg-buildpackage: source package is paleta
dpkg-buildpackage: source version is 0.1.02082002-1
dpkg-buildpackage: source maintainer is Brian R Furry <bfurry@nac.net>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -rf build-stamp debian/paleta debian/files
/usr/bin/make clean DESTDIR=`pwd`/debian/paleta PREFIX=/usr
make[1]: Entering directory `/home/bfurry/src/paleta-0.1.02082002'
make[1]: *** No rule to make target `clean'.  Stop.
make[1]: Leaving directory `/home/bfurry/src/paleta-0.1.02082002'
make: [clean] Error 2 (ignored)
/usr/bin/make distclean
make[1]: Entering directory `/home/bfurry/src/paleta-0.1.02082002'
make[1]: *** No rule to make target `distclean'.  Stop.
make[1]: Leaving directory `/home/bfurry/src/paleta-0.1.02082002'
make: [clean] Error 2 (ignored)
dh_clean
 dpkg-source -b paleta-0.1.02082002
dpkg-source: building paleta using existing paleta_0.1.02082002.orig.tar.gz
dpkg-source: building paleta in paleta_0.1.02082002-1.diff.gz
dpkg-source: warning: ignoring deletion of file data/paleta.glade.bak
dpkg-source: building paleta in paleta_0.1.02082002-1.dsc
 debian/rules build
./configure --prefix=$(pwd)/debian/paleta/usr
loading cache ./config.cache
checking for python... /usr/bin/python
checking python version... 2.2
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... yes
checking for gnome-config... no
checking for gtk.py... no
configure: error:
**** The python interpreter can't find the python bindings for gtk.
make: *** [build] Error 1
debuild: fatal error at line 456:
dpkg-buildpackage failed!
bfurry@EULER:~/src/paleta-0.1.02082002$

***************Here are the python packages I have installed

EULER:~# dpkg -l | grep python
ii  python         2.2.2-6        An interactive object-oriented scripting
lan
ii  python-gdk-iml 0.6.11-7       GTK gdk_imlib support module for Python.
ii  python-glade   0.6.11-7       Put a bit of python code behind
interfaces b
ii  python-gnome   1.4.4-7        PyGNOME -- Python bindings for GNOME.
ii  python-gtk     0.6.11-7       GTK support module for Python.
ii  python2.1      2.1.3-18       An interactive object-oriented scripting
lan
ii  python2.1-xmlb 2.1.3-18       XML support included in Python (v2.1)
ii  python2.2      2.2.2-6        An interactive object-oriented scripting
lan
EULER:~#



TIA

Brian




Reply to: