Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#37124 closed defect (fixed)

gnuradio: Cheetah templates required to build VOLK

Reported by: mcquiggi (Kevin McQuiggin) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: gnuradio

Description

Hi All:

I have OS X 10.8.2.

I have run:

   sudo port selfupdate
   sudo port upgrade outdated

A build of the latest version of gnuradio (3.6.2) fails with the messages:

Kevins-MacBook-Air:~ mcquiggi$ sudo port install gnuradio
--->  Computing dependencies for gnuradio
--->  Configuring gnuradio
Error: org.macports.configure for port gnuradio returned: configure failure: command execution failed
Please see the log file for port gnuradio for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gnuradio failed
Kevins-MacBook-Air:~ mcquiggi$ 

Here is what the relevant portion of the log file says:

:info:configure --
:info:configure -- Configuring volk support...
:info:configure --   Enabling volk support.
:info:configure --   Override with -DENABLE_VOLK=ON/OFF
:info:configure --
:info:configure -- Python checking for python >= 2.5
:info:configure -- Python checking for python >= 2.5 - found
:info:configure --
:info:configure -- Python checking for Cheetah >= 2.0.0
:info:configure -- Python checking for Cheetah >= 2.0.0 - not found
:info:configure CMake Error at volk/CMakeLists.txt:66 (message):
:info:configure   Cheetah templates required to build VOLK
:info:configure
:info:configure
:info:configure -- Configuring incomplete, errors occurred!
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev -DENABLE_VOLK=ON -DENABLE_DOXYGEN=OFF -DENABLE_SPHINX=OFF -DENABLE_GRC=OFF -DENABLE_GR_QTGUI=OFF -DQT_QMAKE_EXECUTABLE= -DENABLE_GR_WXGUI=OFF -DENABLE_GR_UHD=OFF -DUHD_INCLUDE_DIRS= -DUHD_LIBRARIES= -DORCC_EXECUTABLE= -DENABLE_GR_WAVELET=OFF -DJACK_INCLUDE_DIR= -DJACK_LIBRARY= -DPORTAUDIO_INCLUDE_DIRS= -DPORTAUDIO_LIBRARIES= -DSWIG_EXECUTABLE= -DENABLE_GR_VIDEO_SDL=OFF -DSDLMAIN_LIBRARY= -DSDL_INCLUDE_DIR= -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_SYSROOT=/ ../gnuradio-3.6.2
:info:configure Exit code: 1
:error:configure org.macports.configure for port gnuradio returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for gnuradio: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port gnuradio for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/main.log

After seeing this I installed the port "cheetah", but I see that the current ports tree only has version 1.8 in it; the error message says the port is looking for cheetah version >=2.0.

My installed cheetah, note that it is not listed as "outdated":

Kevins-MacBook-Air:~ mcquiggi$ sudo port installed cheetah
The following ports are currently installed:
  cheetah @1.8_1 (active)
Kevins-MacBook-Air:~ mcquiggi$ 
Kevins-MacBook-Air:~ mcquiggi$ sudo port list cheetah
cheetah                        @1.8            www/cheetah
Kevins-MacBook-Air:~ mcquiggi$ sudo port outdated
The following installed ports are outdated:
gnuradio-atsc                  3.3.0_0 < 3.6.2_0         
gnuradio-audio-jack            3.3.0_0 < 3.6.2_0         
gnuradio-audio-osx             3.3.0_0 < 3.6.2_0         
gnuradio-audio-portaudio       3.3.0_0 < 3.6.2_0         
gnuradio-companion             3.3.0_0 < 3.6.2_0         
gnuradio-core                  3.3.0_0 < 3.6.2_0         
gnuradio-cvsd-vocoder          3.3.0_0 < 3.6.2_0         
gnuradio-examples              3.3.0_0 < 3.6.2_0         
gnuradio-gpio                  3.3.0_0 < 3.6.2_0         
gnuradio-gruel                 3.3.0_0 < 3.6.2_0         
gnuradio-gsm-fr-vocoder        3.3.0_0 < 3.6.2_0         
gnuradio-msdd6000              3.3.0_0 < 3.6.2_0         
gnuradio-noaa                  3.3.0_0 < 3.6.2_0         
gnuradio-pager                 3.3.0_0 < 3.6.2_0         
gnuradio-wxgui                 3.3.0_0 < 3.6.2_0         
usrp                           3.3.0_1 < 003_005_000_0   
Kevins-MacBook-Air:~ mcquiggi$ 

