Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Module Problem out of the Blue

by Anonymous Monk
on Dec 24, 2007 at 01:07 UTC ( [id://658822]=perlquestion: print w/replies, xml ) Need Help??

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

I was happily coding my protein analysis program till a strange set of errors occured right after I have implemented a very important function and wanted to see if it produced good results (how annoying it is to be stuck with that expectation that your code works...what ever). I assumed it to be a module problem related to gd::graph so I checked it with other codes (which could compile correctly) and when I added use GD::Graph::lines they gave the same error So you might say if you know the problem what are you here to ask? Being a windows user(unforunately), it was a pain for me to install that module, and dont want to go through uninstalling and installing that module again. Moreover, I dont know how to uninstall a module and am not sure whether if it will work. So I am here with the error message, to see if any of you know any other ways to correct it. If the only suggesting is reinstalling, can you explain me how to uninstall a module (or you may not if you dont wish to, I guess I can find it in google).
C:\begperl>protean3.plx Unrecognized character \xD0 at C:/Perl/lib/File/Spec/Unix.pm line 441. Compilation failed in require at C:/Perl/lib/File/Spec/Win32.pm line 6 +. Compilation failed in require at C:/Perl/lib/File/Spec.pm line 22. Compilation failed in require at C:/Perl/lib/IO/File.pm line 134. BEGIN failed--compilation aborted at C:/Perl/lib/IO/File.pm line 134. Compilation failed in require at C:/Perl/lib/FileHandle.pm line 9. Compilation failed in require at C:/Perl/site/lib/GD.pm line 8. Compilation failed in require at C:/Perl/site/lib/GD/Graph/lines.pm li +ne 18. BEGIN failed--compilation aborted at C:/Perl/site/lib/GD/Graph/lines.p +m line 18. Compilation failed in require at C:\begperl\protean3.plx line 5. BEGIN failed--compilation aborted at C:\begperl\protean3.plx line 5.
Thanks in advance :) Sina

Replies are listed 'Best First'.
Re: Module Problem out of the Blue
by perrin (Chancellor) on Dec 24, 2007 at 02:50 UTC
    Errors like this often mean your LOCALE is set to something strange. Read the perllocale manpage for more information and some quick fixes to try.
      I can attest to this on the RedHat 3 platform, as I had some issues with the DBD::Oracle modules that gave some very similar error messages, including that one with the \0xD0 error. In my case the confusion was caused because we were using ActiveState's perl and another app on the system put some settings in the .profile that changed the shell locale settings.
Re: Module Problem out of the Blue
by Anonymous Monk on Dec 24, 2007 at 01:46 UTC
    How many perls do you have installed?
    What is 'perl -V'?
    Did you edit File/Spec/Unix.pm?
      I have installed only one perl. I havent edited File/Spec/Unix.pm. Anyway there was no problem with perl like about 5 minutes before this. I only added some new codes in that 5 minutes and at my next compilation it gave this error. I did nothing else than coding my program in between. My perl version is 5.8.8
        What is 'perl -V'
      Wait I looked at my program listing it says perl 5.8.8 build 820 (~49mb) and perl 5.8.8 build 822 (~50mb) Is that the problem?
        at the command prompt,
        C:\perl -v
          a lc -v gives a shortform of your perl version (uc "V" gives far more detail).

        Your report of two different builds suggests that you do indeed have more than one (build of) perl... which, in turn, suggests that your path, associations or somesuch dose'y thing changed during your five minutes (or, I suppose that you have one which is badly b0rked).

        You may wish check path... and perhaps windows' search as an offhand way to check the possibilities of multiple builds in distinct directories.

Re: Module Problem out of the Blue
by Anonymous Monk on Dec 24, 2007 at 01:23 UTC
    Will like to add, it gives the same error when I try to start perl packet manager by saying C:\>ppm ...that means I need to install activeperl and all my customly installed modules all over again?
Re: Module Problem out of the Blue
by narainhere (Monk) on Dec 24, 2007 at 10:36 UTC
    You might find this thread useful for installing modules as it deals with PPM and windows

    The world is so big for any individual to conquer

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://658822]
Approved by GrandFather
Front-paged by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-19 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found