MIME::Base64 is now required
Looks like MIME::Base64 is now required. This doesn't seem to be documented, and it may cause installations or upgrades to fail.
Test case
Fresh install of
BeijingRelease beta, with normal configuration.
The
testenv script indicates no problems. However, accessing the
view script cases (several variants of) the following error message:
Software error:
Can't locate MIME/Base64.pm in @INC
(@INC
contains: ../lib /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl) at ../lib/TWiki/Net.pm line 32.
As indicated, this is caused by the
use MIME::Base64; added 22 Jan 2002.
The
testenv script should catch this and indicate how it can be resolved. The installation docs should also indicate that this module is now required.
Environment
| TWiki version: |
TWiki20020803beta |
| TWiki plugins: |
none |
| Server OS: |
Mac OS X 10.1.5 |
| Web server: |
Apache |
| Perl version: |
5.6.0 |
| Client OS: |
|
| Web Browser: |
|
--
ToddJonker - 20 Aug 2002
Follow up
Fix record
Todd, can you confirm whether
MacOS X actually requires other modules, i.e. those listed in
@requiredModsNonUnix in
CVSget:bin/testenv
? Simplest approach is to run latest testenv on a working
MacOS X TWiki system. I suspect it is like other Unixes, but if
sendmail is not installed by default then
Net::SMTP should probably be included, for example, and a similar argument applies to
Digest::SHA1 if
htpasswd is not available.
By the way, MIME::Base64 is included in Perl 5.005_03's core modules (
http://www.perldoc.com/perl5.005_03/lib.html
) - a bit weird that the
MacOS X Perl doesn't include this!
-- The module seems to be missing in many hosted accounts [ TomKagan 21 Nov 2002 ]
- Unless you are talking about Windows hosting, the lack of MIME:Base64 on hosted accounts is not an issue, because this module is only required by TWiki on Windows. --RD
- Nope, I mean Linux hosting. Of the three I've found (none I'm using for TWiki), they're probably busted installs of perl 5.6.0. It's not that big a deal, I guess. --TK
- If you run the latest TWikiAlphaRelease, and probably the latest beta, MIME::Base64 is not loaded on Linux, so the lack of it is not an issue --RD
--
RichardDonkin - 21 Aug 2002
I have updated CVS so that MIME::Base64 is only required if you are on a non-Unix platform or if you are using HTTP authentication to outbound HTTP proxies.
CVSget:bin/testenv
now tests for this, so if it doesn't complain on your system it should work OK.
--
RichardDonkin - 30 Aug 2002
TWiki.TWikiSystemRequirements shows the change for Windows already. However how many platforms are running TWiki other than Windows? Macintosh OS X at least one for sure!
--
GrantBow - 25 Jan 2003