Pickup Knowledge for Perl and Version Upgrade
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
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
configure & make & install
automake
libtool
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.
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:
Install pkg-config
> ./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:
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
Still not working, it seems hard on MAC for me.
References:
http://sillycat.iteye.com/blog/1012882
相关推荐
边城客栈学无止境 2020-07-05
Walter的学习笔记 2020-07-04
A宇 2020-06-14
边城客栈学无止境 2020-06-10
邓博学习笔记 2020-06-03
davidliu00 2020-05-26
ShiShuo 2020-05-16
Aggressivesnail 2020-05-10
ShiShuo 2020-04-26
hanxingwang00 2020-04-22
davidliu00 2020-03-06
ShiShuo 2020-03-06
ShiShuo 2020-03-05
Aggressivesnail 2020-02-28
aaLiweipeng 2020-02-01
amberom 2020-01-16
Walter的学习笔记 2020-01-06