pantoniou / libfyaml

Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite.
MIT License
241 stars 74 forks source link

Problem configuring release 0.5.7 #35

Closed lackyO3 closed 3 years ago

lackyO3 commented 3 years ago

I get an odd result when trying to install from libfyaml-v0.5.7.tar.gz which doesn't happen when I use libfyaml-0.5.5.tar.gz.

The build is on CentOS 7. I believe I'm following identical steps for each.

When I configure version 0.5.5 I get this:

---{ libfyaml 0.5.5 }---

    VERSION:               0.5.5
    MAJOR.MINOR:           0.5
    PATCH:                 5
    EXTRA:                 0.5.5
.
.
.

However when I configure version 0.5.7 I get this:

---{ libfyaml UNKNOWN }---

    VERSION:               UNKNOWN
    MAJOR.MINOR:           UNKNOWN.UNKNOWN
    PATCH:                 UNKNOWN
    EXTRA:                 UNKNOWN

As a result when I install the libraries the file names are incorrect:

for example:

libfyaml-UNKNOWN.UNKNOWN.a

I am not experienced developing with autoconf but I've installed many packages that use it and I've never seen this before.

pantoniou commented 3 years ago

Use https://github.com/pantoniou/libfyaml/releases/download/v0.6.1/libfyaml-0.6.1.tar.gz

I.e. only the release tarballs that are manually uploaded. The tarball that github produces are broken re: versioning.

I'm trying to figure out, if there's a way to fix them, but in the meantime, always use the manually generated release tarballs.