Unable to install png delegates

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.
Locked
sharada125
Posts: 4
Joined: 2019-12-02T13:36:44-07:00
Authentication code: 1152

Unable to install png delegates

Post by sharada125 »

We are trying to install the png delegated for the imagemagick on linux box. The imagemagick version we are using is : ImageMagick 6.7.3-10 2018-03-21 Q16. We are trying to install the libpng-1.6.19. The OS version is RHEL 7.5. We are getting the below response when we try to configure or install.

Can you please help us to know the correct library to install the .png delegate.

Code: Select all

[root@argebzstgpub01 libpng-1.6.19]# pwd

[root@argebzstgpub01 libpng-1.6.19]# ./configure --prefix=/home/hybuat/png
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking that AWK works... ok
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for C/C++ restrict keyword... __restrict
checking for working strtod... yes
checking for memset... yes
checking for pow... no
checking for pow in -lm... yes
checking for zlibVersion in -lz... yes
checking for feenableexcept in -lm... yes
checking for feenableexcept... yes
checking if using Solaris linker... no
checking if libraries can be versioned... yes
checking for symbol prefix...
configure: pkgconfig directory is ${libdir}/pkgconfig
configure: Extra options for compiler:
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpng.pc
config.status: creating libpng-config
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
[root@argebzstgpub01 libpng-1.6.19]#
====================================================================
[root@argebzstgpub01 libpng-1.6.19]# make
make  all-am
make[1]: Entering directory `/home/hybuat/libpng-1.6.19'
cp libpng-config libpng16-config
cp libpng.pc libpng16.pc
make[1]: Leaving directory `/home/hybuat/libpng-1.6.19'
[root@argebzstgpub01 libpng-1.6.19]# make -j20 && make install  
make  install-am
make[1]: Entering directory `/home/hybuat/libpng-1.6.19'
make[2]: Entering directory `/home/hybuat/libpng-1.6.19'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/lib'
/bin/sh ./libtool   --mode=install /bin/install -c   libpng16.la '/home/hybuat/libpng-1.6.19/lib'
libtool: install: /bin/install -c .libs/libpng16.so.16.19.0 /home/hybuat/libpng-1.6.19/lib/libpng16.so.16.19.0
libtool: install: (cd /home/hybuat/libpng-1.6.19/lib && { ln -s -f libpng16.so.16.19.0 libpng16.so.16 || { rm -f libpng16.so.16 && ln -s libpng16.so.16.19.0 libpng16.so.16; }; })
libtool: install: (cd /home/hybuat/libpng-1.6.19/lib && { ln -s -f libpng16.so.16.19.0 libpng16.so || { rm -f libpng16.so && ln -s libpng16.so.16.19.0 libpng16.so; }; })
libtool: install: /bin/install -c .libs/libpng16.lai /home/hybuat/libpng-1.6.19/lib/libpng16.la
libtool: install: /bin/install -c .libs/libpng16.a /home/hybuat/libpng-1.6.19/lib/libpng16.a
libtool: install: chmod 644 /home/hybuat/libpng-1.6.19/lib/libpng16.a
libtool: install: ranlib /home/hybuat/libpng-1.6.19/lib/libpng16.a
libtool: warning: remember to run 'libtool --finish /home/hybuat/png/lib'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/bin'
  /bin/sh ./libtool   --mode=install /bin/install -c pngfix png-fix-itxt '/home/hybuat/libpng-1.6.19/bin'
libtool: install: /bin/install -c pngfix /home/hybuat/libpng-1.6.19/bin/pngfix
libtool: install: /bin/install -c png-fix-itxt /home/hybuat/libpng-1.6.19/bin/png-fix-itxt
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/bin'
/bin/install -c libpng16-config '/home/hybuat/libpng-1.6.19/bin'
make  install-exec-hook
make[3]: Entering directory `/home/hybuat/libpng-1.6.19'
+ cd /home/hybuat/libpng-1.6.19/lib
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.a
+ test -f libpng16.a
+ ln -s libpng16.a libpng.a
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.dll.a
+ test -f libpng16.dll.a
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.so
+ test -f libpng16.so
+ ln -s libpng16.so libpng.so
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.so.16.19
+ test -f libpng16.so.16.19
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.la
+ test -f libpng16.la
+ ln -s libpng16.la libpng.la
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.sl
+ test -f libpng16.sl
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.dylib
+ test -f libpng16.dylib
+ cd /home/hybuat/libpng-1.6.19/bin
+ rm -f libpng-config
+ ln -s libpng16-config libpng-config
make[3]: Leaving directory `/home/hybuat/libpng-1.6.19'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/share/man/man3'
/bin/install -c -m 644 libpng.3 libpngpf.3 '/home/hybuat/libpng-1.6.19/share/man/man3'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/share/man/man5'
/bin/install -c -m 644 png.5 '/home/hybuat/libpng-1.6.19/share/man/man5'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/include/libpng16'
/bin/install -c -m 644 pnglibconf.h '/home/hybuat/libpng-1.6.19/include/libpng16'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/lib/pkgconfig'
/bin/install -c -m 644 libpng16.pc '/home/hybuat/libpng-1.6.19/lib/pkgconfig'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/include/libpng16'
/bin/install -c -m 644 png.h pngconf.h '/home/hybuat/libpng-1.6.19/include/libpng16'
make  install-data-hook
make[3]: Entering directory `/home/hybuat/libpng-1.6.19'
+ cd /home/hybuat/libpng-1.6.19/include
+ for f in pnglibconf.h png.h pngconf.h
+ rm -f pnglibconf.h
+ ln -s libpng16/pnglibconf.h pnglibconf.h
+ for f in pnglibconf.h png.h pngconf.h
+ rm -f png.h
+ ln -s libpng16/png.h png.h
+ for f in pnglibconf.h png.h pngconf.h
+ rm -f pngconf.h
+ ln -s libpng16/pngconf.h pngconf.h
+ cd /home/hybuat/libpng-1.6.19/lib/pkgconfig
+ rm -f libpng.pc
+ ln -s libpng16.pc libpng.pc
make[3]: Leaving directory `/home/hybuat/libpng-1.6.19'
make[2]: Leaving directory `/home/hybuat/libpng-1.6.19'
make[1]: Leaving directory `/home/hybuat/libpng-1.6.19'

User avatar
fmw42
Posts: 26383
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Unable to install png delegates

Post by fmw42 »

IM 6.7.3-10 is ancient. Perhaps you need to upgrade. By date, your version is nearly 2 years old. Check for a more current patch.

sharada125
Posts: 4
Joined: 2019-12-02T13:36:44-07:00
Authentication code: 1152

Re: Unable to install png delegates

Post by sharada125 »

this is the version running on my server (image magic) .

Requirement :: .JPEG & .PNG required

Code: Select all

[root@argebzqapub02 ImageMagick-7.0.9-10]# convert --version
Version: ImageMagick 7.0.9-10 Q16 x86_64 2019-12-24 https://imagemagick.org
Copyright: © 1999-2020 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(3.1)
Delegates (built-in):
[root@argebzqapub02 ImageMagick-7.0.9-10]#

Requirement :: .JPEG & .PNG  required
when i ran below command .Still .png and jpeg is not configured .

Code: Select all

