Perl 5.004 + sfio + FastCGI: Success!

G. Philip Reger (philr@peoplelink.com)
Wed, 21 May 1997 11:54:01 -0700

Message-Id: <338344C9.47B1CDF@peoplelink.com>
Date: Wed, 21 May 1997 11:54:01 -0700
From: "G. Philip Reger" <philr@peoplelink.com>
To: FastCGI Developers List <fastcgi-developers@OpenMarket.com>
Subject: Perl 5.004 + sfio + FastCGI: Success!

I have successfully compiled perl5.004 with sfio97 and later installed
the FCGI 0.28. All this happened on Solaris 2.5.1.

The trick to getting perl to recognize sfio is to copy:

$SFIO_HOME/include/ast_common.h
$SFIO_HOME/include/sfio.h
$SFIO_HOME/include/sfio_t.h

To /usr/include and copy

$SFIO_HOME/lib/libsfio.a
$SFIO_HOME/lib/libvdelta.a

to /usr/lib.

Then simply run the perl Configure script like normal. It will ask you
is you want to use the Perl IO abstraction layer: Answer YES. It will
ask you if you want to use SFIO: Answer YES. After you have completely
built perl you can do a perl -V to see if the sfio module was
successfully included. If it was, go ahead and install the FCGI mod.

Thats it! You will most likely get compiler generated warnings
referencing the macro 'va_copy' in ast_common.h. You can ignore these.

Phil

-- 
G. Philip Reger
Mgr. Systems Operations
PeopleLink, Inc. - Connect. Communicate. Simply.