编译php报错:
checking lex output file root… ./configure: line 2540: lex: command not found
原因是缺少flex包。
[root@rhel php-5.1.6]# rpm -ihv /mnt/cdrom/Server/flex-2.5.4a-41.fc6.x86_64.rpm
解决!
2012-03-01
发表者 Venus
暂无评论
编译php报错:
checking lex output file root… ./configure: line 2540: lex: command not found
原因是缺少flex包。
[root@rhel php-5.1.6]# rpm -ihv /mnt/cdrom/Server/flex-2.5.4a-41.fc6.x86_64.rpm
解决!
2012-03-01
发表者 Venus
暂无评论
编译php时出现的问题,解决:
[root@rhel php-5.1.6]# yum install -y openldap openldap-devel
然后重新编译!
2012-02-29
发表者 Venus
暂无评论
环境:
技术中心有一台彩色打印机,销售部不时的会用其打印合同,但不允许直接登录打印服务器操作,因为其中放置了SQL数据库及代码管理。之前在销售部与技术中心之间加了一台路由,保护开发的安全。所以问题来了,怎么才能让销售那边访问打印机。
解决:
文件共享、打印机共享、网上邻居都采用了一套协议,确切称之为接口,就是NETBIOS,关于netbios的资料在这里不描述,可以google之。
netbios使用的几个相关端口 TCP 137/139 UDP 137/138 TCP 445
可以在路由上做映射,将这几个端口全部映射到内网的打印机服务器上,然后通过访问路由上的”Wan”接口即可。
这里采用UNC方式访问共享:
开始-运行-键入”\\192.168.1.234″ 回车即可访问。
2012-02-28
发表者 Venus
暂无评论
2012-02-27
发表者 Venus
暂无评论
[root@rhel libevent-2.0.17-stable]# ./configure
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… configure: error: newly created file is older than distributed files!
Check your system clock
检查系统时间改为准确时间后再次编译通过。