GithubHelp home page GithubHelp logo

Comments (4)

jkeenan avatar jkeenan commented on June 19, 2024

My next idea was to install the lzma-dev package. I did install that package, but got no better results with the make stage of installing this distribution.

from compress-raw-lzma.

pmqs avatar pmqs commented on June 19, 2024

Very strange. My dev box is one of the Ubuntu variants, so should be the same as you.

The lzma.h file should be under /usr/include

$ locate lzma.h
/usr/include/lzma.h
/usr/include/boost/iostreams/filter/lzma.hpp
/usr/share/doc/liblzma-dev/html/structlzma__options__lzma.html
/usr/src/linux-headers-6.2.0-23/include/linux/decompress/unlzma.h
/usr/src/linux-headers-6.2.0-25/include/linux/decompress/unlzma.h

that files comes from liblzma-dev

$ apt-file search /usr/include/lzma.h
liblzma-dev: /usr/include/lzma.h          

I see you have installed lzma-dev rather than liblzma-dev. That doesn't appear to have lzma.h

$ apt-file list lzma-dev | grep lzma.h

What is the different with these two package?

$ apt-cache show lzma-dev | grep Homepage
Homepage: http://www.7-zip.org/sdk.html

$ apt-cache show liblzma-dev | grep Homepage
Homepage: https://tukaani.org/xz/

So lzma-dev is sourced from 7-zip, while liblzma-dev comes from the xz site (which is the one I need). Suspect the z-zip package got squatters rights on the lzma-dev name, so xz had to use something else.

Can you give liblzma-dev a try?

If that works I'll add a note in the README.

from compress-raw-lzma.

jkeenan avatar jkeenan commented on June 19, 2024

Can you give liblzma-dev a try?

Yes, that was what was needed. On both Ubuntu 22.04 LTS and Debian 11 I called:

$ sudo apt install liblzma-dev
$ cpan Compress::Raw::Lzma (against perl-5.38.0)

and got a successful installation. See, e.g.,:
http://www.cpantesters.org/cpan/report/ff0a7b82-250b-11ee-8159-d134f6fb6917

from compress-raw-lzma.

pmqs avatar pmqs commented on June 19, 2024

Excellent. Fix b2d20bb push to GH to update README

from compress-raw-lzma.

Related Issues (10)

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.