Config Error for 7.0.8.45

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
eiichi
Posts: 19
Joined: 2017-02-08T19:22:14-07:00
Authentication code: 1151

Config Error for 7.0.8.45

Post by eiichi »

Just for a reference...

Case 1.
I configured:
--------------
export PKG_CONFIG_PATH="/usr/local/libpng/lib/pkgconfig/:/usr/local/zlib/lib/pkgconfig/"
./configure --prefix=/usr/local/magick --with-png

and configure fails:
--------------
config.status: error: in `/Users/eiichi/Desktop/ImageMagick-7.0.8-45':
config.status: error: Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. Try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).
See `config.log' for more details


Case 2.
I configured adding --disable-dependency-tracking:
--------------
export PKG_CONFIG_PATH="/usr/local/libpng/lib/pkgconfig/:/usr/local/zlib/lib/pkgconfig/"
./configure --prefix=/usr/local/magick --with-png --disable-dependency-tracking

This time configure succeeds but make fails:
--------------
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
make[1]: config/install-sh: No such file or directory
make[1]: *** [utilities/.dirstamp] Error 1
make: *** [all] Error 2
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Config Error for 7.0.8.45

Post by fmw42 »

I split this post from mine. This one is about a configure error. Mine is about a make error.

Please identify your platform/OS
eiichi
Posts: 19
Joined: 2017-02-08T19:22:14-07:00
Authentication code: 1151

Re: Config Error for 7.0.8.45

Post by eiichi »

sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.6
BuildVersion: 17G7024


uname -a
Darwin JSBach.local 17.7.0 Darwin Kernel Version 17.7.0: Wed Apr 24 21:17:24 PDT 2019; root:xnu-4570.71.45~1/RELEASE_X86_64 x86_64


pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 10.1.0.0.1.1539992718
eiichi
Posts: 19
Joined: 2017-02-08T19:22:14-07:00
Authentication code: 1151

Re: Config Error for 7.0.8.45

Post by eiichi »

See also "7.0.8-45 fails to configure on macOS" (https://github.com/ImageMagick/ImageMagick/issues/1572).
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Config Error for 7.0.8.45

Post by magick »

We recently updated to the latest autoconf/automake configuration files and something broke. The culprit is likely in automake. Until there is patch try this command to build ImageMagick:

Code: Select all

./configure MKDIR_P="/bin/mkdir -p" --disable-dependency-tracking
eiichi
Posts: 19
Joined: 2017-02-08T19:22:14-07:00
Authentication code: 1151

Re: Config Error for 7.0.8.45

Post by eiichi »

Just a quick note:

I tried to build the latest ImageMagick-master (470655aa95fb3178ecca6b545f5e6a1654f0da85) with "MKDIR_P="/bin/mkdir -p" --disable-dependency-tracking".
The isuue seems to be fixed tentatively.

Thanks a lot.

--------------
identify -version
Version: ImageMagick 7.0.8-46 Q16 x86_64 2019-05-17 https://imagemagick.org
Post Reply