Installation output for iup [fail]

Installation time: 8s

'/usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/chicken-install' -v 2>&1
checking iup ...
checking platform for `iup'
checking dependencies for `iup'
install order:
("iup")
building iup
running script /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup/iup.build.sh
executing: "sh /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup/iup.build.sh"
   /usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup -O2 -d1 iup-dynamic.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup/iup-dynamic.so
   /usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/csc -regenerate-import-libraries -setup-mode -static -I /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup -emit-link-file /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup/iup-dynamic.link -host -D compiling-extension -c -unit iup-dynamic -D compiling-static-extension -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup -O2 -d1 iup-dynamic.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup/iup-dynamic.static.o
   /usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/csc -setup-mode -s -host -I /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup -O2 -d0 iup-dynamic.import.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup/iup-dynamic.import.so
   /usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup -O2 -d1 -L -lffi -L -liup -L -liupim -L -liupimglib -L -liupcontrols -L -liupgl -L -liupglcontrols -L -liup_plot -L -liup_mglplot -L -liup_scintilla -L -liupweb iup.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup/iup.so
/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup/iup.c:14:10: fatal error: 'im.h' file not found
#include <im.h>
         ^~~~~~
1 error generated.

Error: shell command terminated with non-zero exit status 256: 'clang' '/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup/iup.c' -o '/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup/iup.o' -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -I/usr/local/include/db6 -I/usr/local/include -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup -I/usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/include/chicken -I'/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/include/chicken'

Error: shell command terminated with nonzero exit code
256
"sh /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/iup/iup.build.sh"