On Tue, Sep 16, 2008 at 10:17 AM, Padraig O'Briain
<Padraig.Obriain at sun.com> wrote:
>
>
> Patrick Ale wrote:
>
> On Tue, Sep 16, 2008 at 9:37 AM, Patrick Ale <patrick.ale at gmail.com> wrote:
> Pathname: /usr/lib/python2.4/vendor-packages/pygtk.pyc
> Type: regular file
> Expected mode: 0644
> Expected owner: root
> Expected group: bin
> Expected file size (bytes): 2018
> Expected sum(1) of contents: 29006
> Expected last modification: Aug 25 10:41:00 2008
> Referenced by the following packages:
> SUNWgnome-python-libs
> Current status: installed
Yeah I have pygtk.pyc, I was looking for gtk.pyc :(
$ pkgchk -l -P gtk.py
NOTE: Couldn't lock the package database.
Pathname: /usr/lib/python2.4/vendor-packages/pygtk.py
Type: regular file
Expected mode: 0644
Expected owner: root
Expected group: bin
Expected file size (bytes): 2946
Expected sum(1) of contents: 39635
Expected last modification: Sep 16 09:54:52 2008
Referenced by the following packages:
SUNWgnome-python-libs
Current status: installed
Pathname: /usr/lib/python2.4/vendor-packages/pygtk.pyc
Type: regular file
Expected mode: 0644
Expected owner: root
Expected group: bin
Expected file size (bytes): 2018
Expected sum(1) of contents: 29043
Expected last modification: Sep 16 09:54:52 2008
Referenced by the following packages:
SUNWgnome-python-libs
Current status: installed
Anyway, when I do the check that configure does to see if pygtk is
available I get the following:
$ prog="
import sys
try:
import gtk
except ImportError:
sys.exit(1)
except:
sys.exit(0)
sys.exit(0)"
$ $PYTHON -c "$prog"
$ echo $?
1
When I try to import pygtk, things seem to work.
$ prog="
import sys
try:
import pygtk
except ImportError:
sys.exit(1)
except:
sys.exit(0)
sys.exit(0)"
$
$ $PYTHON -c "$prog"
$ echo $?
0
Is it possible that configure is trying to do the wrong thing?
--
Patrick