Skip to content

Instantly share code, notes, and snippets.

Created October 2, 2014 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2588fc68c742d918a2b1 to your computer and use it in GitHub Desktop.
Save anonymous/2588fc68c742d918a2b1 to your computer and use it in GitHub Desktop.
~/Downloads/Net-DNS-Native-0.09 $ vim Makefile.PL
~/Downloads/Net-DNS-Native-0.09 $ perl Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Net::DNS::Native
Writing MYMETA.yml and MYMETA.json
~/Downloads/Net-DNS-Native-0.09 $ make
cp lib/Net/DNS/Native.pm blib/lib/Net/DNS/Native.pm
Running Mkbootstrap for Net::DNS::Native ()
chmod 644 Native.bs
/Users/sri/perl5/perlbrew/perls/perl-5.20.1/bin/perl /Users/sri/perl5/perlbrew/perls/perl-5.20.1/lib/5.20.1/ExtUtils/xsubpp -typemap /Users/sri/perl5/perlbrew/perls/perl-5.20.1/lib/5.20.1/ExtUtils/typemap -typemap typemap Native.xs > Native.xsc && mv Native.xsc Native.c
cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O3 -DVERSION=\"0.09\" -DXS_VERSION=\"0.09\" "-I/Users/sri/perl5/perlbrew/perls/perl-5.20.1/lib/5.20.1/darwin-2level/CORE" Native.c
rm -f blib/arch/auto/Net/DNS/Native/Native.bundle
LD_RUN_PATH="/usr/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector Native.o -o blib/arch/auto/Net/DNS/Native/Native.bundle \
-lpthread \
chmod 755 blib/arch/auto/Net/DNS/Native/Native.bundle
/Users/sri/perl5/perlbrew/perls/perl-5.20.1/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- Native.bs blib/arch/auto/Net/DNS/Native/Native.bs 644
Manifying blib/man3/Net::DNS::Native.3
~/Downloads/Net-DNS-Native-0.09 $ make test
Running Mkbootstrap for Net::DNS::Native ()
chmod 644 Native.bs
PERL_DL_NONLAZY=1 /Users/sri/perl5/perlbrew/perls/perl-5.20.1/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_use.t .............. ok
t/02_dns.t .............. 1/? # 1 are timed out
t/02_dns.t .............. ok
t/03_pool.t ............. ok
t/04_notify_on_begin.t .. ok
All tests successful.
Files=4, Tests=624, 3 wallclock secs ( 0.11 usr 0.03 sys + 0.24 cusr 0.05 csys = 0.43 CPU)
Result: PASS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment