Skip Menu |
 

This queue is for tickets about the Archive-Peek-Libarchive CPAN distribution.

Report information
The Basics
Id: 106447
Status: new
Priority: 0/
Queue: Archive-Peek-Libarchive

People
Owner: Nobody in particular
Requestors: PLICEASE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Does not install on OS X
Download (untitled) / with headers
text/plain 954b
The problem is that OS X (darwin) has a libarchive.dylib, but no archive.h in /usr/include (or anywhere else that I can find). One solution to this would be to use Alien::Libarchive, which has solved this problem (and other issues on other platforms). I've created a PR here which should make it easy to make this change: https://github.com/acme/archive-peek-libarchive/pull/2 Building Archive-Peek-Libarchive cc -I/Users/ollisg/opt/perl/5.23.1/lib/5.23.1/darwin-2level/CORE -DVERSION="0.37" -DXS_VERSION="0.37" -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -O3 -o lib/Archive/Peek/Libarchive.o lib/Archive/Peek/Libarchive.c lib/Archive/Peek/Libarchive.xs:4:10: fatal error: 'archive.h' file not found #include <archive.h> ^ 1 error generated. error building lib/Archive/Peek/Libarchive.o from 'lib/Archive/Peek/Libarchive.c' at /Users/ollisg/opt/perl/5.23.1/lib/5.23.1/ExtUtils/CBuilder/Base.pm line 173.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.