From owner-freebsd-questions Wed Nov 27 11:58:35 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA08399 for questions-outgoing; Wed, 27 Nov 1996 11:58:35 -0800 (PST) Received: from www.communique.no (www.communique.no [193.212.204.33]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA08313 for ; Wed, 27 Nov 1996 11:57:17 -0800 (PST) Received: from www (193.212.204.33) by www.communique.no (EMWAC SMTPRS 0.80) with SMTP id ; Wed, 27 Nov 1996 20:58:45 +0100 Message-Id: <2.2.32.19961127215845.00527260@www.communique.no> Organization: Communique DA X-Sender: administrator@www.communique.no X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 27 Nov 1996 20:58:45 -0100 To: freebsd-questions@freebsd.org From: Are Bryne Subject: How to 'make' sfio? Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, I want to experiment with the mod_fastcgi for Apache. I've recompiled the httpd w/necessary changes. I need to do similarly for perl. According to http://www.fastcgi.com/kit/doc/fcgi-perl.htm, I've got two= options: * use the sfio library (recommended), or * Open Market's proprietary stdio replacement. I would like to follow the first option. So I've fetched sfio-oct95.tar.gz from nearby, and placed the contents in a temporary location. I've read the READMEs and [mM]akefile. I inserted iffe into my path, and tried make. What I got back was an error from iffe, complaining about a bad substitution. I edited makefile to ensure iffe was run with ksh (having had earlier problems with csh that ksh remedied), and it got a bit further. What it tells me now is: [snip] export CC; CC=3Dcc; /usr/local/bin/ksh ../../../bin/iffe run features/sfio cc -c -I. -O sfclose.c In file included from sfclose.c:1: sfhdr.h:619: conflicting types for `lseek' /usr/include/sys/types.h:84: previous delcaration of `lseek' sfhdr.h:650: conflicting types for `recv' /usr/include/sys/socket.h:331 previous declaration of `recv' *** Error code 1 Stop. [snip] gcc is version 2.6.3 freebsd -----"---- 2.1.5 Has anybody else seen this before? Know what to do? There is a high probability I might do something wrong somewhere. I just don't know what, as I am very new to FreeBSD and now (almost) next to nothing about UN*X. (Ideally, sfio would have have been 'ported' to freebsd, I should think) Thank you for making a great system! Are Bryne Communiqu=E9 DA Email: admin@communique.no Gaustadall=E9en 21 Phone: +47 22 95 86 77 N-0371 Oslo, Norway