Hi creduce-bugs,
I tried to use creduce on a new machine and I got a problem about some prereqs not found. After investigation, I found out that the check_prereqs functions of pass_clang and pass_clex were comparing $FindBin::Bin with bindir to find out whether the executable is in the installation directory or the source directory. The problem is that in my current configuration, bindir (which I gave at installation time) goes through a symbolic link and $FindBin::Bin is a canonical path. As a consequence, creduce thinks the executable is in the source directory and cannot find some other executables.
Using Cwd::realpath(bindir) instead of bindir in the comparisons works for me (a patch is attached). I suspect that storing bindir correctly in
creduce_config.pm from start should also work, but I don't know perl and configure enough to test it.
Anyway, thanks for this great tool!
Julien