Subject: | Does not install on MacOS because of dependency to Data::Alias |
I would love to use this module, especially as it is used as a dependency in other stuff i would love to use, but the dependency to Data::Alias makes this currently impossible on a recent version of MacOS using Perl 5.12.4.
The problem has been reported with the Data::Alias maintainer in August 2012 here: https://rt.cpan.org/Ticket/Display.html?id=78928 but unfortunately the maintainers of Data::Alias don't seem to be able to work on it. I am happy to try out code on my machine which runs 10.8.3
$ uname -a
Darwin luftikus.local 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64
In case you need the build log for Data::Alias to look into it yourself here is the output of the bit that fails:
Building and testing Data-Alias-1.16
cp lib/Data/Alias.pm blib/lib/Data/Alias.pm
/usr/bin/perl "-Iinc" /System/Library/Perl/5.12/ExtUtils/xsubpp -typemap /System/Library/Perl/5.12/ExtUtils/typemap Alias.xs > Alias.xsc && mv Alias.xsc Alias.c
clang -c -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" Alias.c
Alias.xs:783:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
DIE(aTHX_ PL_no_localize_ref);
^~~~~~~~~~~~~~~~~~
Alias.xs:1336:3: error: too few arguments provided to function-like macro invocation
POPSUB(cx, sv);
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/cop.h:356:52: note: expanded from macro 'POPSUB'
CopLINE((COP*)CvSTART((const CV*)cx->blk_sub.cv))); \
^
Alias.xs:1336:3: error: use of undeclared identifier 'RETURN_PROBE'
POPSUB(cx, sv);
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/cop.h:354:2: note: expanded from macro 'POPSUB'
RETURN_PROBE(GvENAME(CvGV((const CV*)cx->blk_sub.cv)), \
^
1 warning and 2 errors generated.
make: *** [Alias.o] Error 1
cheers
norbu09