Syntax error—Redirection unexpected appears.

Asked 2 years ago, Updated 2 years ago, 35 views

Install GNU Radio on Ubuntu and
sudo wgethttp://www.sbrac.org/files/build-gnuradio
sudo chmoda+x./build-gnuradio
Enter sudo./build-gnuradio to the terminal and
./build-gnuradio:1:./build-gnuradio:cannot open!DOCTYPE:No such file
./build-gnuradio:1:./build-gnuradio:HTML:not found
./build-gnuradio:2:./build-gnuradio:cannot open html:No such file
: not foundradio:3:./build-gnuradio:
./build-gnuradio:4:./build-gnuradio:cannot open META:No such file
./build-gnuradio:5:./build-gnuradio:cannot open META:No such file
./build-gnuradio:5:./build-gnuradio: http-equiv=Content-Type:not found
./build-gnuradio:6:./build-gnuradio:cannot open META:No such file
./build-gnuradio:6:./build-gnuradio: http-equiv=Content-Style-Type:not found
./build-gnuradio:7:./build-gnuradio:cannot open title:No such file
: not foundradio:8:./build-gnuradio:NW �F �E �V �X � �@O �C �
./build-gnuradio:9:./build-gnuradio:cannot open/title:No such file
./build-gnuradio:10:./build-gnuradio:cannot open body:No such file
./build-gnuradio:11:./build-gnuradio:cannot open center:No such file
./build-gnuradio:12:./build-gnuradio:cannot open img:No such file
./build-gnuradio:13:./build-gnuradio:cannot open h1:No such file
./build-gnuradio:14:./build-gnuradio:cannot open TABLE:No such file
./build-gnuradio:15:./build-gnuradio:cannot openTBODY:No such file
./build-gnuradio:16:./build-gnuradio:cannot open TR:No such file
./build-gnuradio:17:./build-gnuradio:Syntax error:redirection unexpected

Finally, Syntax error:redirection unexpected appears.
The characters are garbled and there are no files.
I'd like to include the GNU Radio package, but I don't know what to do.
If you don't mind, please let me know.

ubuntu

2022-09-30 19:45

2 Answers

Based on the error message, the ./build-gnuradio file may be HTML. We recommend that you check the contents of the ./build-gnuradio file.

By the way, if you run build-gnuradio on Ubuntu 15.04, you will see the following:

$sudo./build-gnuradio
Please run this script as an original user
It will acquire root privileges as it needs them via "sudo".


2022-09-30 19:45

GNU Radio should be in Ubuntu package, so sudo apt-get install gnuradio is OK.You don't have to build it yourself.


2022-09-30 19:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.