Yet Another Cycling Forum
General Category => The Knowledge => Ctrl-Alt-Del => Topic started by: aidan.f on 31 January, 2020, 07:14:19 am
-
I'm having problems building trx-audio. http://www.pogo.org.uk/~mark/trx/ (http://www.pogo.org.uk/~mark/trx/)
Looks like a useful app and of coruse it's going onna couple of R.Pi's
Got this far but them my know how runs out..
2020-01-31 07:03:23 (14.1 MB/s) - ‘trx-0.5.tar.gz.2’ saved [11935/11935]
root@DietPi:~# tar -xvf trx-0.5.tar.gz
trx-0.5/
trx-0.5/.gitignore
trx-0.5/COPYING
trx-0.5/Makefile
trx-0.5/README
trx-0.5/defaults.h
trx-0.5/device.c
trx-0.5/device.h
trx-0.5/notice.h
trx-0.5/rx.c
trx-0.5/sched.c
trx-0.5/sched.h
trx-0.5/tx.c
root@DietPi:~#
I searched for guidance suggestion is these commands
make install
install -d /usr/local/bin
install rx tx /usr/local/bin
tried a couple of hacks ..
root@DietPi:~# make install
make: *** No rule to make target 'install'. Stop.
root@DietPi:~# cd trx-0.5/
root@DietPi:~/trx-0.5# make install
cc -MMD -Wall -c -o rx.o rx.c
make: cc: Command not found
make: *** [<builtin>: rx.o] Error 127
root@DietPi:~/trx-0.5#
Would appreciate guidance from those YACF members who know about this sort of .nix stuff
-
You're rpi doesn't have the C compiler installed.
To install that, something along the lines of:-
sudo apt-get install gcc
and answer Y along the way (it'll need to download a load of packages) and then try just "make" inside the "trx-0.5" directory.
-
Thanks that moved me on ...
had to also install the libc6-dev package....
now stuck at ortp - Trx-audio had better be good....
root@DietPi:~/ortp-1.0.2-0# ls
AUTHORS COPYING NEWS oRTP.pws
autogen.sh debian ORTPConfig.cmake.in ortp.spec
build docs ortp-config.h.cmake ortp.spec.in
ChangeLog include ortp.doxygen.in pkg.list
CMakeLists.txt m4 ortp.pc.in README.md
configure.ac Makefile.am oRTP.prj src
root@DietPi:~/ortp-1.0.2-0#
rl]
-
inside src if there's no makefile they'll probably be a configure script, run:-
configure or ./configure
and then that will create the makefile for you, so you then run make