Author Topic: trx-audio build on Unix  (Read 297 times)

trx-audio build on Unix
« on: January 31, 2020, 07:14:19 am »
I'm having  problems building trx-audio. 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..
Code: [Select]
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
Code: [Select]
make install
install -d /usr/local/bin
install rx tx /usr/local/bin
tried a couple  of hacks ..
Code: [Select]
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




Re: trx-audio build on Unix
« Reply #1 on: January 31, 2020, 09:28:34 am »
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.
"Yes please" said Squirrel "biscuits are our favourite things."

Re: trx-audio build on Unix
« Reply #2 on: January 31, 2020, 01:26:12 pm »
Thanks  that  moved  me  on ...
had to also install  the libc6-dev package....
now stuck at ortp - Trx-audio had better be good....
Code: [Select]
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]


Re: trx-audio build on Unix
« Reply #3 on: January 31, 2020, 01:40:53 pm »
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
"Yes please" said Squirrel "biscuits are our favourite things."