use Inline (CPP => 'DATA', LIBS => '-L/users/nirf/perlTrials/cNewModule/lib -lmain -L/usr/lib -lstdc++', INC => '-I/users/nirf/perlTrials/inlineExample', WARNINGS => 0, NAME => 'PM_wed', VERSION => '0.01', BUILD_NOISY => 1, ); #### use Inline (CPP => 'DATA', LIBS => '-L/users/nirf/perlTrials/cNewModule/lib -lmain -L/usr/lib -lstdc++', INC => '-I/users/nirf/perlTrials/inlineExample', WARNINGS => 0, NAME => 'PM_wed', VERSION => '0.01', BUILD_NOISY => 1, ENABLE => STD_IOSTREAM, ); #### PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1....ok 1/1Had problems bootstrapping Inline module 'PM_wed' Can't load '/users/nirf/perlTrials/PM_wed/blib/arch/auto/PM_wed/PM_wed.so' for module PM_wed: libmain.so: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230, line 1. at /usr/lib/perl5/vendor_perl/5.8.5/Inline.pm line 500 at t/1.t line 0 INIT failed--call queue aborted, line 1. # Looks like your test died just after 1. t/1....dubious Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/1.t 255 65280 1 0 0.00% ?? Failed 1/1 test scripts, 0.00% okay. 0/1 subtests failed, 100.00% okay. make: *** [test_dynamic] Error 2 #### cp PM_wed.pm blib/lib/PM_wed.pm /usr/bin/perl -Mblib -MInline=NOISY,_INSTALL_ -MPM_wed -e1 0.01 blib/arch Starting Build Prepocess Stage Finished Build Prepocess Stage Starting Build Parse Stage Finished Build Parse Stage Starting Build Glue 1 Stage Finished Build Glue 1 Stage Starting Build Glue 2 Stage Finished Build Glue 2 Stage Starting Build Glue 3 Stage Finished Build Glue 3 Stage Starting Build Compile Stage Starting "perl Makefile.PL" Stage WARNING: CC is not a known parameter. Writing Makefile for PM_wed Finished "perl Makefile.PL" Stage Starting "make" Stage make[1]: Entering directory `/users/nirf/perlTrials/PM_wed/_Inline/build/PM_wed' /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap PM_wed.xs > PM_wed.xsc && mv PM_wed.xsc PM_wed.c g++ -c -I/users/nirf/perlTrials/PM_wed -I/users/nirf/perlTrials/inlineExample -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -g -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" PM_wed.c In file included from /usr/include/c++/3.2.2/backward/iostream.h:31, from PM_wed.xs:2: /usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. Running Mkbootstrap for PM_wed () chmod 644 PM_wed.bs rm -f blib/arch/auto/PM_wed/PM_wed.so LD_RUN_PATH="/usr/lib:/users/nirf/perlTrials/cNewModule/lib" gcc -shared -L/usr/local/lib PM_wed.o -o blib/arch/auto/PM_wed/PM_wed.so -lstdc++ -L/users/nirf/perlTrials/cNewModule/lib -lmain -L/usr/lib -lstdc++ chmod 755 blib/arch/auto/PM_wed/PM_wed.so cp PM_wed.bs blib/arch/auto/PM_wed/PM_wed.bs chmod 644 blib/arch/auto/PM_wed/PM_wed.bs make[1]: Leaving directory `/users/nirf/perlTrials/PM_wed/_Inline/build/PM_wed' Finished "make" Stage Starting "make install" Stage make[1]: Entering directory `/users/nirf/perlTrials/PM_wed/_Inline/build/PM_wed' Installing /users/nirf/perlTrials/PM_wed/blib/arch/auto/PM_wed/PM_wed.so Installing /users/nirf/perlTrials/PM_wed/blib/arch/auto/PM_wed/PM_wed.bs Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Writing /users/nirf/perlTrials/PM_wed/blib/arch/auto/PM_wed/.packlist make[1]: Leaving directory `/users/nirf/perlTrials/PM_wed/_Inline/build/PM_wed' Finished "make install" Stage Starting Cleaning Up Stage Finished Cleaning Up Stage Finished Build Compile Stage