Installing a particular package version via macports

Russell Jones russell.jones at
Wed May 26 06:13:30 PDT 2010

Simone wrote:
> Hi,
>  I'm trying to install, via macports , a complete py-gtk
> environment[1] on snow-leopard but I'm getting errors[2] compiling
> some gtk2 dependencies. Supposing a gtk2 related problem, I used the
> "port list installed|grep gtk2" to discover the gtk2 version installed
> by macports: v.2.20.1.
> Because some people consider Gtk2 2.20.* a problematic release, I
> would like try to replace this version with an older one, the 2.18.2(
> already tested on a leopard-notebook), but I really don't know how to
> do it :-(.
> Could somebody give me some usefull tip / pointer ?
> Thank you in avance,
>  Simone
> [1]
> py25-gtk py25-gobject py25-gobject py25-cairo py25-cairo py25-pip
> py25-psycopg2 py25-tz py25-goocanvas gnome-themes gtk-nodoka-engine
> gtk-smooth-engine gtk2-aurora gtk2-clearlooks gtk2-extra
> gtk2-industrial gtk2-murrine gtk-theme-switch
> [2]
> File compilation-error.log (in attachment)
If you're compiling 64-bit (the default for macports on Snow Leopard), 
IIRC there are problems with Python 2.5 64-bit support. This may only be 
Apple's python, though.


" *64-BIT* *SUPPORT*

     Version *2.6* supports 64-bit execution (which is on by default).  Version *2.5* only supports 32-bit exe-cution. execution.

     Like the version of Python, the *python* command can select between 32 and 64-bit execution (when both
     are available).  Use:

           % defaults write Prefer-32-Bit -bool yes

     to make 32-bit execution the user default (using `/Library/Preferences/' will
     set the system-wide default).  The environment variable VERSIONER_PYTHON_PREFER_32_BIT can also be used
     (has precedence over the preference file):

           % export VERSIONER_PYTHON_PREFER_32_BIT=yes _#_ _Bourne-like_ _shells_
           % setenv VERSIONER_PYTHON_PREFER_32_BIT yes _#_ _C-like_ _shells_

     Again, the preference setting and environmental variable applies to both *python* and *pythonw*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list