`
sillycat
  • 浏览: 2542849 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

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
 
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/1017632   String Handler,     Module and CPAN
 
Deployment 
 
Request and Header Info
 
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.
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
 
Finally, still fails to install https://github.com/gnosek/fcgiwrap.
 
Try this
 
Still not working, it seems hard on MAC for me.
 
References:
 
 
 
 

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics