lichray / nvi2

A multibyte fork of the nvi editor for BSD
Other
144 stars 34 forks source link

does not build on debian 12 (bookworm) #126

Closed spagoveanu closed 9 months ago

spagoveanu commented 10 months ago

cmake -G "Ninja Multi-Config" -B build && ninja -C build (as described in INSTALL.md) fails with a ton of errors about recno_t not being defined.

Just typedef'ing that to u_int32_t, including db_185.h, installing libdb1-compat doesn't get me very far either. The most I could get from it (after manually modifying the generated *.ninja files) was to get a binary that crashes with

Berkeley DB: DB 1.85's recno bfname field is not supported.
[repeated ad-nauseam]
Segmentation fault

Compiling and running either nvi-1.79, nvi-1.81.6 (or my heavily modified version of the latter) works fine (after a couple of configure tweaks).