Re: problems building FCGI.pm

Sven Verdoolaege (skimo@breughel.ufsia.ac.be)
Wed, 19 Feb 1997 20:20:06 +0100

Message-Id: <19970219202006.LQ28196@breughel.ufsia.ac.be>
Date: Wed, 19 Feb 1997 20:20:06 +0100
From: skimo@breughel.ufsia.ac.be (Sven Verdoolaege)
To: bowen@hotwired.com (Bowen Dwelle)
Subject: Re: problems building FCGI.pm
In-Reply-To: <3.0.1.32.19970218213233.00e951e4@get.hotwired.com>; from Bowen Dwelle on Feb 18, 1997 21:32:33 -0800

On Feb 18, bowen@hotwired.com (Bowen Dwelle) wrote:
> I am trying to build the fastCGI perl module, using either perl 5.003(_0)
> or perl 5.003_26 (perl 5.004b4). This is on Solaris 2.5.1. I have the
> latest fastCGI distribution from www.fastcgi.com. There are two ways of
> integrating FCGI described in the fcgi-perl.html in the docset: a) use
> sfio, and b) use stdio. 
> 
> After much hacking, I can't get either to build successfully. sfio builds
> ok by itself, but fails like this:
> 
> %[486]gossip:~/perl/FCGI-0.26% make
> Makefile built with ExtUtils::MakeMaker v 5.34 Current Version is 5.39.
> /usr/people/bowen/perl5/bin/perl -I/usr/people/bowen/perl/perl5.003_26/lib
> -I/usr/people/bowen/perl/perl5.003_26/lib
> /usr/people/bowen/perl/perl5.003_26/lib/ExtUtils/xsubpp  -typemap
> /usr/people/bowen/perl/perl5.003_26/lib/ExtUtils/typemap FCGI.xs >FCGI.tc
> && mv FCGI.tc FCGI.c
> Please specify prototyping behavior for FCGI.xs (see perlxs manual)
> gcc -c  -I/usr/people/bowen/perl/sfio/include -O    -DVERSION=\"0.26\"
> -DXS_VERSION=\"0.26\" -fpic -I/usr/people/bowen/perl/perl5.003_26  FCGI.c
> FCGI.xs:20: parse error before `Sfdisc_t'

I find this hard to believe.
Are you sure perl is compiled with sfio support ?
perl -MConfig -e 'print $Config{usesfio}'
should return
true
and
perl -MConfig -e 'print $Config{useperlio}'
define

If they do, send me the output of
gcc -c  -I/usr/people/bowen/perl/sfio/include -O    -DVERSION=\"0.26\" -DXS_VERSION=\"0.26\" -fpic -I/usr/people/bowen/perl/perl5.003_26 -H FCGI.c

skimo