Hi,
Thanks for putting effort in getting this package out.
I faced a couple of issues, wanted to report - sorry for consolidating all in a single bug report.
My environment:
Ubuntu, gcc 4.4.3
ImageMagick 6.5.7-8
First issue: ImageMagick is not listed as a dependency anywhere (in INSTALL or README).. note that the ImageMagick dev package is required, not just the binaries. These were not installed by default for me atleast.
Downloading and building the package out of the box gives the rather cryptic error message:
$ cd fvs-x.y.z
$ ./configure
configure: error: cannot find sources (fvs) in . or ..
Doing this fixes the issue:
$ ln -s . fvs
Second issue: the include files for ImageMagick were not in search path. This is ok.. I did:
$ export CFLAGS "-I/path/to/imagemagick"
$ ./configure
...
configure: checking for ImageMagick support ......
checking magick/api.h usability... yes
checking magick/api.h presence... no
configure: WARNING: magick/api.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: magick/api.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for magick/api.h... no
checking for ExportImagePixels in -lMagick... yes
checking for ImportImagePixels in -lMagick... yes
checking if ImageMagick package is complete... no -- maybe should a newer version of ImageMagick be installed
CFLAGS is not passed as a compile variable during the "detect" api.h phase, CPPFLAGS is used instead. So doing the following:
$ export CPPFLAGS "-I/path/to/imagemagick"
allowed me to move ahead.
Last issue: The names of the ImageMagick libraries in my distribution are libMagickCore.a. Configure uses -lMagick, which I modified to -lMagickCore. Not sure if this is due to a version difference in ImageMagick.
Regards,
Karthick