Most components seem to configure without a problem, but when using
./configure --enable-grc ,
a problem occurs, and the errors are:
checking for xdg-mime… false
checking for Python version 2.5… yes
checking for Python Cheetah templates… no
checking for Python GTK wrappers… no
checking for Python XML wrappers… no
checking for GTK version >= 2.10.0… Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named gtk
./configure: line 46951: test: =: unary operator expected
no
configure: error: Component grc has errors; stopping.
I have installed the latest gtk2 using port, and all other recomended
packages. Is there any other trics that I am missing?
The check for the gtk module is failing, however, a second check for the
gtk version is also failing, I need to fix this so its test is run
conditionally upon gtk actually existing.
Anway ->
checking for Python Cheetah templates… no
checking for Python GTK wrappers… no
checking for Python XML wrappers… no
this means that the import of these modules has failed. Python cannot
find them… Perhaps your python path is not set up properly. Consult
the relevant mac os guides.
checking for GTK version >= 2.10.0… Traceback (most recent call
last):
File “”, line 1, in
ImportError: No module named gtk
./configure: line 46951: test: =: unary operator expected
no
configure: error: Component grc has errors; stopping.
I have installed the latest gtk2 using port, and all other
recomended packages. Is there any other trics that I am missing?
If adding in those doesn’t work for you, email me off list with the
“configure” results & we’ll work out whatever other ports you need.
I was working on updating various install guides, but keep getting
distracted by other things … Ah the life of a grad student!
Also, some things to note that are out of date there and elsewhere:
SDCC 2.8+ works on both Intel- and PPC-OSX. No need for the special
install any longer!
At this time, LIBUSB 1.0 does not have an OSX port; it is for Linux
only. You must use 0.1.X (which, luckily, is the version provided by
MacPorts).
→ As GNU Radio has a custom written (by me) USB for Darwin
implementation (fusb_darwin), which is under GPLv3; and LIBUSB version
1 is in need to such an implementation and is under LGPLv2: Is it a
possibility of transferring code from one project to the other?
→ Is the GNU Radio project (“powers that be”) thinking of moving to
LIBUSB version 1? Clearly it is not yet possible, but if it is
desired to do so, then the previous query is of more importance.
OTOH, we can keep using version 0.1.X since it clearly works.
I removed everything and started over again with the mentioned guide ( https://radioware.nd.edu/documentation/install-guides/mac-os-x
), and installed the modules Michael recommended (py25-cheetah,
py25-gtk and py25-lxml). In addition I installed gsl, which was needed.
Now most components configure correctly, so this seemed to be the way
to go. The USRP2-modules was not configured, but I will probably only
be using the original USRP anyway.
There was problem with the path as suggested by Josh, but setting the
path in .profile fixed the problem (somehow it seems that .bachrc
wasn’t executed when opening a terminal).
Thank you for your help guys, and have a merry Christmas (in a few
days).
I had the same problem and i added the paths for the installed
modules to the
PythonPath (i used “export
PYTHONPATH:/opt/local/var/macports/software/[modulename]/” i however
wont
pass the check for GRC it still refuses.
I also have gsl installed, i whould appreciate any help
Yes, I need to update the GNU Radio / OSX install info on both
radioware.nd.edu and gnuradio.org … I’ll put that on my ToDo list
The files in /opt/local/var/macports/software/[…] are also installed
in /opt/local/lib/python25/site-packages … so you should use the
latter in your PYTHONPATH instead (set in your .profile or .bash_login
or whatever). Doing so, for me, allows GRC to execute properly on
OSX. Hope this helps. - MLD
I had the same problem and i added the paths for the installed modules
to the
PythonPath (i used “export
PYTHONPATH:/opt/local/var/macports/software/[modulename]/” i however
wont
pass the check for GRC it still refuses.
I also have gsl installed, i whould appreciate any help
Einar T. wrote:
There was problem with the path as suggested by Josh, but setting the
N-7030 Trondheim