Any assistance will be appreciated.

Kevin

Change History (19)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to michaelld@…
Port: gnuradio added
Summary: Build of Gnuradio 3.6.2 Failsgnuradio: Cheetah templates required to build VOLK

The port called "cheetah" provides a web server called "cheetah"; that's not what gnuradio needs; you can uninstall it. Rather, gnuradio needs the python module called "cheetah", which is a template engine, and is in the port "py${python.version}-cheetah". The gnuradio port already adds a dependency on py${python.version}-cheetah, but only when both the grc variant and the python${python.version} variant are selected. Apparently that's not enough.

Note also that "port list" doesn't do what you think it does.

comment:2 in reply to:  1 Changed 12 years ago by mcquiggi (Kevin McQuiggin)

Replying to ryandesign@…:

The port called "cheetah" provides a web server called "cheetah"; that's not what gnuradio needs; you can uninstall it. Rather, gnuradio needs the python module called "cheetah", which is a template engine, and is in the port "py${python.version}-cheetah". The gnuradio port already adds a dependency on py${python.version}-cheetah, but only when both the grc variant and the python${python.version} variant are selected. Apparently that's not enough.

Note also that "port list" doesn't do what you think it does.

---

Hi:

Sorry to be problematic!

I installed py27-cheetah, but unfortunately it's still a "no go":

Kevins-MacBook-Air:~ mcquiggi$ sudo port installed | grep -i cheetah
  py26-cheetah @2.4.4_1 (active)
  py27-cheetah @2.4.4_1 (active)
Kevins-MacBook-Air:~ mcquiggi$ 

and

Kevins-MacBook-Air:~ mcquiggi$ sudo port install gnuradio
--->  Computing dependencies for gnuradio
--->  Configuring gnuradio
Error: org.macports.configure for port gnuradio returned: configure failure: command execution failed
Please see the log file for port gnuradio for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gnuradio failed

So I looked at the log file again:

Kevins-MacBook-Air:~ mcquiggi$ vi /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/main.log

and the error is:

:info:configure -- Configuring volk support...
:info:configure --   Enabling volk support.
:info:configure --   Override with -DENABLE_VOLK=ON/OFF
:info:configure -- Found PythonInterp: /usr/bin/python (found version "2.7.2")
:info:configure --
:info:configure -- Python checking for python >= 2.5
:info:configure -- Python checking for python >= 2.5 - found
:info:configure --
:info:configure -- Python checking for Cheetah >= 2.0.0
:info:configure -- Python checking for Cheetah >= 2.0.0 - not found
:info:configure CMake Error at volk/CMakeLists.txt:66 (message):
:info:configure   Cheetah templates required to build VOLK
:info:configure
:info:configure
:info:configure -- Configuring incomplete, errors occurred!
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev -DENABLE_VOLK=ON -DENABLE_DOXYGEN=OFF -DENABLE_SPHINX=OFF -DENABLE_GRC=OFF -DENABLE_GR_QTGUI=OFF -DQT_QMAKE_EXECUTABLE= -DENABLE_GR_WXGUI=OFF -DENABLE_GR_UHD=OFF -DUHD_INCLUDE_DIRS= -DUHD_LIBRARIES= -DORCC_EXECUTABLE= -DENABLE_GR_WAVELET=OFF -DJACK_INCLUDE_DIR= -DJACK_LIBRARY= -DPORTAUDIO_INCLUDE_DIRS= -DPORTAUDIO_LIBRARIES= -DSWIG_EXECUTABLE= -DENABLE_GR_VIDEO_SDL=OFF -DSDLMAIN_LIBRARY= -DSDL_INCLUDE_DIR= -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_SYSROOT=/ ../gnuradio-3.6.2
:info:configure Exit code: 1
:error:configure org.macports.configure for port gnuradio returned: configure fa
ilure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for gnuradio: org.macports.activat
e org.macports.configure org.macports.build org.macports.destroot org.macports.i
nstall
:notice:configure Please see the log file for port gnuradio for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/main.log

