yaml / yaml/libyaml

cmake does not install all needed files

Open
#141 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.2k
Forks
370
PR merge metrics
No merged PRs in 30d

Description

When I use cmake, the files that are installed are

-- Install configuration: "RELEASE"
-- Installing: /usr/include/yaml.h
-- Installing: /usr/lib/libyaml.so
-- Installing: /usr/cmake/yamlConfig.cmake
-- Installing: /usr/cmake/yamlTargets.cmake
-- Installing: /usr/cmake/yamlTargets-release.cmake
-- Installing: /usr/cmake/yamlConfigVersion.cmake

The is no /usr/lib/pkgconfig/yaml-0.1.pc (or equivalent.

Also, /usr/lib/libyaml.so is a regular file. Normally we shoudl have

/usr/lib/libyaml-0.so.2.0.6
/usr/lib/libyaml-0.so.2
/usr/lib/libyaml.so

Where the first file is the regular file and the last two are symlinks.

The autotools build is OK, but bootstrap was not run before packaging.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CMake installation configuration and compare its output with the working autotools build described in the issue. Done means CMake installs an equivalent pkg-config file and preserves the versioned libyaml shared-library file and symlinks.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cmake
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.