Page 1 of 1

Config Error for 7.0.8.45

Posted: 2019-05-14T23:39:16-07:00
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

Re: Config Error for 7.0.8.45

Posted: 2019-05-14T23:42:19-07:00
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

Re: Config Error for 7.0.8.45

Posted: 2019-05-14T23:47:14-07:00
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

Re: Config Error for 7.0.8.45

Posted: 2019-05-15T16:39:59-07:00
by eiichi
See also "7.0.8-45 fails to configure on macOS" (https://github.com/ImageMagick/ImageMagick/issues/1572).

Re: Config Error for 7.0.8.45

Posted: 2019-05-16T08:22:45-07:00
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

Re: Config Error for 7.0.8.45

Posted: 2019-05-16T14:23:48-07:00
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