Skip to content

Installation issue: freetype with autotools doesn't find libpng #1728

@moloney

Description

@moloney

Steps to reproduce the issue

$ spack install freetype

Error message

Error message
...
  >> 141    configure: error: libpng support requested but library not found
  >> 142    make: *** [/mnt/scratch/moloney/spack-stage/spack-stage-freetype-2.
            13.2-w32sfgbssvuoakpwpbkc2ax3x2avfwzb/spack-src/builds/unix/detect.
            mk:89: setup] Error 1
...

Information on your system

Additional information

Build works with build_system=cmake, but some packages in my environment (e.g. py-matplotlib) require build_system=autotools and that is also the default.

@michaelkuhn

spack-build-env.txt
spack-build-out.txt

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions