提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等
温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的
直接安装sh in.sh时
-
- useradd: user 'wdcpu' already exists
- installing mysql...
- checking build system type... x86_64-unknown-linux-gnu
- checking host system type... x86_64-unknown-linux-gnu
- checking target system type... x86_64-unknown-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)... no
- checking how to create a ustar tar archive... gnutar
- checking for style of include used by make... none
- checking for gcc... no
- checking for cc... no
- checking for cl.exe... no
- configure: error: in `/root/lanmp/mysql-5.1.61':
- configure: error: no acceptable C compiler found in $PATH
- See `config.log' for more details.
- ----Install Error: mysql configure err -----------
复制代码
在网上搜了一下可能是少 gcc
结果yum install gcc时又有如下报错
-
- Error: Package: glibc-headers-2.12-1.47.el6_2.12.x86_64 (updates)
- Requires: kernel-headers >= 2.2.1
- Error: Package: glibc-headers-2.12-1.47.el6_2.12.x86_64 (updates)
- Requires: kernel-headers
- You could try using --skip-broken to work around the problem
- ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
- kernel-2.6.32-220.13.1.el6.x86_64 has missing requires of kernel-firmware >= ('0
- ', '2.6.32', '220.13.1.el6')
复制代码
求助 |