Still unable to run 4.18 on Rpi5

I tried everything in this thread, and keep running into an error that I haven’t seen here - a apparenyl a missing build directory.

Here is a brief summary - I can happily supply more detail

Having checked that dkms is installed, I tried the steps below as listed by rogojin in this forum, but adapted to my
uname -r 6.6.47+rpt-rpi-v8

1/ rm /lib/modules/6.6.47+rpt-rpi-v8/kernel/drivers/media/pci/hailo/hailo_pci.ko.xz
2/ dpkg -i hailort-pcie-driver_4.18.0_all.deb
3/ dpkg -i hailort_4.18.0_arm64.deb
4/ reboot
5/ modprobe -r hailo_pci
6/ modprobe hailo_pci force_desc_page_size=4096

2/ produced the error (extracted from /var/log/hailort-pcie-driver.deb.log

  ######### Fri 27 Sep 2024 15:44:56 AEST #########
  /share/opt/hailo/linux/pcie /
  make[1]: *** /lib/modules/6.6.47+rpt-rpi-v8//build: No such file or directory.  Stop.
  make: *** [Makefile:100: clean] Error 2
  Failed. Exited with status 2. See /var/log/hailort-pcie-driver.deb.log

the same error appears if I try (as suggested by [aleksey.potapenko)

`sudo apt install dkms`

which seems to re-trigger the attempt to install pcie