tuxd3v / ats

91 stars 12 forks source link

Doesn't work with Debian Bookworm, install spath changed #35

Open hemertje opened 1 year ago

hemertje commented 1 year ago

Doesn't work with Debian Bookworm, path changed

echo -e '[url "https://github.com/"]\n insteadOf = "git://github.com/"' >> ~/.gitconfig

`Receiving objects: 100% (2159/2159), 740.61 KiB | 6.86 MiB/s, done. Resolving deltas: 100% (1293/1293), done.

ats master-0 depends on lua >= 5.3 (5.3-1 provided by VM) Warning: variable CFLAGS was not passed in build_variables PLATFORM = linux OS = 64Bits ARCH = armv8-a+crc TUNE = cortex-a72.cortex-a53 gcc -c -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fPIC -Wall -Werror -O3 -g -I/usr/include/lua5.3 -o debug.o src/debug.c gcc -c -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fPIC -Wall -Werror -O3 -g -I/usr/include/lua5.3 -o ats.o src/ats.c gcc -shared -Wl,-soname,ats.so.0 -llua5.3 -o ats.so.0.9 debug.o ats.o Install Method: LuaRocks .. Makefile:106: * ATS Binary Folder: /usr/local/lib/luarocks/rocks/ats/master-0, NOT Detected**, ABORTING... Stop.

Error: Build error: Failed installing. root@DietPi:~#`

ATS Binary Folder: /usr/local/lib/luarocks/rocks/ats/master-0, **NOT Detected**

the path changed in Debian Bookworm

root@DietPi:~# mkdir /usr/local/lib/luarocks/rocks/ats/master-0 mkdir: cannot create directory ‘/usr/local/lib/luarocks/rocks/ats/master-0’: No such file or directory root@DietPi:~# cd / root@DietPi:/# ls usr bin games include lib libexec local sbin share src root@DietPi:/# cd .. root@DietPi:/# ls bin boot dev etc home lib lost+found media mnt opt proc root run sbin srv sys tmp usr var root@DietPi:/# mkdir /usr/local/lib/luarocks/rocks/ats/master-0 mkdir: cannot create directory ‘/usr/local/lib/luarocks/rocks/ats/master-0’: No such file or directory root@DietPi:/# cd usr root@DietPi:/usr# cd local root@DietPi:/usr/local# cd lib root@DietPi:/usr/local/lib# ls luarocks python3.11 root@DietPi:/usr/local/lib# cd luarocks/ root@DietPi:/usr/local/lib/luarocks# ls rocks-5.3

it differs from

/usr/local/lib/luarocks/rocks/ats/master-0

/usr/local/lib/luarocks/rocks-5.3/ from here there are no more directories

pushpinderbal commented 1 year ago

ln -s rocks-5.3 /usr/local/lib/luarocks/rocks may work as a temporary fix.