#36453 closed defect (fixed)
gnuradio-core: error: unknown directive .version "01.01"
Reported by: | oolaluwe@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | clang | Cc: | edrisedo@…, ryandesign (Ryan Carsten Schmidt) |
Port: | gnuradio-core |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I tried to install gnuradio and i got the following errors:
Error: org.macports.build for port gnuradio-core returned: command execution failed Error: Failed to install gnuradio-core Error: The following dependencies were not installed: gnuradio-atsc gnuradio-core gnuradio-audio-jack jack libsamplerate libsndfile flac gnuradio-audio-osx gnuradio-audio-portaudio portaudio gnuradio-companion gnuradio-wxgui py26-opengl py26-opengl-accelerate py26-pil py26-tkinter gnuradio-cvsd-vocoder gnuradio-examples gnuradio-gpio usrp sdcc29 gnuradio-gsm-fr-vocoder gnuradio-msdd6000 gnuradio-noaa gnuradio-pager gnuradio-qtgui py26-pyqt4 py26-sip qt4-mac libmng qwtplot3d gnuradio-radar-mono gnuradio-radio-astronomy gnuradio-sounder gnuradio-trellis gnuradio-usrp gnuradio-utils gnuradio-video-sdl libsdl
Attachments (1)
Change History (9)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | oolaluwe@… removed |
---|---|
Description: | modified (diff) |
Milestone: | MacPorts Future |
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to michaelld@… |
---|---|
Port: | gnuradio-core added |
Summary: | Error: The following dependencies were not installed → gnuradio-core: build failed |
Changed 12 years ago by oolaluwe@…
comment:3 follow-up: 4 Changed 12 years ago by michaelld (Michael Dickens)
The actual error is found in the logfile:
:info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H [snip] -pipe -O2 -arch x86_64 -MT float_dotprod_3dnow.lo -MD -MP -MF .deps/float_dotprod_3dnow.Tpo -c float_dotprod_3dnow.S -fno-common -DPIC -o .libs/float_dotprod_3dnow.o :info:build float_dotprod_3dnow.Sfloat_dotprod_sse.S::57:257:2: error: unknown directive: error: unknown directive :info:build .version "01.01" :info:build ^ :info:build :info:build .version "01.01" :info:build ^ :info:build make[6]: *** [float_dotprod_3dnow.lo] Error 1
Older versions of GNU Radio do not compile with clang; this issue has been fixed only as of the latest release (3.6.2). I you require GNU Radio and this older version is OK, then "sudo port clean ..." your GNU Radio port installs and try again appending "configure.compiler=apple-gcc-4.2" (or, some other compiler that is not clang) to the "sudo port install ..." command line.
I am really hoping to update the GNU Radio ports to the latest release in the coming couple of weeks, now that pretty much everything has calmed down with qt4-mac, PyQt4, and octave-devel. Doing this update has been on my queue for a long time, and represents most of the open tickets that require my attention.
comment:4 follow-up: 5 Changed 12 years ago by oolaluwe@…
I am not used to command line interface that much. Could you please break it down as if your are talking to a novice. I think a step by procedure will work better for me please. Appreciate your effort!!!
Replying to michaelld@…:
The actual error is found in the logfile:
:info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H [snip] -pipe -O2 -arch x86_64 -MT float_dotprod_3dnow.lo -MD -MP -MF .deps/float_dotprod_3dnow.Tpo -c float_dotprod_3dnow.S -fno-common -DPIC -o .libs/float_dotprod_3dnow.o :info:build float_dotprod_3dnow.Sfloat_dotprod_sse.S::57:257:2: error: unknown directive: error: unknown directive :info:build .version "01.01" :info:build ^ :info:build :info:build .version "01.01" :info:build ^ :info:build make[6]: *** [float_dotprod_3dnow.lo] Error 1Older versions of GNU Radio do not compile with clang; this issue has been fixed only as of the latest release (3.6.2). I you require GNU Radio and this older version is OK, then "sudo port clean ..." your GNU Radio port installs and try again appending "configure.compiler=apple-gcc-4.2" (or, some other compiler that is not clang) to the "sudo port install ..." command line.
I am really hoping to update the GNU Radio ports to the latest release in the coming couple of weeks, now that pretty much everything has calmed down with qt4-mac, PyQt4, and octave-devel. Doing this update has been on my queue for a long time, and represents most of the open tickets that require my attention.
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | edrisedo@… added |
---|---|
Keywords: | clang added |
Summary: | gnuradio-core: build failed → gnuradio-core: error: unknown directive .version "01.01" |
Has duplicate #36593.
comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:7 Changed 12 years ago by edrisedo@…
First my full path to /gnuradio-core is: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/science/gnuradio-core
is this right?
How do I get write permissions for ./gnuradio-core/Portfile and ./gnuradio-core/files/patch-configure.diff
Thanks for your help
comment:8 Changed 12 years ago by michaelld (Michael Dickens)
If what you're trying to do is just update to this new checkin, you should do
sudo port clean gnuradio-core sudo port selfupdate sudo port install gnuradio-core
If you want to edit the Portfile and/or patches for your own purposes, then you'll need admin access so-as to "sudo chmod" or "sudo edit" them. You can get to the Portfile's directory via (e.g.; I tend to use "pushd" instead of "cd" so that I can get back to where I was easily [via "popd"]):
cd `port dir gnuradio-core`
Please attach the main.log file.