apache_1.3.27安装设置不成功,老出现错误提示!

由 zdl333 在 07-21-2003 15:51 发表:

apache_1.3.27安装设置不成功,老出现错误提示!

提示:[root@A40 src]# ./Configure

Using config file: Configuration

Creating Makefile

+ configured for Linux platform

+ setting C pre-processor to /usr/bin/cpp

+ checking for system header files

+ adding selected modules

+ 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 -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED -o helpers/dummy helpers/dummy.c -lm

/bin/sh: line 1: gcc: command not found

make: *** [dummy] Error 127

============= End of Error Report =============

Aborting!

请大人们帮帮忙


由 llcspring 在 07-21-2003 22:39 发表:


装gcc啊


欢迎光临我的网站

http://ws953-45.jlu.edu.cn/

ftp://ws953-45.jlu.edu.cn/

提供Debian镜像

100多G的Linux|Unix数据等您下载 。


由 zdl333 在 07-22-2003 11:12 发表:


哪里有gcc下载


程序设计从没放弃,linux学习一直努力!

----------------------------------------------------

C4 2.4G;intel-845PE AC'97;DDR333 256M;30G(rh9.0从盘);80G(win2000主盘);GF4-MX440 64M;Reltek 8139 100M;


由 llcspring 在 07-22-2003 12:58 发表:


到我的网站

http://202.198.64.217/mirrors/gnu/gcc/gcc-3.2.3.tar.gz

或者到

http://ftp.gnu.org/gnu/gcc

下载


欢迎光临我的网站

http://ws953-45.jlu.edu.cn/

ftp://ws953-45.jlu.edu.cn/

提供Debian镜像

100多G的Linux|Unix数据等您下载 。


由 zdl333 在 07-22-2003 14:52 发表:


下了个gcc-3.3.tar.gz,但是很难装上,请楼上高手再指点迷津


程序设计从没放弃,linux学习一直努力!

----------------------------------------------------

C4 2.4G;intel-845PE AC'97;DDR333 256M;30G(rh9.0从盘);80G(win2000主盘);GF4-MX440 64M;Reltek 8139 100M;


由 llcspring 在 07-22-2003 15:05 发表:


粗略的可以这么装

$tar jxvf gcc-3.2.3.tar.bz2 &&

cd gcc-3.2.3 &&

mkdir ../gcc-build &&

cd ../gcc-build &&

../gcc-3.2.3/configure --prefix=/usr \

--enable-shared --enable-threads=posix \

--enable-__cxa_atexit --enable-clocale=gnu \

--enable-languages=c,c++ &&

make &&

make install &&

rm /lib/cpp -f &&

ln -s ../usr/bin/cpp /lib &&

rm /usr/bin/cc -f &&

ln -s gcc /usr/bin/cc &&

rm /usr/lib/libiberty.a -f


欢迎光临我的网站

http://ws953-45.jlu.edu.cn/

ftp://ws953-45.jlu.edu.cn/

提供Debian镜像

100多G的Linux|Unix数据等您下载 。


由 zdl333 在 07-22-2003 15:55 发表:

**** </

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus