in reply to Re^3: calling perl program from C++
in thread calling perl program from C++

well the error message I get is
Building Date-Manip !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Can't create '/usr/local/lib/perl5/site_perl/5.15.2/Date' Do not have write permissions on '/usr/local/lib/perl5/site_perl/5.15. +2/Date' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at /usr/local/lib/perl5/5.15.2/Module/Build/Base.pm line 3574 SBECK/Date-Manip-6.25.tar.gz ./Build install -- NOT OK Failed during this command: SBECK/Date-Manip-6.25.tar.gz : install NO

Replies are listed 'Best First'.
Re^5: calling perl program from C++
by ikegami (Patriarch) on Oct 01, 2011 at 22:52 UTC

    I doubt you can uninstall it. You surely clobbered something of value. You might need to reinstall it.

    In your case, I think you need to try to revert your installation back to what your distro had installed using your distro's package manager.

      you mean reinstall Perl by running ExtUtils::Embed

        No, I meant reinstalling your distro's Perl. You overwrote it with 5.15.2, which is a development release on the way towards 5.16.

        In theory, you could possibly proceed with 5.15.2, but it probably has bugs.