comment:3 in reply to:  1 Changed 12 years ago by mcquiggi (Kevin McQuiggin)

Replying to ryandesign@…:

The port called "cheetah" provides a web server called "cheetah"; that's not what gnuradio needs; you can uninstall it. Rather, gnuradio needs the python module called "cheetah", which is a template engine, and is in the port "py${python.version}-cheetah". The gnuradio port already adds a dependency on py${python.version}-cheetah, but only when both the grc variant and the python${python.version} variant are selected. Apparently that's not enough.

Note also that "port list" doesn't do what you think it does.

Yes it does! I was using "port list" to list the current version of cheetah available in Macports 2.1.2, NOT to list the version on my machine. I can see that by "port installed".

I believe this is correct, I checked the FAQ!

comment:4 Changed 12 years ago by mcquiggi (Kevin McQuiggin)

Hi All:

Is there any further info or anything I can provide to help with resolution of this ticket?

I would really love to get gnuradio running natively under Mac OSX. I am trying to make do with running it under Parallels/Ubuntu but this is not optimal as the real time response gets skewed due to the virtualization.

Please let me know if further log files etc would help.

Kevin

comment:5 Changed 12 years ago by michaelld (Michael Dickens)

It's on my queue for Monday to look into this dependency while I'm upgrading gnuradio-devel and gnuradio-next. I didn't think VOLK used Python at all, but maybe I'm mistaken. This particular cheetah, is provided by pt-cheetah (or py27-cheetah, etc), so if you tried "sudo port install gnuradio +grc +python27" I think the install will work as a temporary measure. I think the equivalent "port" command to what it looks like you had before is "sudo port install +full +python27".

comment:6 Changed 12 years ago by mcquiggi (Kevin McQuiggin)

Thanks, the package built and installed with no apparent problems, but:

Kevins-MacBook-Air:~ mcquiggi$ gnuradio-companion
Traceback (most recent call last):
  File "/opt/local/bin/gnuradio-companion", line 21, in <module>
    import pygtk
ImportError: No module named pygtk
Kevins-MacBook-Air:~ mcquiggi$ 

Should the import specify py-gtk (or perhaps py-gtk2, as there is a port with that name)??

I appreciate your work on this (obviously complicated) port!

Kevin

comment:7 Changed 12 years ago by mcquiggi (Kevin McQuiggin)

In fact I found the pygtk module at

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/

but python isn't finding it. Some python path or environment variable?

comment:8 Changed 12 years ago by michaelld (Michael Dickens)

What do the following return for you:

which python
ls -l /opt/local/bin/python*

I'm betting that you're using the built-in Python from OSX 10.8, and not that provided by MacPorts. If this is the case, then I recommend you select the MacPorts version via:

sudo port select python python27

And then "which python" should return "/opt/local/bin/python", and -then- "gnuradio-companion" should work correctly.

comment:9 Changed 12 years ago by mcquiggi (Kevin McQuiggin)

Thanks, "which python" indeed indicated the OSX stock version. The "sudo port select ..." fixed that.

Looks like we are getting closer, but still a number of errors. "Could not open display" - perhaps I should not be invoking this from the command line, rather within X or something? Command line works fine in Linux/Ubuntu.

The messages:

