besport / ocaml-imagemagick

zlib License
4 stars 7 forks source link

include file: "magick-baseconfig.h", (not-found) #7

Open fccm2 opened 2 months ago

fccm2 commented 2 months ago

include file missing: "magick/magick-baseconfig.h", with image-magick version: "6.9.11".

$ grep -e '^NAME=' -e 'VERSION_ID' /etc/os-release

NAME="Debian GNU/Linux"
VERSION_ID="11"
fccm2 commented 2 months ago

The missing file "magick-baseconfig.h", is still there in the sources of IM version: "7.1.1-36", if I copy it in "/usr/include/ImageMagick-6/magick/", a minimalist test file with only: "MagickCoreGenesis()", does compile, and run, without any segfault.

fccm2 commented 2 weeks ago

I finally copied this missing file from the sources of the same version than the version installed in the system, and everything seems to work fine: https://github.com/fccm2/mgk-gen

But maybe chrome-os/crostini-debian are auto-update and rolling-release, then if the lib is updated, i don't know what happens to this "fixed" element. Now the debian version seems to be 12 "book-worm". But someone at im/discuss told me that I should use the last version of the lib. but i don't remember how to install a second version of a lib in /tmp for example and set the environment variables correctly. (to be continued)