I believe that a new feature in the Makefile.PL tries to determine the
location of the first swish-e in your PATH. If that version is not the
current 2.5.2 version, then your header and library are out of sync.
if you are installing 2.5.2 in a different location that 2.4.2 (which is
likely a good idea, since you're trying to set it up in parallel and
then move over, I assume), you might set the SWISHBIN env variable prior
to running perl Makefile.PL.
Example:
perl Makefile.PL SWISHBIN=/path/to/2.5.2/bin/swish-e
try:
perl Makefile.PL SWISHHELP
to see the new usage statement.
and finally, make sure you have done a 'make install' on the swish-e
binary before compiling the perl API. That way the API is getting the
current header and library files.
Brad Miele wrote on 11/15/04 8:22 AM:
> I am midway through the install of 2.5.2 on my machines,
>
> I get the following error when running make in the perl directory:
>
> su-2.05b# gmake
> cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing
> -I/usr/local/include -O -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -DPIC
> -fPIC "-I/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE" API.c
> API.xs: In function `XS_SWISH__API_push_meta_list':
> API.xs:378: syntax error before `*'
> API.xs:379: `o' undeclared (first use in this function)
> API.xs:379: (Each undeclared identifier is reported only once
> API.xs:379: for each function it appears in.)
> gmake: *** [API.o] Error 1
> su-2.05b#
>
> line 378, where the trouble seems to begin, is:
>
> SV *o = sv_newmortal();
>
> i am sure that this is something that I am doing wrong (standard
> disclaimer) any thoughts?
>
> Brad
> ------------------------------------------------------------
> Brad Miele
> Technology Director
> IPNStock
> (866) 476-7862 x902
> bmiele@ipnstock.com
>
> Bizoos, n.:
> The millions of tiny individual bumps that make up a
> basketball.
> -- Rich Hall, "Sniglets"
>
--
Peter Karman . http://www.cray.com/craydoc/ . karman(at)not-real.cray.com
Received on Mon Nov 15 07:49:18 2004