building Perl for fastcgi on AIX
George Pipkin (gpp8p@holmes.acc.virginia.edu)
Wed, 28 Aug 1996 16:52:30 -0400
Date: Wed, 28 Aug 1996 16:52:30 -0400
Message-Id: <v02120d00ae4a2816885b@[128.143.85.101]>
To: fastcgi-developers@openmarket.com
From: gpp8p@holmes.acc.virginia.edu (George Pipkin)
Subject: building Perl for fastcgi on AIX
Dear fastcgi developers:
Is there anybody out there who has successfully made a version of Perl
with the fast-cgi extensions for AIX v4? I have been trying to do so, and
I have run into a number of problems.
First I tried to build it using the basic recepie. The fcgi-configure
goes well, but when I go to the make I get:
date: /home/gpp8p/fcgi/perl5.002 $ make
make: Cannot find a rule to create target /config.sh from dependencies.
Stop.
So I go into the config.sh and fix up all the /config.sh references to
be config.sh and I run the make again. This time it bombs out somewhat
further in the process with:
gcc: unrecognized option `-qmaxmem=8192'
`sh cflags libperl.a doio.o` doio.c
CCCMD = gcc -c -qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX
gcc: unrecognized option `-qmaxmem=8192'
In file included from /usr/include/sys/lockl.h:24,
from /usr/include/sys/vnode.h:43,
from /usr/include/jfs/jfsmount.h:21,
from /usr/include/jfs/ino.h:24,
from /usr/include/jfs/inode.h:22,
from /usr/include/sys/inode.h:22,
from /usr/include/sys/seg.h:24,
from /usr/include/sys/shm.h:31,
from doio.c:29:
/usr/include/sys/lock_def.h:188: parse error before `simple_lock_try'
/usr/include/sys/lock_def.h:188: warning: data definition has no type or storags
/usr/include/sys/lock_def.h:203: parse error before `lock_read_to_write'
/usr/include/sys/lock_def.h:203: warning: data definition has no type or storags
/usr/include/sys/lock_def.h:207: parse error before `lock_try_write'
/usr/include/sys/lock_def.h:207: warning: data definition has no type or storags
/usr/include/sys/lock_def.h:208: parse error before `lock_try_read'
/usr/include/sys/lock_def.h:208: warning: data definition has no type or storags
/usr/include/sys/lock_def.h:209: parse error before `lock_try_read_to_write'
/usr/include/sys/lock_def.h:209: warning: data definition has no type or storags
/usr/include/sys/lock_def.h:219: parse error before `lockl_mine'
/usr/include/sys/lock_def.h:219: warning: data definition has no type or storags
make: The error code from the last command is 1.
So I figure I'm going to have to patch the config.sh myself, so I do it
exactly as the directions say, and I do the make Makefile depend all, and
it bombs out like so:
`sh cflags libperl.a sv.o` sv.c
CCCMD = gcc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -D_NO_
sv.c: In function `sv_gets':
sv.c:2599: structure has no member named `_cnt'
sv.c:2614: structure has no member named `_ptr'
sv.c:2642: structure has no member named `_cnt'
sv.c:2643: structure has no member named `_ptr'
sv.c:2645: structure has no member named `_cnt'
sv.c:2646: structure has no member named `_ptr'
sv.c:2669: structure has no member named `_cnt'
sv.c:2670: structure has no member named `_ptr'
make: The error code from the last command is 1.
Keep in mind I'm trying to make this in my own directory and I don'g
have root on this machine. Anybody run into anything like this ? Anybody
do it successfully ?
- George Pipkin
******************************************************************************
George P. Pipkin h - (804)-296-3253
Advanced Technology Group w - (804)-924-1329
Office of Information Technologies
University of Virginia
****************************************************************************
**