Thread: [CSCMail-Users] Can't locate MIME/Parser.pm
Brought to you by:
countzer0
From: Pavlos P. <p_p...@ot...> - 2000-12-31 21:06:35
|
Hello, I have just installed cscmail throught the script and the rpm package cscmail-nomodules-1.6.1-1. During the exucation of the script i got nstalling /usr/lib/perl5/site_perl/5.005/i386-linux/Gtk/PerlGtkXmHTMLInt.h Installing /usr/lib/perl5/site_perl/5.005/i386-linux/Gtk/GtkXmHTMLDefs.h Files found in blib/arch --> Installing files in blib/lib into architecture dependend library tree! Installing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Gtk/XmHTML/autosplit.ix Writing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Gtk/XmHTML/.packlist Appending installation info to /usr/lib/perl5/5.00503/i386-linux/perllocal.pod Done, firing up the GUI ... Found Gtk::XmHTML Fetching Date::Manip and stopped. i executed again and when i did start cscmail i got Can't locate MIME/Parser.pm in @INC (@INC contains: /usr/lib/cscmail /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at /usr/bin/cscmail line 24. BEGIN failed--compilation aborted at /usr/bin/cscmail line 24. i cleaned the dir and i gave at xterm cscmail and i got the same errors. I read the /usr/bin/cscmail and i found the line but i do n't know anything about perl as a result i cannot help my self. Any ideas? Pavlos ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I love having the feeling of being in control while i have the sensation of speed The surfer of life ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
From: Count Z. <cou...@cy...> - 2001-01-03 01:28:34
|
Pavlos Parissis was overheard mumbling something about this on Sun, 31 Dec 2000 23:05:24 +0200 > Hello, > I have just installed cscmail throught the script and the rpm package > cscmail-nomodules-1.6.1-1. > Found Gtk::XmHTML > Fetching Date::Manip > and stopped. > i executed again and when i did start cscmail i got > Can't locate MIME/Parser.pm in @INC (@INC contains: /usr/lib/cscmail > /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 > /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 > ..) at /usr/bin/cscmail line 24. > BEGIN failed--compilation aborted at /usr/bin/cscmail line 24. > i cleaned the dir and i gave at xterm cscmail and i got the same errors. > > I read the /usr/bin/cscmail and i found the line but i do n't know > anything about perl as a result i cannot > help my self. > Any ideas? > > Pavlos Did it ever install Date::Manip? CSCMailInstaller.pl should download and install all the modules. If it was unable to install Date::Manip, you should install it yourself manually (CPAN is your friend) To find out if Date::Manip is installed, simply run perl -MDate::Manip -e '1' and if it drops to a prompt with no errors, Date::Manip is installed. If, on the other hand, it gives an error, Date::Manip is not installed. Definately Mime::Parser is not installed, as that is what CSCMail is barfing on... Simply read the INSTALL document, and it will list all the packages that you need. CSCMailInstaller.pl will go and get these for you and install them, but if it can't, you need to do so manually... Oh, and it took three days to respond because I am one of those wierd people who celebrates New Years and didn't even think to look at my mail on either Dec. 31st or Jan. 1st.... -Count Zero |
From: Jak <ja...@no...> - 2001-01-03 09:22:25
|
Happy new years... hope recovery is well in progress! Q: When I export (right click on folder name, select export folder, choose directory) I can only successfully export those folders containing a single message. If I export a folder containing more than one messge, then all the messages end up as one long message. (Eg when viewed in Pine, elm, balsa etc) The following messages appear in the console: Read on closed filehandle <TMP> at /usr/lib/cscmail/csclib.pl line 706. Use of uninitialized value at /usr/lib/cscmail/csclib.pl line 712. Read on closed filehandle <TMP> at /usr/lib/cscmail/csclib.pl line 706. Use of uninitialized value at /usr/lib/cscmail/csclib.pl line 712. (This is an exact cut'n'paste btw) I understand that this is some kind of logic flow problem/sequence issue, but my perl limitations far outweigh my abilities! Is there an updated csclib.pl or a workaround or some sort? Cheers and best wishes Jak PS Have switched HTML widgets to CscHTML - takes longer to generate (on my machine) but is SO much nicer. |
From: Pavlos P. <p_p...@ot...> - 2001-01-03 22:49:12
|
Hello Count Zero, > P > > Did it ever install Date::Manip? CSCMailInstaller.pl should download and > install all the modules. If it was unable to install Date::Manip, you should > install it yourself manually (CPAN is your friend) To find out if Date::Manip > is installed, simply run perl -MDate::Manip -e '1' and if it drops to a prompt > with no errors, Date::Manip is installed. If, on the other hand, it gives an > error, Date::Manip is not installed. > > Definately Mime::Parser is not installed, as that is what CSCMail is barfing > on... Simply read the INSTALL document, and it will list all the packages that > you need. CSCMailInstaller.pl will go and get these for you and install them, > but if it can't, you need to do so manually... > You had right so i installed but now i got [paul/usr/doc/cscmail-nomodules-1.6.1]$ cscmail Can't locate IO/Wrap.pm in @INC (@INC contains: /usr/lib/cscmail /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at /usr/lib/perl5/site_perl/5.005/MIME/ParserBase.pm line 93. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.005/MIME/ParserBase.pm line 93. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.005/MIME/Parser.pm line 69. BEGIN failed--compilation aborted at /usr/bin/cscmail line 24. [paul/usr/doc/cscmail-nomodules-1.6.1]$ rpm -qa |grep perl perl-DateManip-5.34-2 perl-TimeDate-1.08-6 groff-perl-1.15-8 perl-HTML-Parser-2.22-2 perl-5.00503-10 perl-MIME-Types-0.02-2mdk perl-IO-1.20-1 perl-URI-1.02-2 perl-MIME-tools-4.122-2 Which package has Wrap? the only package which i did installed is perl-GTK-gnome-0.6123 and this package don't have Wrap.pm. I found only these version of package for my perl version, for instance the perl-HTML-Parser-3.02-2mdk.i586.rpm needs perl-5.6.0 and believe me i am not going to upgrade all my system for just one program. Any ideas how to solve this problem? > > Oh, and it took three days to respond because I am one of those wierd people > who celebrates New Years and didn't even think to look at my mail on either > Dec. 31st or Jan. 1st.... > OK i am sorry you have right. Pavlos ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I love having the feeling of being in control while i have the sensation of speed The surfer of life ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
From: Count Z. <cou...@cy...> - 2001-01-04 01:16:12
|
Pavlos Parissis was overheard mumbling something about this on Thu, 04 Jan 2001 00:48:08 +0200 > Hello Count Zero, > > [paul/usr/doc/cscmail-nomodules-1.6.1]$ rpm -qa |grep perl > perl-DateManip-5.34-2 > perl-TimeDate-1.08-6 > groff-perl-1.15-8 > perl-HTML-Parser-2.22-2 > perl-5.00503-10 > perl-MIME-Types-0.02-2mdk > perl-IO-1.20-1 > perl-URI-1.02-2 > perl-MIME-tools-4.122-2 > > Which package has Wrap? IO::Wrap is part of IO::Stringy Which is needed by the Text::CSV_XS module which is needed by the DBD::CSV driver (if you are not choosing to use a real SQL database to store your mail) Again, CPAN is your friend... (as root: perl -MCPAN -e shell) and tell it to install DBD::CSV and it will go get all the dependancies for you nice and magically. The CSCMailInstaller.pl script should have gotten all this for you... Oh, and installing Perl modules via RPM is never a good idea... it is much better to use CPAN. > and believe me i am not going to upgrade all my system for just one program. Of course not... this, by the way, is one of the many reasons I am re-writing CSCMail in C and not using a database anymore... the dependancies are much to complex with Perl for most users to deal with. -CZ |
From: Pavlos P. <p_p...@ot...> - 2001-01-04 10:40:49
|
Hello Count Zero, > IO::Wrap is part of IO::Stringy Which is needed by the Text::CSV_XS module > which is needed by the DBD::CSV driver (if you are not choosing to use a real > SQL database to store your mail) > > Again, CPAN is your friend... (as root: perl -MCPAN -e shell) and tell it to > install DBD::CSV and it will go get all the dependancies for you nice and > magically. > i did it but it stopped with errors, correct me if i am wrong but this CPAN will install tarballs and I do n't like this, i have already install gnome-perl in tarballs and i am not going to install any other. As a result i searched for rpms. now i am getting Can't locate Mail/Header.pm in @INC (@INC contains: /usr/lib/cscmail /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at /usr/lib/perl5/site_perl/5.005/MIME/ToolUtils.pm line 38. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.005/MIME/ToolUtils.pm line 38. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.005/MIME/Tools.pm line 8. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.005/MIME/ParserBase.pm line 98. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.005/MIME/Parser.pm line 69. BEGIN failed--compilation aborted at /usr/bin/cscmail line 24. i have [root /home/paul]# rpm -qa|grep perl perl-DateManip-5.34-2 perl-TimeDate-1.08-6 groff-perl-1.15-8 perl-HTML-Parser-2.22-2 perl-5.00503-10 perl-MIME-Types-0.02-2mdk perl-IO-1.20-1 perl-IO-stringy-1.207-2 perl-Text-CSV_XS-0.18-2 perl-DBD-CSV-0.1021-2 perl-GTK-Gnome-0.7002-6mdk perl-URI-1.02-2 perl-MIME-tools-4.122-2 perl-MailTools-1.12-1 perl-DBI-1.14-8 [root /home/paul]# and the Header.pm file is here. [root /home/paul]# rpm -ql `rpm -qa --queryformat %{NAME}"\n"|grep perl` |grep Header.pm /usr/lib/perl5/site_perl/Mail/Header.pm as you can see i have installed 14 package in order to you cscmail but i haven't managed yet!! Any ideas? PAvlos -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I love having the feeling of being in control while i have the sensation of speed The surfer of life ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
From: Count Z. <cou...@cy...> - 2001-01-04 14:23:24
|
Pavlos Parissis was overheard mumbling something about this on Thu, 04 Jan 2001 12:39:43 +0200 > i did it but it stopped with errors, correct me if i am wrong but this CPAN will > install tarballs and > I do n't like this, i have already install gnome-perl in tarballs and i am not > going to install any other. > As a result i searched for rpms. The reason to use Tarballs/CPAN and not RPMS for perl modules is simple (and is exactly what is causing the following problem.) Perl is fairly finicky about the locations of it's files. If the files are not in the right places it cannot find them. RPM's for perl modules will invariably get it WRONG. Using CPAN will always get it right! For example, your site setup has @INC (the "includes" directory list) set to tell perl to look in the following directories for modules: /usr/lib/cscmail /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 Thats it... If a module is not in one of these directories, or beneath it, perl cannot find it. However, your Mail::Header module is in: /usr/lib/perl5/site_perl Well, that directory isn't in @INC, so perl doesn't look there for any modules. To fix this, move the Mail directory from site_perl to site_perl/5.005 But of course, this invalidates the whole reason to use RPMS... Once you manually move this file, you can no longer uninstall this module via RPM -e ... Again, Perl is NOT RPM friendly... DO NOT USE RPMs to install Perl modules. Use the CPAN shell. It will automatically install modules in the CORRECT locations, it will automatically download modules, it will automatically compile the modules for your system nice and cleanly, it will automatically install module dependancies, it will automatically test module installation and make sure everything is installed correctly. CPAN performs the same functions as RPM, but in a very Perl friendly manner. I highly recommend that you UNINSTALL (rpm -e) all of the perl modules that you have installed via RPM, and re-install them via CPAN... Otherwise you are going to have nothing but problems with any perl application you try to install and use. Part of this is because there are not RPM's for every perl module, part of it is because some of the RPMs you have installed are mdk rpms (and therefore compliant with the Mandrake filesystem layout) and others are NOT mdk rpms (and therefore live in some other location and perl cannot find them) If you are insistant on using RPMs to install perl modules, you will always have a hard time getting perl applications to run correctly, since you will never end up with a consistant and correctly installed perl module tree. -CZ |