Re: problems building

Sven Verdoolaege (
Wed, 19 Feb 1997 20:20:06 +0100

Message-Id: <>
Date: Wed, 19 Feb 1997 20:20:06 +0100
From: (Sven Verdoolaege)
To: (Bowen Dwelle)
Subject: Re: problems building
In-Reply-To: <>; from Bowen Dwelle on Feb 18, 1997 21:32:33 -0800

On Feb 18, (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 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 >
> && mv 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
perl -MConfig -e 'print $Config{useperlio}'

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