Trying to build Text::Aspell 0.03 on Solaris 2.8 (using one of the 
SourceForge compile farm machines).  Seems perl was built with cc:

bash-2.03$ perl -V | grep cc=
    cc='cc', optimize='-xO3 -xdepend', gccversion=

When I try to make Text::Aspell I get lots of:

cp Aspell.pm blib/lib/Text/Aspell.pm
/usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 
/usr/perl5/5.00503/ExtUtils/xsubpp -noprototypes -typemap 
/usr/perl5/5.00503/ExtUtils/typemap -typemap typemap Aspell.xs >xstmp.c && mv xstmp.c 
Aspell.c
cc -c  -I/home/users/w/wh/whmoseley/aspell/include -xO3 -xdepend     
-DVERSION=\"0.03\"  -DXS_VERSION=\"0.03\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE 
 Aspell.c
"/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_
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: syntax error before or at: 
Gcurinterp
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: warning: old-style 
declaration or incorrect type for: Gcurinterp
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 42: invalid token: ##
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 42: undefined or not a type: 
PL_
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 42: syntax error before or at: 
Gninterps
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 42: warning: old-style 
declaration or incorrect type for: Gninterps

I don't really understand what's happening. 

Is there something I need to do in my xs module to get to build under 
this environment?

My xs code links with libaspell, and Aspell was built with gcc (or g++,
really).

Thanks,




-- 
Bill Moseley
[EMAIL PROTECTED]

Reply via email to