fastcgi and perl 5.003

James M. Golovich (james@mail.netlite.com)
Wed, 9 Oct 1996 20:22:44 -0400 (EDT)

Date: Wed, 9 Oct 1996 20:22:44 -0400 (EDT)
From: "James M. Golovich" <james@mail.netlite.com>
To: fastcgi-developers@openmarket.com
Subject: fastcgi and perl 5.003
In-Reply-To: <199610091336.JAA02346@breckenridge.openmarket.com>
Message-Id: <Pine.LNX.3.91.961009201435.27489A-100000@piglet.pooh-corner.com>

Well I don't know if anyone has tried but I managed to get perl 5.003 to 
work with fastcgi... Heres what I did:

untar/compress'd fcgi-devel-kit.tar.Z and perl5.003.tgz.
cp -r fcgi-devel-kit/perl-5/common/* perl5.003/
cp fcgi-devel-kit/perl-5/perl5.002/Configure perl5.003

Added the following to the top of proto.h:

#ifdef _FCGI_STDIO
#undef printf
#endif
 
Added the following to the bottow of proto.h:

#ifdef _FCGI_STDIO
#define printf FCGI_printf
#endif

export FCGIDIR=fcgi-devel-kit
 
cd perl5.003
./fcgi-configure

make
make install

Compiled without a hitch...

Maybe this could make it into fcgi-devel-kit so people dont have to do 
this simple little patch.

James