免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3603 | 回复: 8
打印 上一主题 下一主题

怎么都搞不定,不知道为什么! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-16 00:05 |只看该作者 |倒序浏览
  1. Sorry, I cannot run apxs.  Possible reasons follow:

  2. 1. Perl is not installed
  3. 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
  4. 3. Apache was not built using --enable-so (the apxs usage page is displayed)
复制代码

导致php提示下载

论坛徽章:
0
2 [报告]
发表于 2007-07-16 06:55 |只看该作者
要学会用PORTS安装软件

论坛徽章:
0
3 [报告]
发表于 2007-07-16 08:39 |只看该作者
从源码安装,你会了解得更多

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
4 [报告]
发表于 2007-07-16 08:55 |只看该作者
那就让我们来解决问题吧:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)


1. perl -v
2. find / -name "apxs"
找到了依次执行一下子
3. httpd -l看看列出的模块告诉我们

论坛徽章:
0
5 [报告]
发表于 2007-07-16 11:31 |只看该作者
1.
# cd /usr/local/bin/
# ./perl -v

This is perl, v5.8.8 built for i386-freebsd-64int
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

2.
# find / -name "apxs"
/usr/local/apache/bin/apxs
/root/httpd-2.2.4/support/apxs

3.
# /usr/local/apache/bin/httpd -l
Compiled in modules:
  core.c
  worker.c
  http_core.c
  mod_so.c
#
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... yes
checking for Apache 1.x (hooks) module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support... no
checking for mod_charset compatibility option... no
checking for Caudium support... no
checking for CLI build... yes
checking for Continuity support... no
checking for embedded SAPI library support... no
checking for Zeus ISAPI support... no
checking for Milter support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web support... no
checking for Roxen/Pike support... no
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for chosen SAPI module... apache2handler

[ 本帖最后由 zouql 于 2007-7-16 11:37 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2007-07-16 12:50 |只看该作者
搞定php了mysql又出问题了
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find libmysqlclient_r under /usr/local/mysql.
Note that the MySQL client library is not bundled anymore!

还要装mysqlclient  ?

[ 本帖最后由 zouql 于 2007-7-16 12:55 编辑 ]

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
7 [报告]
发表于 2007-07-16 13:07 |只看该作者
是的,如果需要支持php-mysql则需要。

论坛徽章:
0
8 [报告]
发表于 2007-11-08 16:58 |只看该作者
原帖由 HonestQiao 于 2007-7-16 13:07 发表
是的,如果需要支持php-mysql则需要。



libmysqlclient_r
这个还要另外安装吗?
那里有得下载?

论坛徽章:
0
9 [报告]
发表于 2007-11-08 17:07 |只看该作者
configure: error: Cannot find libmysqlclient_r under /usr/local/mysql.
Note that the MySQL client library is not bundled anymore!
刚好找到这个文章!顶啊!!! 收录入博客!!!
http://cpu86.bokee.com/viewdiary.18894286.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP