Yaakov (Cygwin Ports) schrieb:
> Ali Afshar wrote:
>> $ python
>> Python 2.5.1 (r251:54863, May 18 2007, 16:56:43)
>> [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> import gtk
> 
> Sorry, WFM.  Anybody else?

Because your 
/usr/src/ports/python/pygobject/python-gobject2-2.12.3-2/inst/usr/lib/python2.5/site-packages/
path exists and ours not. And if I symlink it to the correct target path 
it doesn't work neither. Something else missing.

I had a similar problem with building perl.
The installer should no reference to the absolute path while building 
it. Rather install it into the end dir (/usr/lib/python2.5/site-packages/)
and pick it up there. Or use chroot (which I haven't done yet).

The problem is in /usr/lib/python2.5/site-packages/pygtk.pyo
$ strings pygtk.pyo

/usr/src/ports/python/pygobject/python-gobject2-2.12.3-2/inst/usr/lib/python2.5/site-packages/pygtk.py

libxml2.pyo =>
/usr/src/ports/gnome/libxml/2/libxml2-2.6.29-1/inst/usr/lib/python2.5/site-packages/libxml2
drv_libxml2.pyo =>
/usr/src/ports/gnome/libxml/2/libxml2-2.6.29-1/inst/usr/lib/python2.5/site-packages/drv_libxml2

And so on, for almost every pyo file in your distro.
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/
http://helsinki.at/  http://spacemovie.mur.at/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to