Kevins-MacBook-Air:~ mcquiggi$ gnuradio-companion
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/opt/local/bin/gnuradio-companion:28: Warning: invalid (NULL) pointer instance
  Cannot import gnuradio. Are your PYTHONPATH and LD_LIBRARY_PATH set correctly?""")
/opt/local/bin/gnuradio-companion:28: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  Cannot import gnuradio. Are your PYTHONPATH and LD_LIBRARY_PATH set correctly?""")
/opt/local/bin/gnuradio-companion:28: GtkWarning: GtkSettings *gtk_settings_get_for_screen(GdkScreen *): assertion `GDK_IS_SCREEN (screen)' failed
  Cannot import gnuradio. Are your PYTHONPATH and LD_LIBRARY_PATH set correctly?""")
/opt/local/bin/gnuradio-companion:28: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  Cannot import gnuradio. Are your PYTHONPATH and LD_LIBRARY_PATH set correctly?""")
/opt/local/bin/gnuradio-companion:28: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  Cannot import gnuradio. Are your PYTHONPATH and LD_LIBRARY_PATH set correctly?""")
/opt/local/bin/gnuradio-companion:30: GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
  d.run()
/opt/local/bin/gnuradio-companion:30: GtkWarning: PangoContext *gdk_pango_context_get_for_screen(GdkScreen *): assertion `GDK_IS_SCREEN (screen)' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: PangoWarning: void pango_context_set_font_description(PangoContext *, const PangoFontDescription *): assertion `context != NULL' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: PangoWarning: void pango_context_set_base_dir(PangoContext *, PangoDirection): assertion `context != NULL' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: PangoWarning: void pango_context_set_language(PangoContext *, PangoLanguage *): assertion `context != NULL' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: PangoWarning: PangoLayout *pango_layout_new(PangoContext *): assertion `context != NULL' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: PangoWarning: void pango_layout_set_text(PangoLayout *, const char *, int): assertion `layout != NULL' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: PangoWarning: void pango_layout_set_alignment(PangoLayout *, PangoAlignment): assertion `layout != NULL' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: PangoWarning: void pango_layout_set_ellipsize(PangoLayout *, PangoEllipsizeMode): assertion `PANGO_IS_LAYOUT (layout)' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: PangoWarning: void pango_layout_set_single_paragraph_mode(PangoLayout *, gboolean): assertion `PANGO_IS_LAYOUT (layout)' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: PangoWarning: void pango_layout_set_width(PangoLayout *, int): assertion `layout != NULL' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: PangoWarning: void pango_layout_get_extents(PangoLayout *, PangoRectangle *, PangoRectangle *): assertion `layout != NULL' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: GtkWarning: GtkIconTheme *gtk_icon_theme_get_for_screen(GdkScreen *): assertion `GDK_IS_SCREEN (screen)' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: GtkWarning: GtkSettings *gtk_settings_get_for_screen(GdkScreen *): assertion `GDK_IS_SCREEN (screen)' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: GtkWarning: gboolean gtk_icon_size_lookup_for_settings(GtkSettings *, GtkIconSize, gint *, gint *): assertion `GTK_IS_SETTINGS (settings)' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: GtkWarning: Invalid icon size 6

  d.run()
/opt/local/bin/gnuradio-companion:30: GtkWarning: GdkPixbuf *gtk_icon_theme_load_icon(GtkIconTheme *, const gchar *, gint, GtkIconLookupFlags, GError **): assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: GtkWarning: Error loading theme icon 'dialog-error' for stock: 
  d.run()
/opt/local/bin/gnuradio-companion:30: GtkWarning: gtkstyle.c:2358: invalid icon size '6'
  d.run()
/opt/local/bin/gnuradio-companion:30: GtkWarning: GdkPixbuf *gtk_style_render_icon(GtkStyle *, const GtkIconSource *, GtkTextDirection, GtkStateType, GtkIconSize, GtkWidget *, const gchar *): assertion `pixbuf != NULL' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: PangoWarning: void pango_layout_set_wrap(PangoLayout *, PangoWrapMode): assertion `PANGO_IS_LAYOUT (layout)' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: GtkWarning: gint gdk_screen_get_width(GdkScreen *): assertion `GDK_IS_SCREEN (screen)' failed
  d.run()
