Search code examples
perlcpanxs

How do I compile an XS module from CPAN manually?


I just downloaded an XS module from CPAN, but want to compile it by hand, not using cpan. Running perl Makefile.PL and make creates .c, .o, .xs and .bs files, but I don't see any .pm to put in my path. What am I missing?

I don't want to make install it for every user.


Solution

  • If you run "make" you should discover the .pm file in the blib/lib/Math directory, and the .so in the blib/arch/auto/Math/FFTW directory.