Opened 15 years ago

Last modified 15 years ago

#24032 closed defect

gnuradio 3.2.2+python25 install failure — at Version 4

Reported by: jeremy.holleman@… Owned by: michaelld@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: gnuradio

Description (last modified by mf2k (Frank Schima))

Intel MacBook Pro running OS X 10.5.8
XCode version 3.1.2
MacPorts 1.8.2


When attempting to install the python2.5 variant of gnuradio, the installation aborts with an error. It seems to be failing in the configure phase of gnuradio-wxgui. If I attempt to install gnuradio-wxgui+python25 directly, the result looks similar. Some components, including gnuradio-core, are installed, and I am able to run the dialtone.py example.

I had initially tried to install the default python26 variant, but ran into problems related to libusb, and switched to the python25 version based on the information in ticket #18104. I attempted to uninstall all of the python26 variants, but it is possible that I missed some.

One line near the end says that USRP2 is only supported on linux, but presumably, but I cannot tell whether that is actually the source of the problem.

I've pasted an edited version of the end of the output of the install command below. I can provide the complete output (with -d flag) if it would be helpful.

Thanks, Jeremy


### My added comments are marked with this ### at the beginning of the line
### Command line: "sudo port -d install gnuradio +python25 >& gr_install_dump.txt"
### many lines omitted 
DEBUG: Requested variant darwin is not provided by port gnuradio-wxgui.
DEBUG: Requested variant i386 is not provided by port gnuradio-wxgui.
DEBUG: Requested variant macosx is not provided by port gnuradio-wxgui.
DEBUG: Executing variant python25 provides python25
### skipping some lines ...
--->  Configuring gnuradio-wxgui
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing org.macports.configure (gnuradio-wxgui)
DEBUG: Environment: CFLAGS='-O2 -arch i386'
CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch i386'
MACOSX_DEPLOYMENT_TARGET='10.5' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2
-m32' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2 -m32'
OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c'
PYTHON='/opt/local/bin/python2.5' OBJCFLAGS='-O2 -arch i386'
FFLAGS='-O2 -m32' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.
org_release_ports_science_gnuradio-wxgui/work/gnuradio-3.2.2"
&& ./configure --prefix=/opt/local --disable-all-components
--with-omnithread --with-gruel --with-gnuradio-core --enable-gr-wxgui
--disable-doxygen --disable-docs'
checking build system type... i386-apple-darwin9.8.0
###  lots of "checking <something>" lines omitted
Not building component gcell
### Also Not building component pmt, mblock, usrp
checking whether host_os is linux*... no
### This next line seems suspicious.
configure: USRP2 currently requires Linux host OS, not found
Not building component usrp2.
### Also not building gr-usrp, gr-usrp2, gr-gcell, gr-audio-alsa,
    gr-audio-jack, gr-audio-oss, gr-audio-osx, gr-audio-portaudio,
    gr-audio-windows, gr-cvsd-vocoder, gr-gpio, gr-gsm-fr-vocoder,
    gr-pager, gr-radar-mono, gr-radio-astronomy, gr-trellis,
    gr-video-sdl
checking for Python wxWidgets wrappers >= 2.8... no
checking for Numeric Python extensions... yes
configure: error: Component gr-wxgui has errors; stopping.
Error: Target org.macports.configure returned: configure failure:
shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-wxgui/work/gnuradio-3.2.2"
&& ./configure --prefix=/opt/local --disable-all-components
--with-omnithread --with-gruel --with-gnuradio-core --enable-gr-wxgui
--disable-doxygen --disable-docs " returned error 1
DEBUG: Backtrace: configure failure: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-wxgui/work/gnuradio-3.2.2"
&& ./configure --prefix=/opt/local --disable-all-components
--with-omnithread --with-gruel --with-gnuradio-core --enable-gr-wxgui
--disable-doxygen --disable-docs " returned error 1
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for gnuradio-wxgui):
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
Error: The following dependencies failed to build: gnuradio-grc
gnuradio-wxgui gnuradio-gsm-fr-vocoder gnuradio-pager
gnuradio-radar-mono gnuradio-radio-astronomy gnuradio-sounder
gnuradio-trellis gnuradio-usrp gnuradio-utils gnuradio-video-sdl
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>


Change History (5)

comment:1 Changed 15 years ago by michaelld (Michael Dickens)

Owner: changed from macports-tickets@… to michaelld@…

From the 'configure' output, wxPython isn't being found
("checking for Python wxWidgets wrappers >= 2.8... no").
What does "port installed | grep wx" return for you in terms of "py25" or "py26"?

comment:2 in reply to:  1 Changed 15 years ago by jeremy.holleman@…

Replying to michaelld@…:

From the 'configure' output, wxPython isn't being found
("checking for Python wxWidgets wrappers >= 2.8... no").
What does "port installed | grep wx" return for you in terms of "py25" or "py26"?

Here's what I get.

jhollema@lap3>port installed | grep -i wx
  py25-wxpython @2.8.9.1_0 (active)
  wxWidgets @2.8.9_1 (active)

comment:3 Changed 15 years ago by michaelld (Michael Dickens)

Interesting; not what I expected. How about the results of the following (the second might return nothing):

python -V
python -c "import wx"
which python

also, can you attach the 'config.log' file generated by configure;
should be in the directory (IIRC): port dir gnuradio-wxgui/work/gnuradio-3.2.2/

comment:4 Changed 15 years ago by mf2k (Frank Schima)

Cc: michaelld@… removed
Description: modified (diff)
Keywords: gnuradio wxgui removed

Changed 15 years ago by jeremy.holleman@…

Attachment: config.log added

config.log from gnuradio-3.2.2

Note: See TracTickets for help on using tickets.