p5-Git-Raw icon indicating copy to clipboard operation
p5-Git-Raw copied to clipboard

Compile failure on OSX

Open lschierer opened this issue 6 months ago • 2 comments

perl --version

This is perl 5, version 40, subversion 2 (v5.40.2) built for darwin-2level

Copyright 1987-2025, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at https://www.perl.org/, the Perl Home Page.

build.log

I installed perl with mise and libgit2 with homebrew. I believe, from the build log (attached) that libgit2 and the various perl dependencies were detected.

lschierer avatar May 16 '25 15:05 lschierer

build.log setting some flags on the cpanm install helped with detection some, but does not seem to change the actual error (see the new build.log). This was done with the command

PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig LIBRARY_PATH=/opt/homebrew/lib CPATH=/opt/homebrew/include cpanm -n Git::Raw

lschierer avatar May 16 '25 18:05 lschierer

I'm not sure why its using an embedded zlib instead of the system zlib I have from homebrew (assuming I am reading the error in the build log correctly)?

lschierer avatar May 16 '25 18:05 lschierer