Board logo

标题: [求助] 安装gcc、lanmp时出错,麻烦帮忙看看。 [打印本页]

作者: sethcoen    时间: 2011-12-9 14:46     标题: 安装gcc、lanmp时出错,麻烦帮忙看看。

-------------------------------------------------------------------------------------------------------------------
Total                                                                              340 kB/s |  36 MB     01:48     
Running rpm_check_debug
Running Transaction Test
memory alloc (4194304 bytes) returned NULL.
lanmp.sh: line 86: ntpdate: command not found
hwclock is unable to get I/O port access:  the iopl(3) call failed.
setenforce: SELinux is disabled
sed: can't read /etc/selinux/config: No such file or directory
httpd: unrecognized service
mysqld: unrecognized service
error reading information on service httpd: No such file or directory
error reading information on service mysqld: No such file or directory
error reading information on service sendmail: No such file or directory

installing mysql...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/downloads/lanmp/mysql-5.1.56':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.


----Install Error: mysql configure err -----------

主机配置:linux vps,64M 内存 / 5G 硬盘,系统是centos 5.5,学习用的。

在安装lanmp之前,我试着安装gcc,但提示:
Transaction Summary
===================================================================================================================
Install       6 Package(s)
Upgrade       4 Package(s)

Total size: 34 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
memory alloc (16777216 bytes) returned NULL.
不晓得这是安装成功了,还是没成功。麻烦懂的帮忙看看。谢谢了:)
作者: admin    时间: 2011-12-9 22:54

没安装成功,内存溢出了
你的应该是openvz的vps,可以问下服务商




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2