MIME-BASE64
(Now listening to... Grapefruit Moon from the album "Closing Time" by Tom Waits)
Kung-Log wants MIME-BASE64 to be installed to support file uploads. Not knowing if I have it or not, I found these install steps and preformed them as root one at a time. Everything worked.
# MIME::Base64
curl -O http://www.cpan.org/modules/by-module/MIME/MIME-Base64-2.12.tar.gz
tar zxvf MIME-Base64-2.12.tar.gz
cd MIME-Base64-2.12
perl Makefile.PL
make
make test
sudo make install
Here's a dump from the terminal window...
[mac:~] root# curl -O http://www.cpan.org/modules/by-module/MIME/MIME-Base64-2.12.tar.gz
% Total % Received % Xferd Average Speed Time Curr.
Dload Upload Total Current Left Speed
100 10938 100 10938 0 0 2601 0 0:00:04 0:00:04 0:00:00 2734
[mac:~] root# [mac:~] root# tar zxvf MIME-Base64-2.12.tar.gz
MIME-Base64-2.12
MIME-Base64-2.12/t
MIME-Base64-2.12/t/quoted-print.t
MIME-Base64-2.12/t/base64.t
MIME-Base64-2.12/t/unicode.t
MIME-Base64-2.12/QuotedPrint.pm
MIME-Base64-2.12/Changes
MIME-Base64-2.12/Base64.xs
MIME-Base64-2.12/MANIFEST
MIME-Base64-2.12/Base64.pm
MIME-Base64-2.12/Makefile.PL
MIME-Base64-2.12/README
[mac:~] root# cd MIME-Base64-2.12
[mac:~/MIME-Base64-2.12] root# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for MIME::Base64
[mac:~/MIME-Base64-2.12] root# make
mkdir blib
mkdir blib/lib
mkdir blib/lib/MIME
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/MIME
mkdir blib/arch/auto/MIME/Base64
mkdir blib/lib/auto
mkdir blib/lib/auto/MIME
mkdir blib/lib/auto/MIME/Base64
mkdir blib/man3
cp Base64.pm blib/lib/MIME/Base64.pm
cp QuotedPrint.pm blib/lib/MIME/QuotedPrint.pm
/usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl /System/Library/Perl/ExtUtils/xsubpp -typemap /System/Library/Perl/ExtUtils/typemap Base64.xs > Base64.xsc && mv Base64.xsc Base64.c
cc -c -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -Os -DVERSION=\"2.12\" -DXS_VERSION=\"2.12\" -I/System/Library/Perl/darwin/CORE Base64.c
Running Mkbootstrap for MIME::Base64 ()
chmod 644 Base64.bs
LD_RUN_PATH="" cc -o blib/arch/auto/MIME/Base64/Base64.bundle -bundle -flat_namespace -undefined suppress Base64.o
chmod 755 blib/arch/auto/MIME/Base64/Base64.bundle
cp Base64.bs blib/arch/auto/MIME/Base64/Base64.bs
chmod 644 blib/arch/auto/MIME/Base64/Base64.bs
Manifying blib/man3/MIME::Base64.3
Manifying blib/man3/MIME::QuotedPrint.3
[mac:~/MIME-Base64-2.12] root# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base64............ok
t/quoted-print......ok
t/unicode...........skipped test on this platform
All tests successful, 1 test skipped.
Files=3, Tests=306, 1 wallclock secs ( 0.22 cusr + 0.06 csys = 0.28 CPU)
[mac:~/MIME-Base64-2.12] root# sudo make install
Installing /Library/Perl/darwin/auto/MIME/Base64/Base64.bs
Installing /Library/Perl/darwin/auto/MIME/Base64/Base64.bundle
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /Library/Perl/darwin/MIME/Base64.pm
Installing /Library/Perl/darwin/MIME/QuotedPrint.pm
Installing /usr/share/man/man3/MIME::Base64.3
Installing /usr/share/man/man3/MIME::QuotedPrint.3
Writing /Library/Perl/darwin/auto/MIME/Base64/.packlist
Appending installation info to /System/Library/Perl/darwin/perllocal.pod
[mac:~/MIME-Base64-2.12] root#
Leave a comment