- 论坛徽章:
- 0
|
我在sco下安装apache遇到大麻烦
我把apache 目录删掉,重新解包tar文件,重新来过,路径上已经把gcc的目录设置上了,还是出错,这回不一样了,不知道什么原因,请各位朋友帮帮我
# env
ENV=${_ENVFILE[(_=1)+(_$-=0)-_${-%%*i*}]}
HOME=/
HUSHLOGIN=FALSE
HZ=100
LOGNAME=root
MAIL=/usr/spool/mail/root
PATH=/bin:/etc:/usr/bin:tcb/bin:/opt/K/SKUNK2000/Gcc/2.95.2pl1/usr/local/bin
SHELL=/bin/sh
TERM=vt100
TZ=CST-8
_ENVFILE=/.kshrc
#
# ./configure --prefix=/opt/apache --enable-module=most --enable-shared=max --en
able-module=proxy --enable-shared=proxy --enable-module=rewrite --enable-shared=
rewrite
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
+ enabling mod_so for DSO support
Creating Makefile in src
+ configured for SCO 5 platform
+ setting C compiler to gcc
+ setting C pre-processor to NOT-AVAILABLE
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
disabling DBM support for mod_rewrite
(perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
o dbm_auth_module uses ConfigStart/End
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; gcc -DSCO5 -DNO_DBM_REWRITEMAP -DUSE_EXPAT -I./lib/expat-lite `.
/apaci` -o helpers/dummy helpers/dummy.c -lsocket -lmalloc -lprot -ltinfo
-lx -lm
cpp: installation problem, cannot exec `cpp': Arg list too long
*** Error code 1 (bu21)
============= End of Error Report =============
Aborting!
# |
|