Comments (4)
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.
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.
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.
Excellent. Fix b2d20bb push to GH to update README
from compress-raw-lzma.
Related Issues (10)
- Lzma Uncompression fails with "Memory usage limit was reached" HOT 6
- Add support for XZ 5.4.6 in workflow
- Security of adding support for 5.6.0 and 5.6.1 to the workflow? HOT 3
- lzip test failure on Win32 HOT 1
- 050interop-xz.t "Out of Memory" HOT 1
- Issue with Append mode & SvOOK HOT 1
- Missing entry in Changes for 2.095 HOT 1
- clang compiler warnings
- new ppport.h breaks tests for Perl 5.6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compress-raw-lzma.