F5OEO/rpitx

Wont install on latest Debian Bookworm

roda37 opened this issue · 1 comments

`Install rpitx - some package need internet connection -
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Get:4 https://pkgs.tailscale.com/stable/raspbian bookworm InRelease
Fetched 6563 B in 4s (1579 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libsndfile1-dev is already the newest version (1.2.0-1).
git is already the newest version (1:2.39.2-1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
imagemagick is already the newest version (8:6.9.11.60+dfsg-1.6).
libfftw3-dev is already the newest version (3.3.10-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
rtl-sdr is already the newest version (0.6.0-4).
buffer is already the newest version (1.19-12+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
fatal: destination path 'csdr' already exists and is not an empty directory.
install -m 0755 libcsdr.so.0.15 /usr/lib
install -m 0755 csdr /usr/bin
install -m 0755 csdr-fm /usr/bin
install -m 0755 nmux /usr/bin
#-install -m 0755 ddcd /usr/bin
fatal: destination path 'librpitx' already exists and is not an empty directory.
g++ -fPIC -shared -o librpitx.so mailbox.o raspberry_pi_revision.o rpi.o amdmasync.o atv.o dma.o dsp.o fmdmasync.o fskburst.o gpio.o iqdmasync.o ngfmdmasync.o ookburst.o phasedmasync.o serialdmasync.o util.o -lm -lrt -lpthread -L/opt/vc/lib -lbcm_host -fPIC
/usr/bin/ld: cannot open output file librpitx.so: Permission denied
collect2: error: ld returned 1 exit status
make: *** [Makefile:27: librpitx.so] Error 1
fatal: destination path 'ft8_lib' already exists and is not an empty directory.
make: Nothing to be done for 'all'.
ar rc libft8.a ft8/constants.o ft8/encode.o ft8/pack.o ft8/text.o common/wave.o
install libft8.a /usr/lib/libft8.a
g++ -std=c++14 -I. -c -o pift8.o pift8.cpp
pift8.cpp:13:10: fatal error: librpitx/librpitx.h: No such file or directory
13 | #include <librpitx/librpitx.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [: pift8.o] Error 1
g++ -std=c++11 -Wall -g -O2 -Wno-unused-variable -o ../pisstv sstv/pisstv.cpp -L/opt/vc/lib -lrpitx -lm -lrt -lpthread
sstv/pisstv.cpp:18:10: fatal error: librpitx/librpitx.h: No such file or directory
18 | #include <librpitx/librpitx.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:17: ../pisstv] Error 1
g++ -std=c++11 -Wall -g -O2 -Wno-unused-variable -o ../pisstv sstv/pisstv.cpp -L/opt/vc/lib -lrpitx -lm -lrt -lpthread
sstv/pisstv.cpp:18:10: fatal error: librpitx/librpitx.h: No such file or directory
18 | #include <librpitx/librpitx.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:17: ../pisstv] Error 1

In order to run properly, rpitx need to modify /boot/config.txt. Are you sure (y/n)
`

You need to compile librpitx first, it should be in the src dir (src/librpitx), go to that dir, here are quick instructions:

  • go to the dir with rpitx
  • type cd /src/librpitx/src
  • type make
  • type sudo make install