GithubHelp home page GithubHelp logo

Comments (6)

dlemstra avatar dlemstra commented on July 30, 2024

This issue has been fixed in the most recent version.

from imagemagick6.

sparrow2009 avatar sparrow2009 commented on July 30, 2024

If you refer to version 6.9.13.5, this is at least not true for my attempts. The build log excerpt above is actually from an installation attempt of that exact version.

from imagemagick6.

dlemstra avatar dlemstra commented on July 30, 2024

I misread your error message but itxt_length has been added in version 1.0.5j of libpng in 1999 so I would advise you to upgrade that.

from imagemagick6.

sparrow2009 avatar sparrow2009 commented on July 30, 2024

Well, Ubuntu 16.04 certainly ships with a sufficiently current libpng version (1.2). From the header file:

/* pngconf.h - machine configurable file for libpng
*

  • libpng version 1.2.54, November 12, 2015
  • Copyright (c) 1998-2015 Glenn Randers-Pehrson
  • (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
  • (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)

...
*/

From the build log:
...
Options used to compile and link:
PREFIX = /home/some/local/
EXEC-PREFIX = /home/some/local/
VERSION = 6.9.13-2
CC = gcc
CFLAGS = -I/usr/include/libxml2 -I/usr/include/libpng12 -I/usr/include/freetype2 -Wall -g -O2 -mtune=amdfam10 -fexceptions -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -L/home/some/perl5/perlbrew/perls/perl-5.38.2/lib/5.38.2/x86_64-linux/CORE
LIBS = -ljbig -ltiff -lfreetype -ljpeg -lpng12 -llzma -lxml2 -lz -lm
CXX = g++ -std=gnu++11 -std=gnu++11
CXXFLAGS = -g -O2
FEATURES = Cipher DPC
DELEGATES = freetype jbig jng jpeg lzma png ps tiff xml zlib
...

from imagemagick6.

dlemstra avatar dlemstra commented on July 30, 2024

It looks like ancient versions of libpng had a check for those members but this changed in 1.4.0 that was released in 2010. That is over 13 years ago so we won't be adding backwards compatibility for that anymore. Upgrade libpng or even better upgrade your ubuntu installation that is now out of support.

from imagemagick6.

sparrow2009 avatar sparrow2009 commented on July 30, 2024

Ubuntu 16.04 LTS ESM is under Extended Security Maintenance actually. Upgrading the OS is not an option right now.

libpng is also shipped in version 1.6 as OS package. Building IM6 with freetype support using the libfreetype6 OS package however conflicts with having the OS package libpng16-dev installed.

So this leaves us with dropping the png support when building IM6.

As an aside: You might want to lift your libpng version requirement that is at v1.0.0 if I recall correctly from the build log.
(Still as IM6 is the legacy version of IM it feels somehow wrong to lift a required version of a dependency that much.)

from imagemagick6.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.