Ordinary builders self leveling compound. Cheap as chips.
Make up a box the size of the lathe cabinet – level it as accurately as you can with a spirit level across both diagonals. Coat floor with Evostik. fill box with self levelling compound.
Finally mount lathe to floor and then shim in the usual way.
It won’t produce a level to engineering limits, but it does keep the shimming to a minimum.
The other way that worked well on a very uneven floor was to buy from Fords carpets on the Lynx estate a very hard rubber lino type tile/mat. Cut that up. Its supposed to be incompressible, but it will squeeze a bit, so one can tighten down to a level with rawlbolts. Thats worked well under the big mill, and provides good damping, so that was a success. £5!. (May have a spare one left if you want).
Or, go to DHS tool on the Lynx estate and buy a square of that mounting compound for machine tools. Its like a very dense cork type mat. Again, you can cut it up, and it will provide damping, and its squeezable under bolting pressure..