Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: calling perl program from C++

by baperl (Sexton)
on Oct 01, 2011 at 22:29 UTC ( [id://929075]=note: print w/replies, xml ) Need Help??


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

well that works, but now my other perl programs give me the following error
Can't locate Date/Manip.pm in @INC (@INC contains: /usr/local/lib/per +l5/site_perl/5.15.2/i686-linux /usr/local/lib/perl5/site_perl/5.15.2 +/usr/local/lib/perl5/5.15.2/i686-linux /usr/local/lib/perl5/5.15.2 .)
I went into CPAN and ran force install Date::Manipbut it doesn't seem to work...any suggestions....I had it working before I ran the force install ExtUtils::Embed

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

    ExtUtils::Embed is part of the perl distro. You told cpan to force the installation of Perl. God knows what effect that had, but I'm not going to try it to find out.

      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

        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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://929075]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-25 17:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found