标题: 请问高手linux里gcc是什么?我装apache [打印本页] 作者: hoter 时间: 2003-04-08 20:34 标题: 请问高手linux里gcc是什么?我装apache 请问高手linux里gcc是什么?我装apache _1.3.27和php-4.3.1时老提示?????????
======== Error Output for sanity check ========
cd ..; c89 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEED `./apaci` -o helpers/dummy helpers/dummy.c -lm
/usr/bin/c89: line 10: /usr/bin/gcc: No such file or directory
/usr/bin/c89: line 10: exec: /usr/bin/gcc: cannot execute: No such file or diretory
make: *** [dummy] Error 126
============= End of Error Report =============
[root@hao php-4.3.1]# ./configure --with-apache=../apache_1.3.27 --enable-trackvars
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for working sed... sed
checking host system type... i686-pc-linux-gnu
Updated php_version.h
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
[root@hao php-4.3.1]# make
make: *** No targets specified and no makefile found. Stop.
[root@hao php-4.3.1]# make install
make: *** No rule to make target `install'. Stop.作者: scaning 时间: 2003-04-08 20:47 标题: 请问高手linux里gcc是什么?我装apache 是一种编译器,Unix下很多程序都是用C编的,因此,必须有CC或者GCC来编译。作者: hoter 时间: 2003-04-08 20:56 标题: 请问高手linux里gcc是什么?我装apache 我的是 linux,这样我 怎么解决上面的问题呢,谢谢,急啊!!!!!作者: enfuzion 时间: 2003-04-08 21:29 标题: 请问高手linux里gcc是什么?我装apache 安装gcc作者: peter333 时间: 2003-04-08 21:48 标题: 请问高手linux里gcc是什么?我装apache install development tools作者: hoter 时间: 2003-04-08 22:11 标题: 请问高手linux里gcc是什么?我装apache install development tools是什么啊,拜托,我是菜鸟,说详细好么作者: hoter 时间: 2003-04-08 22:11 标题: 请问高手linux里gcc是什么?我装apache 怎么安装gcc啊作者: enfuzion 时间: 2003-04-08 22:15 标题: 请问高手linux里gcc是什么?我装apache 如果是debian,只要输入apt-get install gcc
然后进入新建的目录执行
./configure
make
make install (must root)作者: hoter 时间: 2003-04-08 22:40 标题: 请问高手linux里gcc是什么?我装apache 又出现这样,惨啊!!!!
[root@hao gcc-3.2.2]# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /root/download/gz/gcc-3.2.2 using "mt-frag"
./configure: line 7: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[root@hao gcc-3.2.2]# make
Configuring in ./libiberty
creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
make: *** [configure-target-libiberty] Error 1
[root@hao gcc-3.2.2]# make install
/bin/sh ./mkinstalldirs /usr/local /usr/local作者: buaaytt 时间: 2003-04-08 23:05 标题: 请问高手linux里gcc是什么?我装apache 你的安装光盘里肯定有gcc的rpm包,装上就行了作者: hoter 时间: 2003-04-08 23:12 标题: 请问高手linux里gcc是什么?我装apache 怎么查看现在是否已经装有了gcc,或cc,还有版本作者: lb_20016 时间: 2003-04-08 23:57 标题: 请问高手linux里gcc是什么?我装apache
如果没有安装gcc,那么就先安装gcc,然后再
./configure
make
make install作者: hoter 时间: 2003-04-09 09:18 标题: 请问高手linux里gcc是什么?我装apache 可是,我装的时候出现
先解压了然后
[root@hao gcc-3.2.2]# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /root/download/gz/gcc-3.2.2 using "mt-frag"
./configure: line 7: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[root@hao gcc-3.2.2]# make
Configuring in ./libiberty
creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
make: *** [configure-target-libiberty] Error 1
[root@hao gcc-3.2.2]# make install
/bin/sh ./mkinstalldirs /usr/local /usr/local作者: enfuzion 时间: 2003-04-09 09:21 标题: 请问高手linux里gcc是什么?我装apache 你没有安装gcc,先安装了再说作者: hoter 时间: 2003-04-09 09:44 标题: 请问高手linux里gcc是什么?我装apache 怎么安装gcc啊,呜^^^^^^^^^^^
用光盘都不行啊,我在添加软件包那里删除了,再安装可是还是gcc -v还是不出来作者: lb_20016 时间: 2003-04-09 10:06 标题: 请问高手linux里gcc是什么?我装apache [quote]原帖由 "hoter"]在终端那里用鼠标选择,然后单机右键就可以复制了[/quote 发表:
复制完之后粘贴到哪里啊,好象在win2000下不能访问linux分区啊?该不会是用软盘,优盘之类的吧?
还有就是gcc不是原先就安装上了的吗?在你装系统的时候。
默认安装的呀!作者: hoter 时间: 2003-04-09 10:17 标题: 请问高手linux里gcc是什么?我装apache 复制后直接粘贴\到这里来啊.
我不知道什么时候给搞掉了gcc,惨啊,帮帮我把高手们,呜^^^^^^^^^^^
我现在一解压执行就这样
[root@hao gz]# cd gcc-3.2.2
[root@hao gcc-3.2.2]# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /root/download/gz/gcc-3.2.2 using "mt-frag"
./configure: line 7: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.作者: hoter 时间: 2003-04-09 16:09 标题: 请问高手linux里gcc是什么?我装apache ok了,用系统设置->;软件包把整个开发工具都删除,然后在安装ok,只是要用光盘.谁要是研究出用tar或rpm装的告诉我,谢谢