/opt/local/bin/gnuradio-companion:30: PangoWarning: int pango_layout_get_line_count(PangoLayout *): assertion `layout != NULL' failed
  d.run()
Floating point exception: 8
Kevins-MacBook-Air:~ mcquiggi$ 

comment:10 Changed 12 years ago by mcquiggi (Kevin McQuiggin)

I see that I had three versions installed, @3.6.2_0; @3.6.2_0+grc+python27, and @3.6.2_0+python26. The latter was the one marked as "active".

I will try to figure this out!

Back to you shortly with results.

comment:11 Changed 12 years ago by mcquiggi (Kevin McQuiggin)

Okay, still no go but here is what I did:

I uninstalled gnuradio. I cleaned and then reinstalled "gnuradio +grc +python27".

Still no go. So, I uninstalled gnuradio again; then uninstalled all the old 3.3.0 gnuradio-* sub-packages. These were all listed with +python26. Got rid of everything inactive.

I confirmed that no more "gnuradio" stuff was left through "sudo port installed | grep -i gnuradio". It is all gone.

I am now reinstalling gnuradio +grc +python27.

I will advise as to how this goes.

comment:12 Changed 12 years ago by mcquiggi (Kevin McQuiggin)

Here's where I am at:

Kevins-MacBook-Air:~ mcquiggi$ sudo port installed inactive
None of the specified ports are installed.
Kevins-MacBook-Air:~ mcquiggi$ sudo port installed | grep gnura
Kevins-MacBook-Air:~ mcquiggi$ sudo port install gnuradio +grc +python27
--->  Computing dependencies for gnuradio
--->  Fetching archive for gnuradio
--->  Attempting to fetch gnuradio-3.6.2_0+grc+python27.darwin_12.x86_64.tbz2 from http://packages.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.6.2_0+grc+python27.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.6.2_0+grc+python27.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnuradio
--->  Fetching distfiles for gnuradio
--->  Verifying checksum(s) for gnuradio
--->  Extracting gnuradio
--->  Applying patches to gnuradio
--->  Configuring gnuradio
--->  Building gnuradio
--->  Staging gnuradio into destroot
--->  Installing gnuradio @3.6.2_0+grc+python27
--->  Activating gnuradio @3.6.2_0+grc+python27
--->  Cleaning gnuradio
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
Kevins-MacBook-Air:~ mcquiggi$ which python
/opt/local/bin/python
Kevins-MacBook-Air:~ mcquiggi$ sudo port installed | grep gnuradio
Password:
  gnuradio @3.6.2_0+grc+python27 (active)
Kevins-MacBook-Air:~ mcquiggi$ 

No go:

Kevins-MacBook-Air:~ mcquiggi$ which python
/opt/local/bin/python
Kevins-MacBook-Air:~ mcquiggi$ sudo port installed | grep gnuradio
Password:
  gnuradio @3.6.2_0+grc+python27 (active)
Kevins-MacBook-Air:~ mcquiggi$ 
Kevins-MacBook-Air:~ mcquiggi$ gnuradio
-bash: gnuradio: command not found
Kevins-MacBook-Air:~ mcquiggi$ grc
-bash: grc: command not found
Kevins-MacBook-Air:~ mcquiggi$ man gnuradio
No manual entry for gnuradio
Kevins-MacBook-Air:~ mcquiggi$ sudo port list | grep gnuradio
gnuradio                       @3.6.2          science/gnuradio
gnuradio-devel                 @3.6.3_20121119 science/gnuradio
gnuradio-next                  @3.7.0_20121119 science/gnuradio
gnuradio-atsc                  @3.6.2          science/gnuradio-atsc
gnuradio-audio-jack            @3.6.2          science/gnuradio-audio-jack
gnuradio-audio-osx             @3.6.2          science/gnuradio-audio-osx
gnuradio-audio-portaudio       @3.6.2          science/gnuradio-audio-portaudio
gnuradio-companion             @3.6.2          science/gnuradio-companion
gnuradio-core                  @3.6.2          science/gnuradio-core
gnuradio-cvsd-vocoder          @3.6.2          science/gnuradio-cvsd-vocoder
gnuradio-examples              @3.6.2          science/gnuradio-examples
gnuradio-gpio                  @3.6.2          science/gnuradio-gpio
gnuradio-grc                   @3.6.2          science/gnuradio-grc
gnuradio-gruel                 @3.6.2          science/gnuradio-gruel
gnuradio-gsm-fr-vocoder        @3.6.2          science/gnuradio-gsm-fr-vocoder
gnuradio-mblock                @3.6.2          science/gnuradio-mblock
gnuradio-msdd6000              @3.6.2          science/gnuradio-msdd6000
gnuradio-noaa                  @3.6.2          science/gnuradio-noaa
gnuradio-omnithread            @3.6.2          science/gnuradio-omnithread
gnuradio-pager                 @3.6.2          science/gnuradio-pager
gnuradio-pmt                   @3.6.2          science/gnuradio-pmt
gnuradio-qtgui                 @3.6.2          science/gnuradio-qtgui
gnuradio-radar-mono            @3.6.2          science/gnuradio-radar-mono
gnuradio-radio-astronomy       @3.6.2          science/gnuradio-radio-astronomy
gnuradio-sounder               @3.6.2          science/gnuradio-sounder
gnuradio-trellis               @3.6.2          science/gnuradio-trellis
gnuradio-usrp                  @3.6.2          science/gnuradio-usrp
gnuradio-utils                 @3.6.2          science/gnuradio-utils
gnuradio-video-sdl             @3.6.2          science/gnuradio-video-sdl
gnuradio-wxgui                 @3.6.2          science/gnuradio-wxgui
Kevins-MacBook-Air:~ mcquiggi$ 

Looks like I have to get these sub-packages installed as well? Do I just choose the particular ones I need, or must they all be installed?

Thanks for the help, hope I am helping as well (from a user's perspective)!!

comment:13 Changed 12 years ago by michaelld (Michael Dickens)

You do not need the GNU Radio component ports; they should not really install anything anyway. All you need is "gnuradio" or "gnuradio-devel" or "gnuradio-next"; I generally recommend the -devel version since it includes bug fixes from the current release, but the choice is yours. I include -next since some developers are into that branch instead, to test their already-existing GR scripts out with what is expected to be the next major release.

GRC was renamed "gnuradio-companion" as an executable (Python script) a couple years ago. Likewise, there is no "gnuradio" executable.

If I were you, I'd go back to the version with the GTK issues and see if that one can be made to work. Basically: Uninstall any "gnuradio" port that's installed right now (force uninstall it). Then do "sudo port install gnuradio +full +python27" and see if "gnuradio-companion" then works. If not, then please create a new ticket with that specific issue as this ticket's issue has been resolved (I'll check in the changes later today).

comment:14 Changed 12 years ago by mcquiggi (Kevin McQuiggin)

Thanks. +full is not recognized:

Kevins-MacBook-Air:~ mcquiggi$ sudo port -f uninstall gnuradio
Kevins-MacBook-Air:~ mcquiggi$ sudo port installed | grep gnu
Kevins-MacBook-Air:~ mcquiggi$ sudo port install gnuradio +full +python27
Error: Unable to open port: Error evaluating variants
Kevins-MacBook-Air:~ mcquiggi$ 

comment:15 Changed 12 years ago by mcquiggi (Kevin McQuiggin)

Interestingly, "sudo port variants gnuradio" does show a "full" variant:

Kevins-MacBook-Air:~ mcquiggi$ sudo port variants gnuradio
gnuradio has the variants:
   debug: Enable debug binaries
   docs: Install GNU Radio documentation
   full: Enable all variants except python
     * requires docs grc jack portaudio qtgui sdl swig uhd volk wavelet wxgui
   grc: Install GNU Radio Companion
   jack: Install GNU Radio with support for JACK audio
   orc: Install GNU Radio Volk with support for ORC
   portaudio: Install GNU Radio with support for portaudio audio
   python26: Build GNU Radio using Python 2.6
     * conflicts with python27
   python27: Build GNU Radio using Python 2.7
     * conflicts with python26
   qtgui: Install GNU Radio with support for Qt GUI
   sdl: Install GNU Radio with support for SDL-based video
   swig: Install GNU Radio with support for SWIG-base Python bindings
   uhd: Install GNU Radio with support for UHD
   universal: Build for multiple architectures
   wavelet: Install GNU Radio Wavelet component
   wxgui: Install GNU Radio with support for Wx GUI
Kevins-MacBook-Air:~ mcquiggi$ 

comment:16 Changed 12 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

I just checked in r100089, which fixes the issue of this ticket; so, I'm closing this ticket as fixed.

I'm not sure what's going on with your install. I'd recommend doing:

sudo port clean gnuradio
sudo port selfupdate
sudo port install gnuradio +full

and see if that works. The variant +python27 is now the default as of this revision. If this does not work, please open a new ticket and we'll work on it there.

comment:17 Changed 12 years ago by jmroot (Joshua Root)

There's a circular dependency in the variants somewhere. Even port -d info gnuradio +full +python27 fails.

comment:18 Changed 12 years ago by jmroot (Joshua Root)

Actually, it was that +full required +volk, which doesn't exist; this is #37150.

comment:19 Changed 12 years ago by michaelld (Michael Dickens)

After r37150, the gnuradio ports now work again for me. There are still some dependency issues I haven't worked out, but they are getting better and seem to work for many users (which is better than the original Portfile :).

Note: See TracTickets for help on using tickets.