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

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
dfavor
Posts: 23
Joined: 2013-02-15T05:57:40-07:00
Authentication code: 6789

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

Post 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
dfavor
Posts: 23
Joined: 2013-02-15T05:57:40-07:00
Authentication code: 6789

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

Post by dfavor »

In the system version of magick/magick-config.h is generated by the configure script...

And grep magick-config configure produces nothing.
dfavor
Posts: 23
Joined: 2013-02-15T05:57:40-07:00
Authentication code: 6789

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

Post 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...
dfavor
Posts: 23
Joined: 2013-02-15T05:57:40-07:00
Authentication code: 6789

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

Post by dfavor »

Version 6.8.3-3 also contains this file.
dfavor
Posts: 23
Joined: 2013-02-15T05:57:40-07:00
Authentication code: 6789

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

Post by dfavor »

Entire test suite passes using the previous release header file.
dfavor
Posts: 23
Joined: 2013-02-15T05:57:40-07:00
Authentication code: 6789

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

Post by dfavor »

Looks to be fixed in ImageMagick-6.8.3-8 which released today.

Thanks!
Post Reply