in reply to Re^6: Identifying functions in a c file and replacing with a keyword
in thread Identifying functions in a c file and replacing with a keyword

Thanks for the reply. If these modules have been installed properly there's no reason you should have to add the use lib lines. If you're willing to delve deaper into this I can offer further assistance. Obviously adding a new use lib line isn't something you want to have to do each time you want to use a non core module.

Consider taking my previous advice and run the following from the command prompt:

c:\cpan C::Scan

This should detect and install missing prerequisites automatically, saving you the time consuming process of downloading and instaling them by hand. ActiveState also has ppm which you may want to look into.

  • Comment on Re^7: Identifying functions in a c file and replacing with a keyword
  • Download Code

Replies are listed 'Best First'.
Re^8: Identifying functions in a c file and replacing with a keyword
by ijalab (Initiate) on Mar 18, 2013 at 14:12 UTC
    Sir, I tried as you had suggested. Following is the error message that I am getting. I tried searching , but no clue.
    C:\Perl\bin>cpan C::Scan Set up gcc environment - 4.4.7 20111023 (prerelease) [svn/rev.180339 - + mingw-w64/oz] ←[32mCPAN: Term::ANSIColor loaded ok (v3.02)←[0m ←[32mCPAN: Storable loaded ok (v2.34)←[0m ←[32mCPAN: LWP::UserAgent loaded ok (v6.04)←[0m ←[32mCPAN: Time::HiRes loaded ok (v1.9725)←[0m ←[32mFetching with LWP: http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz←[0m ←[32mLWP failed with code[500] message[Can't connect to proxy.my +corp.com:8080 (Bad hostname)]←[0m Proxy authentication needed! (Note: to permanently configure username and password run o conf proxy_user your_username o conf proxy_pass your_password )

      cpan explicitly tells you what the problem is, and a solution. cpan also has a section of the documentation dedicated to working behind firewalls/proxys. I suggest you try this for yourself first of all. If still in doubt contact your systems administrator. If you don't resolve this issue with module installation you're going ot be making life difficult for yourself, or at the very least making more boring repetitive work for yourself :)