[root@argebzqapub02 ImageMagick-7.0.9-10]# ./configure '--with-png=yes' '--with-jpeg=yes'
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
configuring ImageMagick 7.0.9-10
checking whether build environment is sane... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking how to print strings... printf
checking for ld used by gcc -std=gnu99... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for gcc -std=gnu99 option to accept ISO C99... (cached) -std=gnu99
checking CFLAGS for maximum warnings... -Wall
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for gawk... (cached) gawk
checking if malloc debugging is wanted... no
checking for __attribute__... yes
checking for C compiler vendor... gnu
checking for gcc architecture flag...
checking for x86 cpuid 0 output... d:756e6547:6c65746e:49656e69
checking for x86 cpuid 1 output... 406f1:20800:fffa3203:178bfbff
checking whether C compiler accepts -mtune=broadwell... no
checking whether C compiler accepts -mtune=core-avx2... yes
checking for gcc architecture flag... -mtune=core-avx2
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for C compiler vendor... (cached) gnu
checking if LD -Wl,--version-script works... yes
checking for linker lazyload option... none
checking whether gcc -std=gnu99 -std=gnu99 is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for gcc -std=gnu99 -std=gnu99 option to support OpenMP... -fopenmp
checking for pthread_join using gcc -std=gnu99 -std=gnu99 -pthread ... yes
checking whether gcc -std=gnu99 -std=gnu99 is Clang... (cached) no
checking for joinable pthread attribute... (cached) PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... (cached) no
checking for PTHREAD_PRIO_INHERIT... (cached) yes
checking whether we are using the Microsoft C compiler... no
checking CL/cl.h usability... no
checking CL/cl.h presence... no
checking for CL/cl.h... no
checking OpenCL/cl.h usability... no
checking OpenCL/cl.h presence... no
checking for OpenCL/cl.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for OpenCL library... (cached) no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc -std=gnu99 -std=gnu99 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 -std=gnu99 static flag -static works... no
checking if gcc -std=gnu99 -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 -std=gnu99 linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether gcc -std=gnu99 -std=gnu99 needs -traditional... no
checking for ANSI C header files... (cached) yes
checking whether to enable assertions... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking arm/limits.h usability... no
checking arm/limits.h presence... no
checking for arm/limits.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking linux/unistd.h usability... yes
checking linux/unistd.h presence... yes
checking for linux/unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking machine/param.h usability... no
checking machine/param.h presence... no
checking for machine/param.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking sun_prefetch.h usability... no
checking sun_prefetch.h presence... no
checking for sun_prefetch.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for working volatile... yes
checking for preprocessor stringizing operator... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking whether #! works in shell scripts... yes
checking whether char is unsigned... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for working volatile... (cached) yes
checking whether byte ordering is bigendian... no
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for intmax_t... yes
checking for intptr_t... yes
checking for mbstate_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uintmax_t... yes
checking for uintptr_t... yes
checking size of float_t... 4
checking size of double_t... 8
checking size of float... 4
checking size of double... 8
checking size of long double... 16
checking size of unsigned long long... 8
checking size of void *... 8
checking whether our compiler supports __func__... yes
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for working memcmp... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for working strtod... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for vprintf... yes
checking for _doprnt... no
checking for sqrt in -lm... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing clock_gettime... none required
checking whether clock_gettime supports CLOCK_REALTIME... yes
checking whether pread is declared... yes
checking whether pwrite is declared... yes
checking whether strlcpy is declared... no
checking whether vsnprintf is declared... yes
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking whether the compiler recognizes bool as a built-in type... no
checking whether the compiler implements namespaces... no
checking if g++ supports namespace std... no
checking whether the compiler supports ISO C++ standard library... no
checking for g++ option to support OpenMP... unsupported
checking whether C++ compiler is sufficient for Magick++... no (failed tests)
checking for X11 configure files...
checking for GOMP_parallel_start in -lgomp... yes
-------------------------------------------------------------
checking for BZLIB...
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for BZ2_bzDecompress in -lbz2... no
checking if BZLIB package is complete... no
checking for X... no
-------------------------------------------------------------
checking for zlib >= 1.0.0... no

-------------------------------------------------------------
checking for libzstd >= 1.0.0... no

-------------------------------------------------------------
checking for DPS...
checking DPS/dpsXclient.h usability... no
checking DPS/dpsXclient.h presence... no
checking for DPS/dpsXclient.h... no
checking for DPSInitialize in -ldps... no
checking for DPSInitialize in -ldps... no
checking for XDPSPixelsPerPoint in -ldpstk... no
checking if DPS package is complete... no
-------------------------------------------------------------
checking for fftw3 >= 3.0.0... no

-------------------------------------------------------------
checking for FLIF...
checking flif.h usability... no
checking flif.h presence... no
checking for flif.h... no
checking for flif_create_decoder in -lflif... no
checking if FLIF package is complete... no
-------------------------------------------------------------
checking for FlashPIX...
checking fpxlib.h usability... no
checking fpxlib.h presence... no
checking for fpxlib.h... no
checking for FPX_OpenImageByFilename in -lfpx... no
checking if FlashPIX package is complete... no
-------------------------------------------------------------
checking for ddjvuapi >= 3.5.0... no

-------------------------------------------------------------
checking for fontconfig >= 2.1.0... no

-------------------------------------------------------------
checking for freetype2... no

-------------------------------------------------------------
checking for raqm... no

-------------------------------------------------------------
checking for libgvc >= 2.9.0... no

-------------------------------------------------------------
checking for libheif... no

-------------------------------------------------------------
checking for JBIG...
checking jbig.h usability... no
checking jbig.h presence... no
checking for jbig.h... no
checking for jbg_dec_init in -ljbig... no
checking if JBIG package is complete... no
-------------------------------------------------------------
checking for JPEG...
checking jconfig.h usability... no
checking jconfig.h presence... no
checking for jconfig.h... no
checking jerror.h usability... no
checking jerror.h presence... no
checking for jerror.h... no
checking jmorecfg.h usability... no
checking jmorecfg.h presence... no
checking for jmorecfg.h... no
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking for jpeg_read_header in -ljpeg... no
checking for JPEG library is version 6b or later... no
checking if JPEG package is complete... no
-------------------------------------------------------------
checking for brunsli...
checking brunsli/decode.h usability... no
checking brunsli/decode.h presence... no
checking for brunsli/decode.h... no
checking brunsli/encode.h usability... no
checking brunsli/encode.h presence... no
checking for brunsli/encode.h... no
checking for DecodeBrunsli in -lbrunslidec-c... no
checking for EncodeBrunsli in -lbrunslienc-c... no
checking if brunsli package is complete... no
-------------------------------------------------------------
checking for lcms2 >= 2.0.0... no

-------------------------------------------------------------
checking for libopenjp2 >= 2.1.0... no

-------------------------------------------------------------
checking for lqr-1 >= 0.1.0... no

-------------------------------------------------------------
checking for liblzma >= 2.9.0... no

-------------------------------------------------------------
checking for OpenEXR >= 1.0.6... no

-------------------------------------------------------------
checking for pangocairo >= 1.28.1... no

checking for pango >= 1.28.1... no

-------------------------------------------------------------
checking for libpng >= 1.0.0... no

-------------------------------------------------------------
checking for libraw_r >= 0.14.8... no

-------------------------------------------------------------
checking for TIFF...
checking tiff.h usability... no
checking tiff.h presence... no
checking for tiff.h... no
checking tiffio.h usability... no
checking tiffio.h presence... no
checking for tiffio.h... no
checking for TIFFOpen in -ltiff... no
checking for TIFFClientOpen in -ltiff... no
checking for TIFFIsByteSwapped in -ltiff... no
checking for TIFFReadRGBATile in -ltiff... no
checking for TIFFReadRGBAStrip in -ltiff... no
checking if TIFF package is complete... no
-------------------------------------------------------------
checking for libwebp... no
checking for libwebpmux >= 0.5.0 libwebpdemux >= 0.5.0... no

checking for WMF support ...
checking for libwmf/ipa.h... no
checking if WMF package is complete ... no
-------------------------------------------------------------
checking for libxml-2.0 >= 2.0.0... no

checking for acosh... yes
checking for _aligned_malloc... no
checking for asinh... yes
checking for atanh... yes
checking for atoll... yes
checking for atexit... yes
checking for cabs... yes
checking for carg... yes
checking for cimag... yes
checking for creal... yes
checking for clock... yes
checking for clock_getres... yes
checking for clock_gettime... yes
checking for ctime_r... yes
checking for directio... no
checking for erf... yes
checking for _exit... yes
checking for execvp... yes
checking for fchmod... yes
checking for floor... yes
checking for fork... (cached) yes
checking for ftime... yes
checking for ftruncate... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getpid... yes
checking for getexecname... no
checking for getdtablesize... yes
checking for getpagesize... (cached) yes
checking for getrlimit... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for isnan... yes
checking for j0... yes
checking for j1... yes
checking for lltostr... no
checking for localtime_r... yes
checking for lstat... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for munmap... yes
checking for nanosleep... yes
checking for newlocale... yes
checking for _NSGetExecutablePath... no
checking for pclose... yes
checking for _pclose... no
checking for poll... yes
checking for popen... yes
checking for _popen... no
checking for posix_fadvise... yes
checking for posix_fallocate... yes
checking for posix_madvise... yes
checking for posix_memalign... yes
checking for posix_spawnp... yes
checking for pow... yes
checking for pread... yes
checking for pwrite... yes
checking for qsort_r... yes
checking for raise... yes
checking for rand_r... yes
checking for readlink... yes
checking for realpath... yes
checking for select... yes
checking for seekdir... yes
checking for sendfile... yes
checking for setlocale... yes
checking for socket... yes
checking for sqrt... yes
checking for setvbuf... yes
checking for stat... yes
checking for strcasestr... yes
checking for strchr... yes
checking for strrchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strpbrk... yes
checking for strspn... yes
checking for strstr... yes
checking for strtod... (cached) yes
checking for strtod_l... yes
checking for strtol... yes
checking for strtoul... yes
checking for symlink... yes
checking for sysconf... yes
checking for sigemptyset... yes
checking for sigaction... yes
checking for spawnvp... no
checking for strerror... yes
checking for strlcat... no
checking for strlcpy... no
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for telldir... yes
checking for tempnam... yes
checking for times... yes
checking for ulltostr... no
checking for uselocale... yes
checking for usleep... yes
checking for utime... yes
checking for vfprintf... yes
checking for vfprintf_l... no
checking for vsprintf... yes
checking for vsnprintf... yes
checking for vsnprintf_l... no
checking for waitpid... yes
checking for _wfopen... no
checking for _wstat... no
-------------------------------------------------------------
checking for ImageMagick delegate programs...
checking for bpgdec... bpgdec
checking for bpgenc... bpgenc
checking for blender... blender
checking for xdg-open... /bin/xdg-open
checking for ufraw-batch... ufraw-batch
checking for soffice... soffice
checking for dvips... dvips
checking for magick... /usr/local/bin/magick
checking for magick... /usr/local/bin/magick
checking for xterm... xterm
checking for dot... dot
checking for hp2xx... hp2xx
checking for html2ps... html2ps
checking for ilbmtoppm... ilbmtoppm
checking for ppmtoilbm... ppmtoilbm
checking for JxrDecApp... JxrDecApp
checking for JxrEncApp... JxrEncApp
checking for lepton... lepton
checking for lp... /bin/lp
checking for lpr... /bin/lpr
checking for gimp... gimp
checking for magick... /usr/local/bin/magick
checking for avconv... avconv
checking for ffmpeg... (cached) avconv
checking for avconv... avconv
checking for ffmpeg... (cached) avconv
checking for mrsidgeodecode... mrsidgeodecode
checking for mv... /bin/mv
checking for pcl6... pcl6
checking for gsx... no
checking for gsc... no
checking for gs... /bin/gs
checking for rm... /bin/rm
checking for rsvg-convert... rsvg-convert
checking for inkscape... inkscape
checking for potrace... potrace
checking for uniconvertor... uniconvertor
checking for dwebp... dwebp
checking for cwebp... cwebp
checking for curl... /bin/curl
checking for gxps... gxps
checking for Apple fonts directory... not found!
checking for Dejavu fonts directory... not found!
checking for Ghostscript fonts directory... /usr/share/fonts/default/Type1/
checking for URW-base35 fonts directory... not found!
checking for Windows fonts directory... not found!
checking for gnutar... no
checking for gtar... gtar
checking for perl... perl
checking for rpmbuild... rpmbuild
checking for 7za... no
checking for zip... zip
-------------------------------------------------------------
checking for Ghostscript...
checking for Ghostscript version... 9.07
checking for gs color device... png16m
checking for gs alpha device... pngalpha
checking for gs CMYK device... pamcmyk32
checking for gs mono device... pbmraw
checking for gs PDF writing device... pdfwrite
checking for gs PS writing device... ps2write
checking for gs EPS writing device... epswrite
-------------------------------------------------------------
Update ImageMagick configuration
checking that generated files are newer than configure... done
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating common.shi
config.status: creating config/configure.xml
config.status: creating config/delegates.xml
config.status: creating config/ImageMagick.rdf
config.status: creating config/MagickCore.dox
config.status: creating config/MagickWand.dox
config.status: creating config/Magick++.dox
config.status: creating config/type-apple.xml
config.status: creating config/type-dejavu.xml
config.status: creating config/type-ghostscript.xml
config.status: creating config/type-urw-base35.xml
config.status: creating config/type-windows.xml
config.status: creating config/type.xml
config.status: creating ImageMagick.spec
config.status: creating Magick++/bin/Magick++-config
config.status: creating MagickCore/ImageMagick.pc
config.status: creating Magick++/lib/Magick++.pc
config.status: creating MagickCore/MagickCore-config
config.status: creating MagickCore/MagickCore.pc
config.status: creating MagickCore/version.h
config.status: creating Makefile
config.status: creating magick.sh
config.status: creating PerlMagick/check.sh
config.status: creating PerlMagick/default/Magick.pm
config.status: creating PerlMagick/Makefile.PL
config.status: creating PerlMagick/default/Makefile.PL
config.status: creating PerlMagick/quantum/Makefile.PL
config.status: creating PerlMagick/quantum/quantum.pm
config.status: creating PerlMagick/quantum/quantum.xs
config.status: creating PerlMagick/quantum/typemap
config.status: creating utilities/animate.1
config.status: creating utilities/compare.1
config.status: creating utilities/composite.1
config.status: creating utilities/conjure.1
config.status: creating utilities/convert.1
config.status: creating utilities/display.1
config.status: creating utilities/identify.1
config.status: creating utilities/ImageMagick.1
config.status: creating utilities/import.1
config.status: creating utilities/magick.1
config.status: creating utilities/magick-script.1
config.status: creating utilities/mogrify.1
config.status: creating utilities/montage.1
config.status: creating utilities/stream.1
config.status: creating MagickWand/MagickWand-config
config.status: creating MagickWand/MagickWand.pc
config.status: creating config/config.h
config.status: config/config.h is unchanged
config.status: executing MagickCore/magick-baseconfig.h commands
config.status: creating MagickCore/magick-baseconfig.h - prefix MAGICKCORE for config/config.h defines
config.status: MagickCore/magick-baseconfig.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
config.status: executing magick.sh.in commands
config.status: executing MagickCore-config.in commands
config.status: executing MagickWand-config.in commands
config.status: executing Magick++-config.in commands
config.status: executing PerlMagick/check.sh.in commands
configure:
==============================================================================
ImageMagick 7.0.9-10 is configured as follows. Please verify that this
configuration matches your expectations.

Host system type: x86_64-pc-linux-gnu
Build system type: x86_64-pc-linux-gnu

               Option                        Value
------------------------------------------------------------------------------
Shared libraries  --enable-shared=yes           yes
Static libraries  --enable-static=yes           yes
Build utilities   --with-utilities=yes          yes
Module support    --with-modules=no             no
GNU ld            --with-gnu-ld=yes             yes
Quantum depth     --with-quantum-depth=16       16
High Dynamic Range Imagery
                  --enable-hdri=yes             yes

Install documentation:                          yes

Memory allocation library:
  JEMalloc          --with-jemalloc=no          no
  TCMalloc          --with-tcmalloc=no          no
  UMem              --with-umem=no              no

Delegate library configuration:
  BZLIB             --with-bzlib=yes            no
  Autotrace         --with-autotrace=no         no
  DJVU              --with-djvu=yes             no
  DPS               --with-dps=yes              no
  FFTW              --with-fftw=yes             no
  FLIF              --with-flif=yes             no
  FlashPIX          --with-fpx=yes              no
  FontConfig        --with-fontconfig=yes       no
  FreeType          --with-freetype=yes         no
  Ghostscript lib   --with-gslib=no             no
  Graphviz          --with-gvc=yes              no
  HEIC              --with-heic=yes             no
  JBIG              --with-jbig=yes             no
  JPEG v1           --with-jpeg=yes             no
  JPEG XL           --with-jxl=yes    no
  LCMS              --with-lcms=yes             no
  LQR               --with-lqr=yes              no
  LTDL              --with-ltdl=yes             no
  LZMA              --with-lzma=yes             no
  Magick++          --with-magick-plus-plus=yes no (failed tests)
  OpenEXR           --with-openexr=yes          no
  OpenJP2           --with-openjp2=yes          no
  PANGO             --with-pango=yes            no
  PERL              --with-perl=no              no
  PNG               --with-png=yes              no
  RAQM              --with-raqm=yes             no
  RAW               --with-raw=yes              no
  RSVG              --with-rsvg=no              no
  TIFF              --with-tiff=yes             no
  WEBP              --with-webp=yes             no
  WMF               --with-wmf=yes              no
  X11               --with-x=                   no
  XML               --with-xml=yes              no
  ZLIB              --with-zlib=yes             no
  ZSTD              --with-zstd=yes             no

Delegate program configuration:
  GhostPCL          None                        pcl6 (unknown)
  GhostXPS          None                        gxps (unknown)
  Ghostscript       None                        gs (9.07)

Font configuration:
  Apple fonts       --with-apple-font-dir=default
  Dejavu fonts      --with-dejavu-font-dir=default      none
  Ghostscript fonts --with-gs-font-dir=default          /usr/share/fonts/default/Type1/
  URW-base35 fonts  --with-urw-base35-font-dir=default  none
  Windows fonts     --with-windows-font-dir=default     none

X11 configuration:
  X_CFLAGS        =
  X_PRE_LIBS      =
  X_LIBS          =
  X_EXTRA_LIBS    =

Options used to compile and link:
  PREFIX          = /usr/local
  EXEC-PREFIX     = /usr/local
  VERSION         = 7.0.9
  CC              = gcc -std=gnu99 -std=gnu99
  CFLAGS          =  -fopenmp -g -O2 -Wall -mtune=core-avx2 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
  CPPFLAGS        =   -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
  PCFLAGS         =
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         =
  LIBS            =                                         -lm
  CXX             = g++
  CXXFLAGS        =  -pthread
  FEATURES        = DPC HDRI Cipher OpenMP
  DELEGATES       = mpeg ps
==============================================================================
OUTPUT
See DeleGates == = mpeg ps --> there is no JPEG and PNG

User avatar
fmw42
Posts: 26383
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Unable to install png delegates

Post by fmw42 »

When you install from source, you get no delegates. You should install from some binary package or make your own. See https://imagemagick.org/script/download.php

When you install from source, you have to install the libpng delegate (and any other) before compiling imagemagick. You cannot just tell imagemagick to use png as you have '--with-png=yes'.

For each delegate you install, you need to check the config.log file for it to see if there are other required delegates and install them first. Once all delegates install without error, then configure and install imagemagick. See https://imagemagick.org/script/advanced ... lation.php

sharada125
Posts: 4
Joined: 2019-12-02T13:36:44-07:00
Authentication code: 1152

Re: Unable to install png delegates

Post by sharada125 »

under ImageMagick-7.0.9-10 i have downloaded and copied iOS OS and iOS Simulator .Please see the details below.Now how to run this IOS.

[ ImageMagick-7.0.9-10]# pwd
/home/ImageMagick-7.0.9-10
ImageMagick-7.0.9-10]#ls -l

drwxrwxrwx. 4 1002 1002 1024 Jan 8 17:00 utilities
drwxrwxrwx. 6 1002 1002 1024 Jan 8 17:00 PerlMagick
-rw-r--r--. 1 root root 967173 Jan 8 17:00 Makefile
drwxrwxrwx. 4 1002 1002 6144 Jan 8 17:00 MagickWand
-rwxr-xr-x. 1 root root 1736 Jan 8 17:00 magick.sh
-rwxr-xr-x. 1 root root 343814 Jan 8 17:00 libtool
-rw-r--r--. 1 root root 657032 Jan 8 17:00 config.log
-rwxr-xr-x. 1 root root 29973782 Jan 8 20:31 iOSMagick-6.8.8-9-libs.zip

-rwxr-xr-x. 1 root root 29973782 Jan 8 20:31 iOSMagick-6.8.8-9-libs.zip
-rw-r--r--. 1 root root 27746542 Jan 8 20:37 iOSMagick-6.8.8-9.zip

My Qustion:: How to run below script and where will i find ./imagemagick_compile.sh

ImageMagick compiling script for iOS OS and iOS Simulator
To run the script:
./imagemagick_compile.sh VERSION

User avatar
fmw42
Posts: 26383
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Unable to install png delegates

Post by fmw42 »

Please do not post separate questions in the same topic. iOS installation is separate issue from installing on Linux. For iOS installation, see https://imagemagick.org/script/download.php#iOS

sharada125
Posts: 4
Joined: 2019-12-02T13:36:44-07:00
Authentication code: 1152

Re: Unable to install png delegates

Post by sharada125 »

When you install from source, you get no delegates. You should install from some binary package or make your own. See https://imagemagick.org/script/download.php

When you install from source, you have to install the libpng delegate (and any other) before compiling imagemagick. You cannot just tell imagemagick to use png as you have '--with-png=yes'.

i am unable to find .png deligate for my imgaemagic version.It will be very helpful if you can provide the link for .pngdeligate.


[ ImageMagick-7.0.9-10]# pwd
/home/ImageMagick-7.0.9-10
ImageMagick-7.0.9-10]#ls -l

User avatar
fmw42
Posts: 26383
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Unable to install png delegates

Post by fmw42 »

You should search Google to get the most current delegates. But here is a list provided by ImageMagick. See https://imagemagick.org/download/delegates/

Locked