For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > March 2004 > Re: Problem installing MIME-Base64 3.00









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Problem installing MIME-Base64 3.00
Tassilo v. Parseval

2004-03-27, 12:01 am

Also sprach Andy Squires:

> I'm trying to install MIME-Base64-3.00 in order to be able to install
> Mail::Sender. I run:
>
> perl Makefile.PL PREFIX=~
>
> to install in my local directory. When I run make I get output like the
> below. Any suggestions? Is there a library missing somewhere, or maybe
> it has something to do with the C compiler on Solaris? Suggestions on
> what I should investigate?
>
> Thanks,
>
> Andy
>
> Make output:
> cc -c -xO3 -xdepend -DVERSION=\"3.00\" -DXS_VERSION=\"3.00\" -
> KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE Base64.c
> *** Error code 10
>
>
> "/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: invalid
> token: ##
> "/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: undefined or
> not a type: PL_


[ snipped roughly 2600 lines. Don't do that ]

It might indeed be a problem with Solaris' C compiler. I remember that I
was able to make it work with an additional switch telling the compiler
to expect a certain flavour of C (ANSI in this one). Try:

perl Makefile.PL PREFIX=~ CCFLAGS=-Xa

Tassilo
--
$_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({
pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#;
$_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com