Advertisement
hakonhagland

perl-embed-test-xsinit

Oct 1st, 2021
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. $ build/native/prefix/bin/perl5.34.0 -MExtUtils::Embed -e xsinit -- -o perlxsi.c
  2. $ cc -c perlxsi.c `build/native/prefix/bin/perl5.34.0 -MExtUtils::Embed -e ccopts`
  3. $ cc -c emperl.c `build/native/prefix/bin/perl5.34.0 -MExtUtils::Embed -e ccopts`
  4. $ cc -o interp perlxsi.o interp.o `build/native/prefix/bin/perl5.34.0 -MExtUtils::Embed -e ldopts`
  5. $ ./interp -e 'print 123; use Fcntl; print 456;'
  6. Can't load module Fcntl, dynamic loading not available in this perl.
  7. (You may need to build a new perl executable which either supports
  8. dynamic loading or has the Fcntl module statically linked into it.)
  9. at -e line 1.
  10. Compilation failed in require at -e line 1.
  11. BEGIN failed--compilation aborted at -e line 1.
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement