Well, I used the API.xs file you sent me and ran 'perl Makefile.PL'
again, then 'make' and here is the output of make:
gcc -c -xO3 -xdepend -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -KPIC
-I/usr/perl5/5.00503/sun4-solaris/CORE API.c
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
gcc: API.c: linker input file unused since linking not done
Running Mkbootstrap for SWISH::API ()
chmod 644 API.bs
LD_RUN_PATH="/lib" cc -o blib/arch/auto/SWISH/API/API.so -R/lib -G API.o
-lm -lz
/bin/sh: cc: not found
make: *** [blib/arch/auto/SWISH/API/API.so] Error 1
Is there something else that I need to change in Makefile?
Thanks in advance,
Jeff St. Laurent
jstlau@ci.scarborough.me.us
-----Original Message-----
From: Bill Moseley [mailto:moseley@hank.org]
Sent: Fri 11/15/2002 4:13 PM
To: Jeff St. Laurent; Multiple recipients of list
Cc:
Subject: Re: [SWISH-E] Re: Trying to get dev version 2.3.4
working
At 12:59 PM 11/15/02 -0800, Jeff St. Laurent wrote:
>cp API.pm blib/lib/SWISH/API.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/typem
>ap -typemap typemap API.xs >xstmp.c && mv xstmp.c API.c
>Error: Cannot parse function definition from ' SV
*swish_handle'
>in API.x
>s, line 100
Ah! The short (cheep) answer is you are running 5.00503. Perl
is at 5.8
and you missed an entire release set of 5.6.x!
The real answer is 5.8 is forgiving, so it seems. It builds
without errors
on my machine. I'll send you an updated version soon that will
work for
5.00503.....
tappity tappity....
>make: *** [API.c] Error 1
>
>Thanks in advance.
>
>Jeff
>
>
> -----Original Message-----
> From: Bill Moseley [mailto:moseley@hank.org]
> Sent: Fri 11/15/2002 12:37 PM
> To: Multiple recipients of list
> Cc:
> Subject: [SWISH-E] Re: Trying to get dev version 2.3.4
working
>
>
>
> At 09:19 AM 11/15/02 -0800, Jeff St. Laurent wrote:
> >I downloaded the Makefile.PL.in file and reran
configure. That
>went
> >through fine. I then ran make. The end of it looks
like:
> >index.c: In function `do_index_file':
> >index.c:777: parse error before `<'
>
> Well, that's weird. That's a conflict from the
automatic
>nightly cvs
> build. But I'm not sure how it managed to get into the
nightly
>tarball. Odd.
>
> Anyway, I just ran the nightly build script again.
Fetch a new
>copy from
>
>
>http://swish-e.org/dev/swish-daily/swish-e-2.3-dev-04-2002-11-15.tar.gz
>
> or use CVS.
>
> Sorry for that trouble.
>
>
> --
> Bill Moseley
> mailto:moseley@hank.org
>
>
>
>
>
--
Bill Moseley
mailto:moseley@hank.org
Received on Mon Nov 18 21:10:50 2002