On 3/4/04 Baiss Eric Magnusson wrote: >I went back and removed files and then tried a clean install of ><Mail-Sendmail-0.78.tar>.
[snipped description of errors] >The errors most certainly relate to the way Base64 and QuotedPrint were >installed, now if I can just find the versions of those modules to go >with my current version of <Sendmail>. This is where you missed a key bit of advice -- have the CPAN do the installation for you. Many Perl modules have dependencies on other modules, which themselves may have dependencies. In your Terminal, type 'cpan' without the quotes. You'll get the CPAN shell, and the first time you'll be taken through its configuration. On Panther/darwin, you can safely accept the config defaults (when picking archive sites, stick to your own continent). At the cpan shell prompt, type 'h' (no quotes) to see the available commands. Here's what will work most times: 1. at the cpan> shell prompt, type 'i' and the name of the module as a regular expression, and hit return (you'll get something like what follows here: cpan> i /Mail::Sendmail/ Module Mail::Sendmail (M/MI/MIVKOVIC/Mail-Sendmail-0.79.tar.gz) Module Tindermail::Sendmail (Z/ZL/ZLIPTON/Devel-Tinderclient-1.2.zip) 2 items found OK, the first one looks like what we want. For more info, search on /Mail-Sendmail/ , which will match the filename of the archive. cpan> i /Mail-Sendmail/ Distribution id = M/MI/MIVKOVIC/Mail-Sendmail-0.79.tar.gz CPAN_USERID MIVKOVIC (Milivoj Ivkovic <[EMAIL PROTECTED]>) CALLED_FOR M/MI/MIVKOVIC/Mail-Sendmail-0.79.tar.gz CONTAINSMODS Mail::Sendmail MD5_STATUS OK archived tar build_dir /Users/bva/.cpan/build/Mail-Sendmail-0.79 incommandcolor 0 install YES localfile /Users/bva/.cpan/sources/authors/id/M/MI/MIVKOVIC/Mail-Sendmail-0.79.tar .gz make YES make_test YES prereq_pm prereq_pm_detected 1 unwrapped YES writemakefile YES Yes, that's it. Now, copy the Distribution id, type 'install ' at the cpan> prompt, paste in the id, and press return: cpan> install M/MI/MIVKOVIC/Mail-Sendmail-0.79.tar.gz CPAN will do the necessary prerequisite (dependency) checks, downloads, unpacks, etc., for you. Just watch it go by. Then, when everything it needs is there, it will make, test, and install the module. If something isn't right, test, make, make test, or make install will fail and let you know what happened. Send THAT to this list for advice. At that point you and we will have a much better of solving any problems. I just did it on Panther 10.3.2. I allowed Mail::Sendmail to install without changing the test script, test.pl. Copying the sample in the README (also at <http://www.cpan.org/modules/by-module/Mail/Mail-Sendmail-0.79.readme>), I wrote this script (substitute your own to, from, and smtp server.): #!/usr/bin/perl -w use strict; use Mail::Sendmail; my %mail = ( To => '[EMAIL PROTECTED]', From => '[EMAIL PROTECTED]', Message => "This is a very short message", smtp => 'my.mail-smtp.server.com', ); sendmail(%mail) or die $Mail::Sendmail::error; print "OK. Log says:\n", $Mail::Sendmail::log; __END__ Worked out of the box. ## OK. Log says: Mail::Sendmail v. 0.79 - Thu Mar 4 19:25:09 2004 Date: Thu, 4 Mar 2004 19:25:09 -0800 Server: my.mail-smtp.server.com Port: 25 From: [EMAIL PROTECTED] Subject: Sendmail Test To: [EMAIL PROTECTED] Result: 250 2.0.0 i253PGnJ084630 Message accepted for delivery ## And I received the message a moment later. Give it a try. - Bruce __bruce__van_allen__santa_cruz__ca__