Page 1 of 1

Build broken for Ubuntu-12.10 + ImageMagick-6.8.3-7

Posted: 2013-03-08T06:38:18-07:00
by dfavor
The file magick/magick-config.h is missing.

Suggestions of correct fix?

net1# pwd
/smartbuild/work/ImageMagick-6.8.3-7
net1# make distclean >/dev/null 2>&1
net1# ./configure --prefix=/runtime > build.log
net1# uname -a
Linux net1.bizcooker.com 3.5.0-25-generic #39-Ubuntu SMP Mon Feb 25 18:26:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
net1# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
net1# make
make all-recursive
make[1]: Entering directory `/smartbuild/work/ImageMagick-6.8.3-7'
Making all in .
make[2]: Entering directory `/smartbuild/work/ImageMagick-6.8.3-7'
CC magick/magick_libMagickCore_6_Q16_la-accelerate.lo
In file included from magick/accelerate.c:52:0:
./magick/studio.h:36:36: fatal error: magick/magick-config.h: No such file or directory
compilation terminated.
make[2]: *** [magick/magick_libMagickCore_6_Q16_la-accelerate.lo] Error 1
make[2]: Leaving directory `/smartbuild/work/ImageMagick-6.8.3-7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/smartbuild/work/ImageMagick-6.8.3-7'
make: *** [all] Error 2

Re: Build broken for Ubuntu-12.10 + ImageMagick-6.8.3-7

Posted: 2013-03-08T06:44:54-07:00
by dfavor
In the system version of magick/magick-config.h is generated by the configure script...

And grep magick-config configure produces nothing.

Re: Build broken for Ubuntu-12.10 + ImageMagick-6.8.3-7

Posted: 2013-03-08T06:59:18-07:00
by dfavor
Hum... ImageMagick-6.8.1-9 contains a copy of ./magick/magick-config.h which is no longer auto generated.

Doing a cp ImageMagick-6.8.1-9/magick/magick-config.h ImageMagick-6.8.3-7/magick/. allows a clean build.

Maybe ./magick/magick-config.h was simply omitted from the ImageMagick-6.8.3-7 distro...

Re: Build broken for Ubuntu-12.10 + ImageMagick-6.8.3-7

Posted: 2013-03-08T07:23:14-07:00
by dfavor
Version 6.8.3-3 also contains this file.

Re: Build broken for Ubuntu-12.10 + ImageMagick-6.8.3-7

Posted: 2013-03-08T07:24:44-07:00
by dfavor
Entire test suite passes using the previous release header file.

Re: Build broken for Ubuntu-12.10 + ImageMagick-6.8.3-7

Posted: 2013-03-08T11:55:37-07:00
by dfavor
Looks to be fixed in ImageMagick-6.8.3-8 which released today.

Thanks!