Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Scons fails to detect libpng library on CentOS 6 #686

Open
@tst-ccamp

Description

@tst-ccamp

This issue comes up a lot because a default g++ compiler is not installed when following the build setup instructions for CentOS 6. I don't believe this issue comes up in RHEL 6 because it's included with a documented package. Furthermore, even when fixing the issue it still will need to rescan for the configs (--config=force on the scons command line). This should happen by default since the time to do the scan is negligible.

Reproduction steps

  1. Create CentOS 6 minimal VM
  2. Follow manual build setup instructions
    1.Build using scons

Expected: build completes without error

Actual: Error message saying that it can't find libpng12

AC

  1. Update build instructions to include default g++ for CentOS 6 (gcc-g++ package) or update scons to use devtools g++ install
  2. Add a check to scons for a g++ compiler and output an appropriate error if it can't find one
  3. Update scons to always scan for libpng (it may be possible to disable caching) when running the third_party tools build

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions