Thanks for the hint. It seems that there is a problem with the libfreetype library:
$ python Python 2.7.2 (default, Jan 21 2012, 15:35:05) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import gtk Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module> from gtk import _gtk ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/_gtk.so, 2): Library not loaded: /opt/local/lib/libfreetype.6.dylib Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/_gtk.so Reason: Incompatible library version: _gtk.so requires version 15.0.0 or later, but libfreetype.6.dylib provides version 14.0.0 I will try to fix this. I will post the solution in case of success, maybe can be useful to others. Best regards, Carles On Sun, Mar 4, 2012 at 4:58 AM, Michael Dickens <m...@alum.mit.edu> wrote: > Hmm ... not sure what's going on. When you're in Python, can you do "import > gtk" successfully? That's what CMake is testing for, roughly. If it can't, > hopefully the error will shed some light as to what's going on. - MLD > > On Mar 3, 2012, at 9:16 PM, Carles Fernandez wrote: > >> Well, actually I had the gnuradio port already and I did a "sudo port >> uninstall gnuradio" before all the building process. I saw that I have >> py27-gtk installed but python version is 2.6.7...so I did: >> >> $ sudo port select python python27 >> $ python -V >> Python 2.7.2 >> >> but when I do >> >> $ cmake ../ >> >> I stiil get >> >> -- Configuring gnuradio-companion support... >> -- Dependency ENABLE_GR_CORE = ON >> -- Dependency ENABLE_PYTHON = ON >> -- Dependency PYTHON_MIN_VER_FOUND = TRUE >> -- Dependency CHEETAH_FOUND = TRUE >> -- Dependency LXML_FOUND = TRUE >> -- Dependency PYGTK_FOUND = FALSE >> -- Dependency NUMPY_FOUND = TRUE >> -- Disabling gnuradio-companion support. >> >> >> Is there any step I'm missing? > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio