注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

欢迎光临我的博客

 
 
 

日志

 
 

install Unix-Syslog-1.1 on solaris  

2010-12-26 13:37:30|  分类: 邮件服务 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
# gunzip Unix-Syslog-1.1.tar.gz
# tar -xvf Unix-Syslog-1.1.tar  
# cd Unix-Syslog-1.1
# ls
Artistic     Changes      MANIFEST     META.yml     Makefile.PL  README       Syslog.pm    Syslog.xs    test.pl
# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Unix::Syslog
# make
cp Syslog.pm blib/lib/Unix/Syslog.pm
/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp  -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap  Syslog.xs > Syslog.xsc && mv Syslog.xsc Syslog.c
cc -c    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff    -DVERSION=\"1.1\"  -DXS_VERSION=\"1.1\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"   Syslog.c
cc: unrecognized option `-KPIC'
cc: language ildoff not recognized
cc: Syslog.c: linker input file unused because linking not done
Running Mkbootstrap for Unix::Syslog ()
chmod 644 Syslog.bs
rm -f blib/arch/auto/Unix/Syslog/Syslog.so
LD_RUN_PATH="" cc  -G Syslog.o  -o blib/arch/auto/Unix/Syslog/Syslog.so   -lc  
cc: Syslog.o: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/Unix/Syslog/Syslog.so'
# ls
Artistic     MANIFEST     Makefile     README       Syslog.c     Syslog.xs    pm_to_blib
Changes      META.yml     Makefile.PL  Syslog.bs    Syslog.pm    blib         test.pl
# cd ..
# ls
# pwd
/opt/postfixext
# ls
CNDpostfix-2.7.2,REV=101208-SunOS5.10-sparc.pkg  db-4.7.25.NC-sol10-sparc-local
DBD-mysql-3.0002_5                               db-5.1.19
DBD-mysql-3.0002_5.tar                           extmail-1[2][1].2.tar
DBD-mysql-4.018.tar                              extman-1.1
DBI-1.607                                        extman-1[1][1].1.tar
DBI-1.607.tar                                    gdbm-1.8.3
Unix-Syslog-1.1                                  maildir_upgrade_mysql-1[1][1].0.tar
Unix-Syslog-1.1.tar                              postfix-2.7-patch02
binutils-2.21-sol10-sparc-local                  postfix-2.7.2
cgid-0[1][1].1beta.tar                           postfix-2.7.2.tar
courier-authlib-0.63.0                           slockd-0[1][1].99.tar.gz
courier-authlib-0.63.0.tar                       snapshot-20020115.tar
# rm -rf Unix-Syslog-1.1
# tar -xvf Unix-Syslog-1.1.tar
# ls
CNDpostfix-2.7.2,REV=101208-SunOS5.10-sparc.pkg  db-4.7.25.NC-sol10-sparc-local
DBD-mysql-3.0002_5                               db-5.1.19
DBD-mysql-3.0002_5.tar                           extmail-1[2][1].2.tar
DBD-mysql-4.018.tar                              extman-1.1
DBI-1.607                                        extman-1[1][1].1.tar
DBI-1.607.tar                                    gdbm-1.8.3
Unix-Syslog-1.1                                  maildir_upgrade_mysql-1[1][1].0.tar
Unix-Syslog-1.1.tar                              postfix-2.7-patch02
binutils-2.21-sol10-sparc-local                  postfix-2.7.2
cgid-0[1][1].1beta.tar                           postfix-2.7.2.tar
courier-authlib-0.63.0                           slockd-0[1][1].99.tar.gz
courier-authlib-0.63.0.tar                       snapshot-20020115.tar
# cd Unix-Syslog-1.1
# ls
Artistic     Changes      MANIFEST     META.yml     Makefile.PL  README       Syslog.pm    Syslog.xs    test.pl
# /usr/local/bin/perl  Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Unix::Syslog
# make
cp Syslog.pm blib/lib/Unix/Syslog.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.12.0/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.12.0/ExtUtils/typemap  Syslog.xs > Syslog.xsc && mv Syslog.xsc Syslog.c
gcc -B/usr/ccs/bin/ -c    -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O           -DVERSION=\"1.1\"  -DXS_VERSION=\"1.1\" -fPIC "-I/usr/local/lib/perl5/5.12.0/sun4-solaris/CORE"   Syslog.c
Running Mkbootstrap for Unix::Syslog ()
chmod 644 Syslog.bs
rm -f blib/arch/auto/Unix/Syslog/Syslog.so
gcc -B/usr/ccs/bin/  -G -L/usr/local/lib Syslog.o  -o blib/arch/auto/Unix/Syslog/Syslog.so      \
   -lc          \
 
chmod 755 blib/arch/auto/Unix/Syslog/Syslog.so
cp Syslog.bs blib/arch/auto/Unix/Syslog/Syslog.bs
chmod 644 blib/arch/auto/Unix/Syslog/Syslog.bs
Manifying blib/man3/Unix::Syslog.3
# make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/local/lib/perl5/site_perl/5.12.0/sun4-solaris/auto/Unix/Syslog/Syslog.so
Installing /usr/local/lib/perl5/site_perl/5.12.0/sun4-solaris/auto/Unix/Syslog/Syslog.bs
Installing /usr/local/lib/perl5/site_perl/5.12.0/sun4-solaris/Unix/Syslog.pm
Installing /usr/local/share/man/man3/Unix::Syslog.3
Appending installation info to /usr/local/lib/perl5/5.12.0/sun4-solaris/perllocal.pod
  评论这张
 
阅读(928)| 评论(1)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017