看板FreeBSD
标 题Re: 找不到 sperl5
发信站OpenFind 网路论坛 (Sat Jul 31 04:27:02 2004)
转信站ptt!ctu-reader!ctu-gate!news.nctu!fu-berlin.de!newsgate.cuhk.edu.hk!ne
※ 引述《[email protected] (Yen-Ming Lee)》之铭言:
> ※ 引述《[email protected]》之铭言:
> : 我用 lang/perl5.8 安装 perl
> : make ENABLE_SUIDPERL=yes install
> : 试过三个版本 5.8.2 5.8.4 5.8.5
> : 都找不到 sperl5 的档案
> : 因为网站上有个网页要用到 sperl5
> : 而 perl 被我升级之後,竟然没有 sperl5
> : 这下子要被老板刮两层皮了。
> # ln -s /usr/local/bin/sperl5.8.4 /usr/local/bin/sperl
perl5.8.5 上有点问题
/var/log/httpd-error.log 的记录如下
(13)Permission denied: mod_mime_magic: can't read `/usr/local/www/cgi-bin/ping.pl' sperl needs fd script
You should not call sperl directly; do you need to change a #! line from sperl to perl?
Premature end of script headers: /usr/local/www/cgi-bin/ping.pl
--
好康讯息!
Openfind 提供免费拨接电话:40508888
帐号:openfind 密码:openfind
--
http://bbs.openfind.com.tw
※来源:61.221.*