Skip Menu |

This queue is for tickets about the File-ExtAttr CPAN distribution.

Report information
The Basics
Id: 77415
Status: resolved
Priority: 0/
Queue: File-ExtAttr

People
Owner: Nobody in particular
Requestors: hackingbear [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.03
Fixed in: 1.06



Subject: Cannot build on MacOS X
On MacOS X Snow Leopard, get the 1.03 package and do Show quoted text
> perl Makefile.PL > make
result in error: In file included from ExtAttr.xs:2: /System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:308:1: warning: this is the location of the previous definition In file included from extattr_os.h:27, from portable.h:5, from ExtAttr.xs:7: extattr_bsd.h:5:25: error: sys/extattr.h: No such file or directory In file included from ExtAttr.xs:7: Tried to get rid of the extattr_bsd.h is not going to work either as the error would become portable.h: In function ‘portable_lenxattr’: portable.h:87: error: ‘EXTATTR_NAMESPACE_USER’ undeclared (first use in this function) portable.h:87: error: (Each undeclared identifier is reported only once portable.h:87: error: for each function it appears in.) Looks like sys/extattr.h is only available on FreeBSD and not MacOSX. How to compile on OS X.
From: hackingbear [...] hotmail.com
On Thu May 24 20:15:15 2012, hackingbear wrote: Show quoted text
> On MacOS X Snow Leopard, get the 1.03 package and do
Nevermind, it turns out I got the old version. After I got 1.09, it is built and installed.
This was probably resolved in version 1.06, where I fixed some build issues on Mac OS X 10.4 (Tiger).