加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Pickup Knowledge for Perl and Version Upgrade

发布时间:2020-12-15 23:46:39 所属栏目:大数据 来源:网络整理
导读:Pickup Knowledge for?Perl and Version Upgrade ? 1. Installation perl -v This is perl 5,version 12,subversion 4 (v5.12.4) ? Upgrade the perl to latest version curl -L http://xrl.us/installperlosx | bash ? Or? ? Go to official website and do
Pickup Knowledge for?Perl and Version Upgrade
?
1. Installation
>perl -v
This is perl 5,version 12,subversion 4 (v5.12.4)
?
Upgrade the perl to latest version
> curl -L http://xrl.us/installperlosx | bash
?
Or?
?
Go to official website and download the latest version 5.16.3
http://www.perl.org/get.html#osx
?
Upgrade cpan
>cpan
cpan>upgrade
?
2. Old Docs
http://sillycat.iteye.com/blog/1012882? ?Installation,basic hello world and how to run,array&String&Number
http://sillycat.iteye.com/blog/1012923? ?control structure
http://sillycat.iteye.com/blog/1012940? ?hash
http://sillycat.iteye.com/blog/1016428? ?regex
http://sillycat.iteye.com/blog/1017590? ?File
http://sillycat.iteye.com/blog/1017632? ?String Handler,? ? Module and CPAN
http://sillycat.iteye.com/blog/1021197? ?Web Programming
?
Deployment?
http://sillycat.iteye.com/blog/1055873
?
Request and Header Info
http://sillycat.iteye.com/blog/1073593
?
3. Enable Nginx to Handle Perl
autoconf
> curl -OL http://mirror.sdunix.com/gnu/autoconf/autoconf-2.69.tar.gz
configure & make &?install
?
automake
> curl -OL http://mirrors.kernel.org/gnu/automake/automake-1.9.tar.gz
libtool
> curl -OL http://open-source-box.org/libtool/libtool-2.4.tar.gz
?
Then try to install fcgiwrap
>autoreconf -i
?
Error Message during install fcgiwrap
configure.ac:32: error: possibly undefined macro: AC_DEFINE
????? If this token and others are legitimate,please use m4_pattern_allow.
????? See the Autoconf documentation.
autoreconf: /Users/carl/tool/autoconf-2.69/bin/autoconf failed with exit status: 1
?
Solution:
https://github.com/Automattic/node-canvas/wiki/installation---osx
?
Install pkg-config
> curl -OL http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz
> ./configure --prefix=/Users/carl/tool/pkg-config-0.28 --with-internal-glib
?
>autoreconf?-i
Working fine
>./configure —prefix=/Users/carl/tool/fcgiwrap
?
Error Message:
checking for FCGX_Init in -lfcgi... no
configure: error: FastCGI library is missing
?
Solution:
http://www.fastcgi.com/drupal/node/5
Install the fastcgi
> curl -OL http://www.fastcgi.com/dist/fcgi.tar.gz
?
Finally,still fails to install? https://github.com/gnosek/fcgiwrap.
?
Try this
http://wiki.nginx.org/SimpleCGI
?
Still not working,it seems hard on MAC?for me.
?
References:
http://sillycat.iteye.com/blog/1012882
?
http://www.perldancer.org/
http://www.php-oa.com/2011/12/02/perl-dancer-introduction.html
http://knowledgebase.cc/en/software-en/linux-en/how-to-install-fcgiwrap-to-serving-cgiperl-scripts-in-nginx/
?
http://jsdelfino.blogspot.ca/2012/08/autoconf-and-automake-on-mac-os-x.html

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读