conda-forge / vim-feedstock

A conda-smithy repository for vim.
BSD 3-Clause "New" or "Revised" License
3 stars 11 forks source link

add perl support #1599

Closed matthiasdiener closed 2 years ago

matthiasdiener commented 3 years ago

Checklist

conda-forge-linter commented 3 years ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

github-actions[bot] commented 3 years ago

Hi! This is the friendly conda-forge automerge bot!

I considered the following status checks when analyzing this PR:

Thus the PR was passing and merged! Have a great day!

matthiasdiener commented 3 years ago

@isuruf I'm struggling a bit with the perl support on MacOS:

2021-10-04T00:08:06.4275740Z x86_64-apple-darwin13.4.0-clang -c -I. -DFEAT_PERL -I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE -Iproto -DHAVE_CONFIG_H   -isystem $PREFIX/include -mmacosx-version-min=10.9 -DMACOS_X -DMACOS_X_DARWIN -I$PREFIX/include -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/vim-8.2.3457 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_perl.o auto/if_perl.c
2021-10-04T00:08:06.7438500Z if_perl.xs:61:10: fatal error: 'EXTERN.h' file not found
2021-10-04T00:08:06.7537590Z #include <EXTERN.h>
2021-10-04T00:08:06.7639420Z          ^~~~~~~~~~
2021-10-04T00:08:06.7648480Z 1 error generated.
2021-10-04T00:08:06.7675310Z make[1]: *** [Makefile:3355: objects/if_perl.o] Error 1
2021-10-04T00:08:06.7703050Z make[1]: Leaving directory '$SRC_DIR/src'
2021-10-04T00:08:06.7728210Z make: *** [Makefile:29: first] Error 2

It seems that vim forces the usage of the system perl on MacOS, which does not seem complete due to maybe this bug: https://stackoverflow.com/questions/52682304/fatal-error-extern-h-file-not-found-while-installing-perl-modules/52997962 . Is there a way to get the full MacOS SDK on Conda-forge VMs?