I found a pango.pc and a pango.modules, amongst other things, but no pango.py

Strange, the website only specified gtk+ and pygtk as a requirement. pango
was installed by fink as a gtk dependency.

Perhaps I need one of these other packages?

[Admins-Computer 11] pango > fink list pango
Information about 2954 packages read in 11 seconds.
     pango1             1.2.1-25       I18N text handling system convinience
package
     pango1-dev         1.2.1-25       I18N text handling system convinience
package
     pango1-shlibs      1.2.1-25       I18N text handling system convinience
package
 i   pango1-xft2        1.10.1-1003    GTK+ - i18n libs (for XFree86 >= 4.3)
 i   pango1-xft2-dev    1.10.1-1003    GTK+ - i18n text development headers
and librarie...
     pango1-xft2-ft219  1.10.1-1103    GTK+ - i18n libs (for freetype >=
2.1.9)
     pango1-xft2-ft...  1.10.1-1103    GTK+ - i18n text development headers
and librarie...
     pango1-xft2-ft...  1.10.1-1103    GTK+ - i18n text shared libraries
(for freetype >...
 i   pango1-xft2-sh...  1.10.1-1003    GTK+ - i18n text shared libraries
(for XFree86 >=


Martin Costabel wrote:
> 
> thetrystero wrote:
>> It's now having trouble locating pango. 
> 
> My guess is that the reason for this is that you don't have a python 
> module named "pango". It therefore cannot find it. Or do you have one?
> 
>> In the spirit of the suggestions regarding gtk here, I added all the
>> paths
>> related to pango that I could find to PYTHONPATH:
>> /sw/lib/pango:/sw/etc/:/sw/lib/pango/1.4.0/modules:/sw/etc/pango:/include/pango-1.0/pango:/lib/pkgconfig
>> 
>> but to no avail.
> 
> Well, this only makes sense if there is a pango python module. i.e. at 
> least a file named "pango.py" somewhere in one of these directories. Is 
> there?
> []
> 
>> As a long term solution, is it possible to build a feature in to fink
>> that
>> automatically sets all relevant PATH variables? (Not just for python type
>> packages but in general) 
> 
> No. Those environment variables that are needed are already set (the 
> missing /sw/lib/site-python for pygtk is a bug in the latter package), 
> and setting "all" relevant variables, including those needed for 
> building things outside of Fink as you are trying to do, is clearly 
> impossible. Only you can know what is present on your system and 
> configure it accordingly.
> 
> -- 
> Martin
> 
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Fink-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fink-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/gtk-%22importerror%22-tp17263512p17403981.html
Sent from the fink-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to