pdupre has asked for the wisdom of the Perl Monks concerning the following question:

Patrick Dupre Universite du Littoral

I create my own library using XS.

I make perl Makefile.PL

make

make install

I get:

make1: Entering directory '/home/pdupre/perl/Test/mylib' make1: Nothing to be done for 'all'. make1: Leaving directory '/home/pdupre/perl/Test/mylib' Running Mkbootstrap for Test () chmod 644 "Test.bs" Files found in blib/arch: installing files in blib/lib into architecture dependent library tree

Installing ~/perl_lib/i386-linux-thread-multi/auto/Test/Test.so

Installing ~/perl_lib/i386-linux-thread-multi/Test.pm

Appending installation info to ~/perl_lib/i386-linux-thread-multi/perllocal.pod

But the 2 files (Test.so and Test.pm) are not installed!

Replies are listed 'Best First'.
Re: XS installing
by dave_the_m (Monsignor) on Aug 09, 2015 at 13:04 UTC
    Based on your recent postings to the Fedora mailing list, I'm would guess that you've installed the files under a directory called '~' within your home directory.

    Note also that Test.pm is already the name of a built-in perl module, so calling your XS module the same is going to cause problems.

    Dave.

Re: XS installing
by ikegami (Patriarch) on Aug 10, 2015 at 02:52 UTC

    They were installed. You just didn't look in the right place. What's the output of

    set | grep ^PERL perl -V:sitearch