Cannot install Date::Calc perl module

I'm running Solaris 11 on my machine and I need to install the Date::Calc perl module in order for one of my scripts to work.
When I run the following command:
sudo perl -MCPAN -e 'install Date::Calc'
I get the following error:
Tests succeeded but one dependency not OK (Bit::Vector)
STBEY/Date-Calc-6.3.tar.gz
[dependencies] -- NA
Running make install
make test had returned bad status, won't install without force
When trying to install Bit::Vector first, i.e. when running the following command:
sudo perl -MCPAN -e 'install Bit::Vector'
i get the following error message:
Checking if your kit is complete...
Looks good
Writing Makefile for Bit::Vector
Writing patchlevel.h for /usr/bin/perl (5.012003)
cp lib/Bit/Vector/Overload.pm blib/lib/Bit/Vector/Overload.pm
cp Vector.pm blib/lib/Bit/Vector.pm
cp Vector.pod blib/lib/Bit/Vector.pod
cp lib/Bit/Vector/Overload.pod blib/lib/Bit/Vector/Overload.pod
cp lib/Bit/Vector/String.pod blib/lib/Bit/Vector/String.pod
cp lib/Bit/Vector/String.pm blib/lib/Bit/Vector/String.pm
cc -c -DPTR_IS_LONG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -xO4 -DVERSION=\"7.2\" -DXS_VERSION=\"7.2\" -KPIC "-I/usr/perl5/5.12/lib/i86pc-solaris-64int/CORE" BitVector.c
sh: line 1: cc: not found
*** Error code 127
make: Fatal error: Command failed for target `BitVector.o'
STBEY/Bit-Vector-7.2.tar.gz
/usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
So it looks like the C compiler is missing. So I installed gcc via the following commands:
pkg install gcc-45
pkg install system/header
but I still get the same error when trying to install Bit::Vector. Indeed, when I type cc on the command-line, I get the command not found error. When I type gcc, however, I get gcc: no input files.
What should I do to fix this?
Thanks for your advice,
Dusan

So I ran the following command:
+/usr/perl5/5.8.4/bin/perlgcc -MCPAN -e 'install Bit::Vector'+
but it did not work either. I got the following error output.
CPAN.pm: Going to build S/ST/STBEY/Bit-Vector-7.2.tar.gz
cp lib/Bit/Vector/Overload.pm blib/lib/Bit/Vector/Overload.pm
cp Vector.pm blib/lib/Bit/Vector.pm
cp Vector.pod blib/lib/Bit/Vector.pod
cp lib/Bit/Vector/String.pod blib/lib/Bit/Vector/String.pod
cp lib/Bit/Vector/Overload.pod blib/lib/Bit/Vector/Overload.pod
cp lib/Bit/Vector/String.pm blib/lib/Bit/Vector/String.pm
gcc -c    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3 -xspace -xildoff    -DVERSION=\"7.2\"  -DXS_VERSION=\"7.2\" -KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE"   BitVector.c
gcc: unrecognized option '-KPIC'
gcc: language ildoff not recognized
gcc: language ildoff not recognized
gcc: BitVector.c: linker input file unused because linking not done
+/usr/perl5/5.8.4/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap Vector.xs > Vector.xsc && mv Vector.xsc Vector.c+
gcc -c    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3 -xspace -xildoff    -DVERSION=\"7.2\"  -DXS_VERSION=\"7.2\" -KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE"   Vector.c
gcc: unrecognized option '-KPIC'
gcc: language ildoff not recognized
gcc: language ildoff not recognized
gcc: Vector.c: linker input file unused because linking not done
Running Mkbootstrap for Bit::Vector ()
chmod 644 Vector.bs
rm -f blib/arch/auto/Bit/Vector/Vector.so
LD_RUN_PATH="" gcc  -G BitVector.o  Vector.o  -o blib/arch/auto/Bit/Vector/Vector.so
gcc: BitVector.o: No such file or directory
gcc: Vector.o: No such file or directory
gcc: no input files
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/Bit/Vector/Vector.so'
+/usr/bin/make -- NOT OK+
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

Similar Messages

  • Cannot install DBD::Oracle perl module with Oracle 11.2.0.3 client

    Hi
    I have been trying to install DBD::Oracle perl module on a Centos 5.7 server which is running Oracle client version 11.2.0.3. I have installed all dependencies prior to attempting installing the same and I am running into the following error -
    /usr/bin/ld: skipping incompatible /app/utiba/oracle/client/lib//libclntsh.so when searching for -lclntsh
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1Here are the complete details of my attempt of installation of the perl module -
    [root@tch1testuview1 DBD-Oracle-1.50]# perl Makefile.PL
    Using DBI 1.52 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
    Configuring DBD::Oracle for perl 5.008008 on linux (x86_64-linux-thread-multi)
    Remember to actually *READ* the README file! Especially if you have any problems.
    Installing on a linux, Ver#2.6
    Using Oracle in /app/utiba/oracle/client
    DEFINE _SQLPLUS_RELEASE = "1102000300" (CHAR)
    Oracle version 11.2.0.3 (11.2)
    Found /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
    Using /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
    Your LD_LIBRARY_PATH env var is set to '/app/utiba/oracle/client/lib:/lib:/usr/lib'
    Reading /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
    Reading /app/utiba/oracle/client/rdbms/lib/env_rdbms.mk
    WARNING: Oracle /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk doesn't define a 'build' rule.
    WARNING: I will now try to guess how to build and link DBD::Oracle for you.
             This kind of guess work is very error prone and Oracle-version sensitive.
             It is possible that it won't be supported in future versions of DBD::Oracle.
             *PLEASE* notify dbi-users about exactly _why_ you had to build it this way.
    Found header files in /app/utiba/oracle/client/rdbms/public.
    client_version=11.2
    DEFINE= -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112
    Checking for functioning wait.ph
    System: perl5.008008 linux builder10.centos.org 2.6.18-53.el5 #1 smp mon nov 12 02:14:55 est 2007 x86_64 x86_64 x86_64 gnulinux
    Compiler:   gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
    Linker:     /usr/bin/ld
    Sysliblist: -ldl -lm -lpthread -lnsl -lirc -lipgo
    Oracle makefiles would have used these definitions but we override them:
      CC:       $(GCC)
      CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
            $(SHARED_CFLAG) $(USRFLAGS)
               [$(GFLAG) -O2 $(CDEBUG) $(CCFLAGS) -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS -DLDAP_CM $(LPFLAGS) $(PLSQLNCGFLAGS) $(USRFLAGS)]
      LDFLAGS:  -o $@ $(LDOBJSZ) $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)stubs/ $(LDPATHFLAG)$(LIBHOME) $(LLIBIRC)
               [-o $@ -m32 -L/app/utiba/oracle/client/rdbms/lib/ -L$(LIBHOME) -L$(LIBHOME)stubs/ -L$(LIBHOME) -lirc -lipgo ]
    Linking with  -lclntsh -ldl -lm -lpthread -lnsl -lirc -lipgo -ldl -lm  [from $(OCISHAREDLIBS)]
    LD_RUN_PATH=/app/utiba/oracle/client/lib
    Using DBD::Oracle 1.50.
    Using DBD::Oracle 1.50.
    Using DBI 1.52 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
    Writing Makefile for DBD::Oracle
    ***  If you have problems...
         read all the log printed above, and the README and README.help.txt files.
         (Of course, you have read README by now anyway, haven't you?)
    [root@tch1testuview1 DBD-Oracle-1.50]# make
    Skip blib/lib/DBD/Oracle/Troubleshooting/Cygwin.pod (unchanged)
    Skip blib/lib/DBD/Oracle.pm (unchanged)
    Skip blib/lib/oraperl.ph (unchanged)
    Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Vms.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Linux.pod (unchanged)
    Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting.pod (unchanged)
    Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Hpux.pm (unchanged)
    Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
    Skip blib/lib/Oraperl.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Sun.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Macos.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Aix.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Object.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Win64.pod (unchanged)
    Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Win32.pod (unchanged)
    gcc -c  -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 Oracle.c
    gcc -c  -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 dbdimp.c
    dbdimp.c: In function ‘fb_ary_cb_alloc’:
    dbdimp.c:324: warning: comparison is always false due to limited range of data type
    dbdimp.c:325: warning: comparison is always false due to limited range of data type
    dbdimp.c:326: warning: comparison is always false due to limited range of data type
    dbdimp.c:327: warning: comparison is always false due to limited range of data type
    dbdimp.c:328: warning: comparison is always false due to limited range of data type
    dbdimp.c: In function ‘fb_ary_alloc’:
    dbdimp.c:344: warning: comparison is always false due to limited range of data type
    dbdimp.c:345: warning: comparison is always false due to limited range of data type
    dbdimp.c:346: warning: comparison is always false due to limited range of data type
    dbdimp.c:347: warning: comparison is always false due to limited range of data type
    gcc -c  -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 oci8.c
    oci8.c: In function ‘ora_blob_read_mb_piece’:
    oci8.c:1804: warning: comparison is always false due to limited range of data type
    oci8.c: In function ‘describe_obj_by_tdo’:
    oci8.c:3256: warning: comparison is always false due to limited range of data type
    oci8.c: In function ‘ora_describe’:
    oci8.c:3480: warning: comparison is always false due to limited range of data type
    oci8.c: In function ‘ora_st_fetch’:
    oci8.c:3953: warning: unused variable ‘imp_xxh’
    Running Mkbootstrap for DBD::Oracle ()
    chmod 644 Oracle.bs
    rm -f blib/arch/auto/DBD/Oracle/Oracle.so
    LD_RUN_PATH="/app/utiba/oracle/client/lib" gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic Oracle.o dbdimp.o oci8.o  -o blib/arch/auto/DBD/Oracle/Oracle.so  \
               -L/app/utiba/oracle/client/lib/ -lclntsh -ldl -lm -lpthread -lnsl -lirc -lipgo -ldl -lm      \
    /usr/bin/ld: skipping incompatible /app/utiba/oracle/client/lib//libclntsh.so when searching for -lclntsh
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1I am sure that installing a previous(older) version of oracle client will fix this issue i.e. either 11.2.0.1 or older (that is tested) but I want to know if it is possible to resolve the above issue with a work around and not having to install a previous version.
    Fyi.. I've tried to install DBD::Oracle version 1.24 and 1.50 but that doesn't seem to make any difference. I couldn't find any related thread either for this error so I desperately need a solution to the same(if any).
    If anyone can help here, would really appreciate it or else, I will have no choice but to install previous version of oracle client.
    Thanks
    Edited by: 956308 on Aug 31, 2012 6:55 AM
    Edited by: 956308 on Aug 31, 2012 6:57 AM

    Contents of the response file:
    oracle.install.responseFileVersion=http://www.oracle.com/2007/install/rspfmt_clientinstall_response_schema_v11_2_0
    ORACLE_HOSTNAME=slc00caz
    UNIX_GROUP_NAME=oracle
    INVENTORY_LOCATION=/home/psadm1/oraInventory
    SELECTED_LANGUAGES=en
    ORACLE_HOME=/opt/oracle/psft/pt/oracle-client/11.2.0.x
    ORACLE_BASE=/opt/oracle/psft/pt/oracle-client
    oracle.install.client.installType=Custom
    oracle.install.client.upgrading=false
    oracle.install.client.customComponents=oracle.rdbms.util:11.2.0.3.0,oracle.javavm.client:11.2.0.3.0,oracle.sqlplus:11.2.0.3.0,oracle.dbjava.jdbc:11.2.0.3.0,oracle.rdbms.oci:11.2.0.3.0,oracle.xdk:11.2.0.3.0,oracle.network.aso:11.2.0.3.0,oracle.assistants.oemlt:11.2.0.3.0,oracle.network.client:11.2.0.3.0,oracle.odbc:11.2.0.3.0,oracle.dbdev:11.2.0.3.0
    oracle.install.client.schedulerAgentHostName=
    oracle.install.client.schedulerAgentPortNumber=
    oracle.installer.autoupdates.option=SKIP_UPDATES
    oracle.installer.autoupdates.downloadUpdatesLoc=
    AUTOUPDATES_MYORACLESUPPORT_USERNAME=
    AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
    PROXY_HOST=
    PROXY_PORT=0
    PROXY_USER=
    PROXY_PWD=
    PROXY_REALM=

  • Installing XML::Simple Perl module on 10.4.8

    Two of my friends today asked me to help them get XML::Simple working on their Mac's. Somthing that should be a simple cpan one-liner "install XML::Simple" doesnt work on OSX. It took me a half hour to figure all this out... here are the steps:
    Prerequisites:
    - X11 1.1.3 package from the OSX install disk (or Apple download site)
    - Perl 5.8.x w/cpan (default on OSX)
    - a terminal
    - A reasonable working knowledge of Perl and Unix
    Step 1:
    Open terminal, type 'cpan' to enter the cpan installer.
    cpan> install XML::Simple
    It will ask you three times if you want to follow the prerequired modules. Hit enter every time. Eventually you will get a dozen test failures. These are in XML::Parser, a required module.
    Step 2:
    cpan> exit
    $ cd ~/.cpan/build/XML-Parser-2.34 **Note the version may change
    $ perl Makefile.PL EXPATLIBPATH=/usr/X11R6/lib EXPATINCPATH=/usr/X11R6/include
    $ make test
    $ make install
    Step 3:
    Back to cpan...
    $ cpan
    cpan> install XML::Parser
    Already Installed
    cpan> install XML::Parser::Expat
    Already Installed
    cpan> install XML::SAX::Expat
    Installs with some silly warning about ParserDetails.ini. Lets fix that.
    cpan> exit
    Step 4:
    Here is the command/code to add Expat to the ParserDetails.ini file. If we don't, we can't proceed past this point.
    $ sudo perl -MXML::SAX -e "XML::SAX->addparser(q(XML::SAX::Expat))->saveparsers()"
    Step 5:
    Back to cpan to finish the install
    $ cpan
    cpan> install XML::Simple
    Hit enter if it asks you anyting. The whole thing should work.
    cpan> exit
    Step 6:
    Verify XML::Simple existance with:
    $ perl -MXML::Simple -e '1;'
    If you don't get an error, you're all done!
    Enjoy.
    Macbook Pro 15" C2D   Mac OS X (10.4.8)  

    Two of my friends today asked me to help them get XML::Simple working on their Mac's. Somthing that should be a simple cpan one-liner "install XML::Simple" doesnt work on OSX. It took me a half hour to figure all this out... here are the steps:
    Prerequisites:
    - X11 1.1.3 package from the OSX install disk (or Apple download site)
    - Perl 5.8.x w/cpan (default on OSX)
    - a terminal
    - A reasonable working knowledge of Perl and Unix
    Step 1:
    Open terminal, type 'cpan' to enter the cpan installer.
    cpan> install XML::Simple
    It will ask you three times if you want to follow the prerequired modules. Hit enter every time. Eventually you will get a dozen test failures. These are in XML::Parser, a required module.
    Step 2:
    cpan> exit
    $ cd ~/.cpan/build/XML-Parser-2.34 **Note the version may change
    $ perl Makefile.PL EXPATLIBPATH=/usr/X11R6/lib EXPATINCPATH=/usr/X11R6/include
    $ make test
    $ make install
    Step 3:
    Back to cpan...
    $ cpan
    cpan> install XML::Parser
    Already Installed
    cpan> install XML::Parser::Expat
    Already Installed
    cpan> install XML::SAX::Expat
    Installs with some silly warning about ParserDetails.ini. Lets fix that.
    cpan> exit
    Step 4:
    Here is the command/code to add Expat to the ParserDetails.ini file. If we don't, we can't proceed past this point.
    $ sudo perl -MXML::SAX -e "XML::SAX->addparser(q(XML::SAX::Expat))->saveparsers()"
    Step 5:
    Back to cpan to finish the install
    $ cpan
    cpan> install XML::Simple
    Hit enter if it asks you anyting. The whole thing should work.
    cpan> exit
    Step 6:
    Verify XML::Simple existance with:
    $ perl -MXML::Simple -e '1;'
    If you don't get an error, you're all done!
    Enjoy.
    Macbook Pro 15" C2D   Mac OS X (10.4.8)  

  • Problem installing css perl module

    Hey,
    my problem isn't probably arch-related (and possibly very dumb), but I hope someone can help me anyway.
    I'm trying to install a CSS perl module - and here is what I get -
    [root@vlsi-wiki ~]# perl -MCPAN -eshell
    Terminal does not support AddHistory.
    cpan shell -- CPAN exploration and modules installation (v1.9456)
    Enter 'h' for help.
    cpan[1]> install CSS
    Going to read '/root/.cpan/Metadata'
    Database was generated on Mon, 24 May 2010 09:27:04 GMT
    Fetching with LWP:
    ftp://cpan.noris.de/pub/CPAN/authors/01mailrc.txt.gz
    Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
    ............................................................................DONE
    Fetching with LWP:
    ftp://cpan.noris.de/pub/CPAN/modules/02packages.details.txt.gz
    Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
    Database was generated on Tue, 25 May 2010 09:27:47 GMT
    ............................................................................DONE
    Fetching with LWP:
    ftp://cpan.noris.de/pub/CPAN/modules/03modlist.data.gz
    Going to read '/root/.cpan/sources/modules/03modlist.data.gz'
    ............................................................................DONE
    Going to write /root/.cpan/Metadata
    Running install for module 'CSS'
    Running make for I/IA/IAMCAL/CSS-1.08.tar.gz
    Checksum for /root/.cpan/sources/authors/id/I/IA/IAMCAL/CSS-1.08.tar.gz ok
    Scanning cache /root/.cpan/build for sizes
    ............................................................................DONE
    CPAN.pm: Going to build I/IA/IAMCAL/CSS-1.08.tar.gz
    Checking if your kit is complete...
    Looks good
    Writing Makefile for CSS
    cp CSS.pm blib/lib/CSS.pm
    cp CSS/Value.pm blib/lib/CSS/Value.pm
    cp CSS/Parse/Compiled.pm blib/lib/CSS/Parse/Compiled.pm
    cp CSS/Property.pm blib/lib/CSS/Property.pm
    cp CSS/Style.pm blib/lib/CSS/Style.pm
    cp CSS/Parse/PRDGrammar.pm blib/lib/CSS/Parse/PRDGrammar.pm
    cp CSS/Parse/Heavy.pm blib/lib/CSS/Parse/Heavy.pm
    cp CSS/Selector.pm blib/lib/CSS/Selector.pm
    cp CSS/Parse/Lite.pm blib/lib/CSS/Parse/Lite.pm
    cp CSS/Adaptor/Debug.pm blib/lib/CSS/Adaptor/Debug.pm
    cp CSS/Adaptor/Pretty.pm blib/lib/CSS/Adaptor/Pretty.pm
    cp CSS/Parse.pm blib/lib/CSS/Parse.pm
    cp CSS/Adaptor.pm blib/lib/CSS/Adaptor.pm
    cp CSS/Parse/CompiledGrammar.pm blib/lib/CSS/Parse/CompiledGrammar.pm
    Manifying blib/man3/CSS.3pm
    Manifying blib/man3/CSS::Value.3pm
    Manifying blib/man3/CSS::Parse::Compiled.3pm
    Manifying blib/man3/CSS::Property.3pm
    Manifying blib/man3/CSS::Parse::Heavy.3pm
    Manifying blib/man3/CSS::Parse::PRDGrammar.3pm
    Manifying blib/man3/CSS::Style.3pm
    Manifying blib/man3/CSS::Parse::Lite.3pm
    Manifying blib/man3/CSS::Selector.3pm
    Manifying blib/man3/CSS::Adaptor::Debug.3pm
    Manifying blib/man3/CSS::Parse.3pm
    Manifying blib/man3/CSS::Adaptor::Pretty.3pm
    Manifying blib/man3/CSS::Adaptor.3pm
    IAMCAL/CSS-1.08.tar.gz
    /usr/bin/make -- OK
    Running make test
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/01_basic.t ........... ok
    t/02_parse_lite.t ...... ok
    t/03_parse_heavy.t ..... ok
    t/04_parse_compiled.t .. 1/8 Unknown starting rule (Parse::RecDescent::namespace000001::stylesheet) called
    at /root/.cpan/build/CSS-1.08-pVKcD1/blib/lib/CSS/Parse/Compiled.pm line 28
    Compilation failed in require at t/04_parse_compiled.t line 3.
    # Looks like you planned 8 tests but ran 4.
    # Looks like your test exited with 255 just after 4.
    t/04_parse_compiled.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
    Failed 4/8 subtests
    t/05_search.t .......... ok
    t/06_adaptor_simple.t .. ok
    t/07_adaptor_pretty.t .. ok
    t/08_adaptor_debug.t ... ok
    Test Summary Report
    t/04_parse_compiled.t (Wstat: 65280 Tests: 4 Failed: 0)
    Non-zero exit status: 255
    Parse errors: Bad plan. You planned 8 tests but ran 4.
    Files=8, Tests=38, 2 wallclock secs ( 0.05 usr 0.06 sys + 1.15 cusr 0.19 csys = 1.45 CPU)
    Result: FAIL
    Failed 1/8 test programs. 0/38 subtests failed.
    make: *** [test_dynamic] Error 255
    IAMCAL/CSS-1.08.tar.gz
    /usr/bin/make test -- NOT OK
    //hint// to see the cpan-testers results for installing this module, try:
    reports IAMCAL/CSS-1.08.tar.gz
    Running make install
    make test had returned bad status, won't install without force
    Failed during this command:
    IAMCAL/CSS-1.08.tar.gz : make_test NO
    I've tried with both perl 5.10.1 and perl from testing (5.12), didn't help.
    Does anyone have any idea?

    There is a bug upstream according to CPAN's bugtracker.  Someone provided a fix there to regenerate the buggy file that is causing the test to fail.  Here is a source package file I made.  You can build it to apply their fix and make the package.

  • Trouble installing the PERL modules for the ITunesU script

    I am trying to install the modules specified in the PERL script. I get an error when trying to install which I think is a result of a problem with the MAC developer tools. This is the output that I get when trying to install the Digest::SHA module
    Can someone please tell me how to fix this?
    cpan> install Digest::SHA
    CPAN: Storable loaded ok
    Going to read /Users/admin/.cpan/Metadata
    Database was generated on Wed, 21 Mar 2007 01:09:40 GMT
    Running install for module Digest::SHA
    Running make for M/MS/MSHELOR/Digest-SHA-5.44.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /Users/admin/.cpan/sources/authors/id/M/MS/MSHELOR/Digest-SHA-5.44. tar.gz ok
    Scanning cache /Users/admin/.cpan/build for sizes
    Digest-SHA-5.44/
    Digest-SHA-5.44/t/
    Digest-SHA-5.44/t/state/
    Digest-SHA-5.44/t/state/state.1
    Digest-SHA-5.44/t/state/state.256
    Digest-SHA-5.44/t/state/state.512
    Digest-SHA-5.44/t/state/state.384
    Digest-SHA-5.44/t/4-bitstr-large.t
    Digest-SHA-5.44/t/2-nist-vectors-byte.t
    Digest-SHA-5.44/t/nist/
    Digest-SHA-5.44/t/nist/Readme.txt
    Digest-SHA-5.44/t/nist/bit-messages.sha1
    Digest-SHA-5.44/t/nist/byte-hashes.sha1
    Digest-SHA-5.44/t/nist/byte-messages.sha1
    Digest-SHA-5.44/t/nist/COPYRIGHT
    Digest-SHA-5.44/t/nist/bit-hashes.sha1
    Digest-SHA-5.44/t/1-exist.t
    Digest-SHA-5.44/t/5-hmac-rfc2202.t
    Digest-SHA-5.44/t/2-nist-sha-base64.t
    Digest-SHA-5.44/t/2-nist-sha-1.t
    Digest-SHA-5.44/t/4-bitstr-increasing.t
    Digest-SHA-5.44/t/2-nist-sha-256.t
    Digest-SHA-5.44/t/0-pod.t
    Digest-SHA-5.44/t/0-pod-coverage.t
    Digest-SHA-5.44/t/7-ireland.t
    Digest-SHA-5.44/t/2-nist-sha-224.t
    Digest-SHA-5.44/t/2-nist-sha-384.t
    Digest-SHA-5.44/t/3-gillogly-easy.t
    Digest-SHA-5.44/t/6-dump-load.t
    Digest-SHA-5.44/t/2-nist-sha-512.t
    Digest-SHA-5.44/t/5-hmac-fips198.t
    Digest-SHA-5.44/t/gillogly/
    Digest-SHA-5.44/t/gillogly/state.110
    Digest-SHA-5.44/t/gillogly/state.011
    Digest-SHA-5.44/t/5-hmac-woodbury.t
    Digest-SHA-5.44/t/3-gillogly-hard.t
    Digest-SHA-5.44/t/5-hmac-sha-256.t
    Digest-SHA-5.44/t/2-nist-sha-oo.t
    Digest-SHA-5.44/t/2-nist-vectors-bit.t
    Digest-SHA-5.44/t/1-hello-world.t
    Digest-SHA-5.44/t/4-bitstr-random.t
    Digest-SHA-5.44/examples/
    Digest-SHA-5.44/examples/dups
    Digest-SHA-5.44/Changes
    Digest-SHA-5.44/MANIFEST
    Digest-SHA-5.44/typemap
    Digest-SHA-5.44/src/
    Digest-SHA-5.44/src/sha.c
    Digest-SHA-5.44/src/sha64bit.c
    Digest-SHA-5.44/src/hmacxtra.c
    Digest-SHA-5.44/src/sha.h
    Digest-SHA-5.44/src/hmac.h
    Digest-SHA-5.44/src/shaxtra.c
    Digest-SHA-5.44/src/hmac.c
    Digest-SHA-5.44/src/sha64bit.h
    Digest-SHA-5.44/META.yml
    Digest-SHA-5.44/SHA.pm
    Digest-SHA-5.44/SHA.xs
    Digest-SHA-5.44/shasum
    Digest-SHA-5.44/Makefile.PL
    Digest-SHA-5.44/README
    Removing previously used /Users/admin/.cpan/build/Digest-SHA-5.44
    CPAN.pm: Going to build M/MS/MSHELOR/Digest-SHA-5.44.tar.gz
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Digest::SHA
    -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible
    cpan>
    I installed the Developer tools from Apple's web site.
    Thanks
    Donna

    I figured it out. I discovered that the developer tools weren't installed by default on the Darwin OS. I downloaded them from the Apple site, installed the dmg file and then installed the required Perl modules and then it worked beautifully.
    The problem was that the modules couldn't make properly when being installed.
    Fun Fun
    Donna

  • Trouble compiling sleepycat perl module for dbxml on win32

    I'm trying to compile the perl module for Oracle DB XML with no luck so far. I've added nmake and cl to my path using the vcvars32 script. But running 'perl Makefile.PL -config.win32' produces:
    Note (probably harmless): No library found for DB
    Note (probably harmless): No library found for XML
    Note (probably harmless): No library found for 2.3.10/lib
    Note (probably harmless): No library found for -llibdb45
    Writing Makefile for Sleepycat::Db
    Note (probably harmless): No library found for DB
    Note (probably harmless): No library found for XML
    Note (probably harmless): No library found for 2.3.10/lib
    Note (probably harmless): No library found for -llibdbxml23
    Note (probably harmless): No library found for -llibdb45
    Note (probably harmless): No library found for -lxerces-c_2
    Note (probably harmless): No library found for -lxqilla10
    Writing Makefile for Sleepycat::DbXml
    Writing Makefile for Sleepycat::DbXml
    That might not be a problem, although I think all of those libraries are included with the dbxml download. In any case, running nmake fails:
    Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
    Copyright (C) Microsoft Corporation. All rights reserved.
    nmake -f Makefile all -nologo
    cp Db.pod ..\blib\lib\Sleepycat\Db.pod
    cp DbEnv.pod ..\blib\lib\Sleepycat\DbEnv.pod
    cp DbTxn.pod ..\blib\lib\Sleepycat\DbTxn.pod
    cp Db.pm ..\blib\lib\Sleepycat\Db.pm
    cp Dbc.pod ..\blib\lib\Sleepycat\Dbc.pod
    cp Dbt.pod ..\blib\lib\Sleepycat\Dbt.pod
    C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -noprototypes -C++ -ty
    pemap ../typemap -typemap C:\Perl\lib\ExtUtils\typemap Db.xs > Db.xsc && C:\Per
    l\bin\perl.exe -MExtUtils::Command -e mv Db.xsc Db.c
    cl -TP /EHsc -c -IC:/Berkeley DB XML 2.3.10/include -nologo -EHsc -GF
    -W3 -MD -O1 -Gd -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL
    IMPLICITCONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -nologo
    -DVERSION=\"2.003\" -DXS_VERSION=\"2.003\" "-IC:\Perl\lib\CORE" Db.c
    DB
    c1xx : fatal error C1083: Cannot open source file: 'DB': No such file or directo
    ry
    XML
    c1xx : fatal error C1083: Cannot open source file: 'XML': No such file or direct
    ory
    include
    c1xx : fatal error C1083: Cannot open source file: '2.3.10/include': No such fil
    e or directory
    Db.c
    Db.xs(7) : fatal error C1083: Cannot open include file: 'db_cxx.h': No such file
    or directory
    Generating Code...
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \cl.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \nmake.EXE"' : return code '0x2'
    Stop.
    Any ideas what I'm doing wrong?

    I figured it out. I discovered that the developer tools weren't installed by default on the Darwin OS. I downloaded them from the Apple site, installed the dmg file and then installed the required Perl modules and then it worked beautifully.
    The problem was that the modules couldn't make properly when being installed.
    Fun Fun
    Donna

  • [SOLVED] how to find perl modules in aur

    I want to use yaourt to install a missing perl module.
    I get the following error when running ical2rem:
    Can't locate Module/Runtime.pm in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/vendor_perl/Class/Load.pm line 10.
    How do I find out which package will provide me the module? I have searched CPAN and found Module::Runtime, so I am confident this is what I want, but I couldn't find the equivalent  by using "yaourt perl-" and grep-ing the thing for "runtime".
    Anyone know how to find this information reliably? Or would you suggest I install directly from within the provided perl-tool? (don't remember what it was called, as I am a perl newbie...)
    Last edited by awayand (2011-10-26 04:10:07)

    I started to get this already few days ago:
    Can't locate Data/OptList.pm in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/vendor_perl/Class/Load.pm line 8.
    BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Class/Load.pm line 8.
    Compilation failed in require at /usr/share/perl5/vendor_perl/DateTime/TimeZone/Local.pm line 9.
    BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/DateTime/TimeZone/Local.pm line 9.
    Compilation failed in require at /usr/share/perl5/vendor_perl/DateTime/TimeZone.pm line 13.
    BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/DateTime/TimeZone.pm line 13.
    Compilation failed in require at /usr/lib/perl5/vendor_perl/DateTime.pm line 47.
    BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/DateTime.pm line 47.
    OptList.pm seems to be missing. Related problem, or something else?

  • Package requiring certain perl modules

    I just recently installed UT on my system, and found that the sourceforge project UmodPack is probably the best way to get Umod files installed. Since I'm taking an interest in making packages of software I install if I can't find it in the repos, I wanted to package this up, maybe submit it to AUR too.  However, the install requires certain perl modules to be installed from CPAN.
    From the INSTALL file:
    UmodPack requires/makes use of:
    * Perl 5 (required)
    * Tie::IxHash (required, for .ini file access)
    * Archive::Zip and Compress::Zlib (required, for zip file support)
    * Perl/Tk (optional, for the GUI)
    UNIX
    To install Perl/Tk first use "perl -MCPAN -e shell" to get into the CPAN
    shell;  and then enter "install Tie::IxHash", "install Data::Dumper",
    "install Compress::Zlib", "install Archive::Zip" and then "install Tk".
    To install UmodPack change to the directory in which the distribution
    files are unpacked.  Type "perl Makefile.PL" and then "make install".
    I am not sure how to automate this installation of perl modules within a PKGBUILD.  Does anyone have an idea as to how I would accomplish it?

    For all of the perl modules I need to install, this was sufficient to put in the build{}:
    perl Makefile.PL
    make || return 1
    make PREFIX=$startdir/pkg/usr SITEPREFIX=$startdir/pkg/usr install
    An example PKGBUILD:
    pkgname=perl-term-animation
    pkgver=2.1
    pkgrel=1
    pkgdesc="Module that provides a framework to produce sprite animations using ASCII art."
    url="http://search.cpan.org/~kbaucom/Term-Animation-$pkgver/lib/Term/Animation.pm"
    depends=('perl-curses')
    source="http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-$pkgver.tar.gz"
    md5sums=('8bfb8225be9318f95e0b1e1718da9691')
    build() {
    cd $startdir/src/Term-Animation-$pkgver
    perl Makefile.PL
    make || return 1
    make PREFIX=$startdir/pkg/usr SITEPREFIX=$startdir/pkg/usr install

  • Cannot install perl modules

    Hi team,
    I’m trying to do a little perl script to telnet some cisco equipment.
    I’m trying to install some perl module through CPAN but I was got an error. Output is the following. Any ideas?
    Using MAC OSX 10.6.4
    cpan[13]> install Net::Telnet:Cisco
    Running install for module 'Net::Telnet::Cisco'
    CPAN: Data::Dumper loaded ok (v2.121_14)
    'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/Users/sepinto/.cpan/prefs'
    Running make for J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.gz
    Checksum for /Users/sepinto/.cpan/sources/authors/id/J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.g z ok
    x Net-Telnet-Cisco-1.10/
    x Net-Telnet-Cisco-1.10/README
    x Net-Telnet-Cisco-1.10/Cisco.pm
    x Net-Telnet-Cisco-1.10/.cvsignore
    x Net-Telnet-Cisco-1.10/MANIFEST
    x Net-Telnet-Cisco-1.10/test.pl
    x Net-Telnet-Cisco-1.10/MANIFEST.SKIP
    x Net-Telnet-Cisco-1.10/Changes
    x Net-Telnet-Cisco-1.10/INSTALL
    x Net-Telnet-Cisco-1.10/Makefile.PL
    x Net-Telnet-Cisco-1.10/TODO
    Warning (usually harmless): 'YAML' not installed, will not store persistent state
    CPAN.pm: Going to build J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.gz
    Checking if your kit is complete...
    Looks good
    Warning: prerequisite Net::Telnet 3.02 not found.
    Writing Makefile for Net::Telnet::Cisco
    ---- Unsatisfied dependencies detected during ----
    ---- JOSHUA/Net-Telnet-Cisco-1.10.tar.gz ----
    Net::Telnet [requires]
    Shall I follow them and prepend them to the queue
    of modules we are processing right now? [yes]
    Running make test
    Delayed until after prerequisites
    Running make install
    Delayed until after prerequisites
    Running install for module 'Net::Telnet'
    'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/Users/sepinto/.cpan/prefs'
    Running make for J/JR/JROGERS/Net-Telnet-3.03.tar.gz
    Has already been unwrapped into directory /Users/sepinto/.cpan/build/Net-Telnet-3.03-naYMND
    Could not make: Unknown error
    Warning (usually harmless): 'YAML' not installed, will not store persistent state
    Running make test
    Can't test without successful make
    Running make install
    Make had returned bad status, install seems impossible
    Running make for J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.gz
    Has already been unwrapped into directory /Users/sepinto/.cpan/build/Net-Telnet-Cisco-1.10-jrURaI
    CPAN.pm: Going to build J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.gz
    Warning: Prerequisite 'Net::Telnet => 3.02' for 'J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.gz' failed when processing 'J/JR/JROGERS/Net-Telnet-3.03.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
    Can't exec "make": No such file or directory at /System/Library/Perl/5.10.0/CPAN.pm line 7698.
    JOSHUA/Net-Telnet-Cisco-1.10.tar.gz
    make -- NOT OK
    Warning (usually harmless): 'YAML' not installed, will not store persistent state
    Running make test
    Can't test without successful make
    Running make install
    Make had returned bad status, install seems impossible
    Failed during this command:
    JOSHUA/Net-Telnet-Cisco-1.10.tar.gz : make NO
    Thanks for your help.
    Regards
    SP

    Hi Robert,
    Unfortunately, I already tried that. Here are the results:
    sepinto-mac:~ sepinto$ sudo perl -MCPAN -e shell
    Password:
    Terminal does not support AddHistory.
    cpan shell -- CPAN exploration and modules installation (v1.9205)
    ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)
    cpan[1]> install Net::Telnet
    CPAN: Storable loaded ok (v2.18)
    Going to read /Users/sepinto/.cpan/Metadata
    Database was generated on Mon, 16 Aug 2010 10:36:17 GMT
    Running install for module 'Net::Telnet'
    CPAN: Data::Dumper loaded ok (v2.121_14)
    'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/Users/sepinto/.cpan/prefs'
    Running make for J/JR/JROGERS/Net-Telnet-3.03.tar.gz
    CPAN: Digest::SHA loaded ok (v5.45)
    CPAN: Compress::Zlib loaded ok (v2.008)
    Checksum for /Users/sepinto/.cpan/sources/authors/id/J/JR/JROGERS/Net-Telnet-3.03.tar.gz ok
    Scanning cache /Users/sepinto/.cpan/build for sizes
    ............................................................................DONE
    x Net-Telnet-3.03/
    x Net-Telnet-3.03/Makefile.PL
    x Net-Telnet-3.03/ChangeLog
    x Net-Telnet-3.03/lib/
    x Net-Telnet-3.03/lib/Net/
    x Net-Telnet-3.03/lib/Net/Telnet.pm
    x Net-Telnet-3.03/t/
    x Net-Telnet-3.03/t/select.t
    x Net-Telnet-3.03/README
    x Net-Telnet-3.03/MANIFEST
    CPAN: File::Temp loaded ok (v0.18)
    Warning (usually harmless): 'YAML' not installed, will not store persistent state
    CPAN.pm: Going to build J/JR/JROGERS/Net-Telnet-3.03.tar.gz
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Net::Telnet
    Can't exec "make": No such file or directory at /System/Library/Perl/5.10.0/CPAN.pm line 7698.
    JROGERS/Net-Telnet-3.03.tar.gz
    make -- NOT OK
    Warning (usually harmless): 'YAML' not installed, will not store persistent state
    Running make test
    Can't test without successful make
    Running make install
    Make had returned bad status, install seems impossible
    Failed during this command:
    JROGERS/Net-Telnet-3.03.tar.gz : make NO

  • Perl module not working/installed properly

    I have a perl script that worked fine on Ubuntu.  I've now replaced Ubuntu with Arch and installed the perl modules I need to run this script and one of them doesn't seem to be working properly, I think I had a hiccup during installation of this particular module.  Can someone point me in the right direction as to how to fix this please.
    This is the output of my script falling over:
    [me@arch ~]$ perl -e 'use MP4::Info;'
    Can't locate IO/String.pm in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/site_perl/MP4/Info.pm line 16.
    BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/MP4/Info.pm line 16.
    Compilation failed in require at -e line 1.
    BEGIN failed--compilation aborted at -e line 1.
    The 'MP4::Info' module "appears" to be installed ok though, as shown thusly:
    [me@arch ~]$ cpan
    Terminal does not support AddHistory.
    cpan shell -- CPAN exploration and modules installation (v1.9600)
    Enter 'h' for help.
    cpan[1]> install MP4:Info
    Going to read '/home/wayne/.cpan/Metadata'
    Database was generated on Fri, 23 Sep 2011 01:50:05 GMT
    MP4::Info is up to date (1.13).
    cpan[2]>
    Any help greatly appreciated, thanks in advance.

    For some reason IO::String was not installed. Try installing it from the cpan shell.

  • Uninstall all CPAN-installed Perl modules

    A while back, there was a large perl upgrade which required rebuilding of manually-installed Perl modules. At the time, I did not take much of any action as I did not use any applications which depended on CPAN-installed modules -- all I did was to uninstall some older Perl apps which I no longer used.
    Unfortunately, that has recently changed.
    Though I know exactly which modules I need to have on my system when all is said and done, I have no idea how to uninstall all of the old ones which came from the CPAN shell. Does anyone know how to do so?

    rowdog wrote:
    Well, modules are just files so, if you're lucky, the easy way is to find the directory where the modules were installed and delete them.
    If you're unlucky, you've intermingled CPAN modules with those installed by Arch. If that's the case, you might be able to delete each module by hand but you need to be careful not to wipe out Arch's modules. This is slow and hazardous work so please be careful.
    My guess would be that the files are installed in /usr/lib/perl5/site_perl, because mine's empty and that's what it's for. The exact location is controlled by whatever you used to install the modules. (cpan probably, but there are others.)
    If you're really lucky, you can get away with
    cd /usr/lib/perl5/site_perl
    rm -rf .
    Yes, I do have such bad luck. I have used the CPAN.pm shell, the AUR, and pacman to install Perl modules. I shall do more research regarding exactly what goes where during a CPAN.pm-based install. I am not at my own computer so I cannot do all of this now. I will get back to you on this tomorrow. Thank you for your response.
    Last edited by Bushman (2011-07-31 13:10:00)

  • Perl module install

    Well I'm having problems getting NET::DNS, so I tried the
    sudo perl -MCPAN -e 'install Bundle::LWP'
    and it worked
    but when I try
    sudo perl -MCPAN -e 'install NET::DNS'
    when I go to cpan site I ran an inquery on net::dns and got
    cpan> i /NET::DNS/
    CPAN: Storable loaded ok
    Going to read /Users/mttm/.cpan/Metadata
    Database was generated on Sat, 25 Nov 2006 23:25:04 GMT
    Module Net::DNS (O/OL/OLAF/Net-DNS-0.59.tar.gz)
    Module Net::DNS::Check (L/LL/LLT/Net-DNS-Check-0.45.tar.gz)
    Module Net::DNS::Check::Config (L/LL/LLT/Net-DNS-Check-0.45.tar.gz)
    etc............
    but I'm unable to install using
    sudo perl -MCPAN -e 'install NET::DNS'
    so what am I doing wrong? One works the other doesn't
    error messages are:
    CPAN: Storable loaded ok
    Going to read /Users/mttm/.cpan/Metadata
    Database was generated on Sat, 25 Nov 2006 23:25:04 GMT
    Warning: Cannot install NET::DNS, don't know what it is.
    Try the command
    i /NET::DNS/
    to find objects with matching identifiers.
    macbook pro   Mac OS X (10.4.8)  

    Perhaps the search with i // is case-insensitive, but
    the install command is case-sensitive?
    I agree, I installed Net::DNS from CPAN just now without trouble. But I get the same error message if I try NET::DNS.
    While some things aren't case-senstive in OS X, I think when working in the Terminal, it's best to treat everything as if it's case sensitive. I find that I have fewer problems and unexpected surprises that way.
    charlie

  • [Solved] Cannot compile, data dump error (Perl)

    I'm not a developer, so this may be something simple. I'm trying to get a package to compile and I get this error:
    autoreconf: Entering directory `.'
    autoreconf: configure.in: not using Gettext
    autoreconf: running: aclocal --force
    Perl API version v5.14.0 of Data::Dumper does not match v5.16.0 at /usr/share/perl5/core_perl/XSLoader.pm line 92.
    Compilation failed in require at /usr/share/autoconf/Autom4te/C4che.pm line 33.
    BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/C4che.pm line 33.
    Compilation failed in require at /usr/bin/autom4te line 37.
    BEGIN failed--compilation aborted at /usr/bin/autom4te line 37.
    aclocal: error: /usr/bin/autom4te failed with exit status: 255
    autoreconf: aclocal failed with exit status: 255
    ==> ERROR: A failure occurred in build().
    Aborting...
    I tried uninstalling and re-installing Perl as I imagine this was caused by upgrading pacman.
    Any ideas?
    **UPDATE**
    Removed the Data Dumper module, works fine now. I don't remember installing it in the first place, oh well
    Last edited by jskier (2012-06-04 23:23:06)

    ravicious wrote:How did you manage to remove the data dumper module? Also you've got it installed, because the perl package includes it.
    I also had one in AUR installed for some reason (this is the one I removed):
    https://aur.archlinux.org/packages.php?ID=59760

  • Can't install perl modules for bugzilla

    I'm currently attempting to install Bugzilla on my Arch server. This service depends on Perl and a collection of modules.
    I attempted:
    perl install-module.pl --all
    ... and it worked, so it seemed. However, when attempting to run my install script again, I am warned that the module DBI is not installed. I attempt to install it manually (specify it in particular with the previous command), and it says that DBI is up to date. I attempt the script again, and still get the error.
    Is this a bug with Bugzilla's install script, or with the installation of Perl modules?

    Here is a link to a resolution in Lion. It may also solve your Mountain Lion Perl DBD issue as well.
    If you run the command below before executing your Perl script the library is found and all is well!
    export DYLD_LIBRARY_PATH="/usr/local/mysql/lib:$DYLD_LIBRARY_PATH"
    Put this in your .bashrc or .bash_profile.
    On Apple StackExchange, Matthew Weiss had another approach.
    I found on another website the following command
    $ sudo perl -MCPAN -e 'CPAN::Shell->notest(install => CPAN::Shell->r)'
    This updated all my perl modules and all is back to normal. Not sure why or what, but don't care that it is working now.

  • Perl modules are being installed to the wrong root directory

    This is kind of a package, kind of an AUR question. I don't think it is the usual "upgrade to perl-5.20" issue; I've done lots of searching with no obvious mention of my issue.
    I have downloaded the PKGBUILDs for perl-tk (in extra) and perl-pdl (in AUR). When I run makepkg on them, the resultant package has the wrong root directory. For example, perl-pdl tries to install into
    /home/<username>/perl5/bin/
    rather than
    /usr/bin
    and the libraries want to go into
    /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL
    rather than something like
    /usr/lib/perl5/vendor_perl/PDL
    I don't think I'm doing anything unusual with the build. For perl-pdl, I download the tarball from the AUR and untar it in ~/tmp. Cd to ~/tmp/perl-pdl and then run makepkg. The start of the build process says:
    ==> Making package: perl-pdl 2.007-1 (Wed Jun 18 16:12:19 PDT 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found PDL-2.007.tar.gz
    -> Found perldl.conf
    ==> Validating source files with md5sums...
    PDL-2.007.tar.gz ... Passed
    perldl.conf ... Passed
    ==> Extracting sources...
    -> Extracting PDL-2.007.tar.gz with bsdtar
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    INFORMATION: using file /home/<username>/tmp/perl-pdl/src/perldl.conf to set configuration defaults
    Makefile.PL: Found required OpenGL version, setting USE_POGL => 1
    Types.pm.PL: using typedef long PDL_Indx
    Extracting Types.pm
    making PDL_B...
    making PDL_S...
    making PDL_US...
    making PDL_L...
    making PDL_IND...
    making PDL_LL...
    making PDL_F...
    making PDL_D...
    Warning: prerequisite Astro::FITS::Header 0 not found.
    Warning: prerequisite Convert::UU 0 not found.
    Warning: prerequisite File::Map 0.57 not found.
    Warning: prerequisite Module::Compile 0.23 not found.
    Generating a Unix-style Makefile
    Writing Makefile for PDL::pod
    Generating a Unix-style Makefile
    Writing Makefile for Inline
    Writing MYMETA.yml and MYMETA.json
    Generating a Unix-style Makefile
    Writing Makefile for PDL::PP
    Generating a Unix-style Makefile
    Writing Makefile for PDL::NiceSlice
    Writing MYMETA.yml and MYMETA.json
    Basic/Core/Makefile.PL: got root build dir /home/<username>/tmp/perl-pdl/src/PDL-2.007
    Basic/Core/Makefile.PL: adding /home/<usenname>/tmp/perl-pdl/src/PDL-2.007/inc
    Trying to figure out POSIX threads support ...
    Saw pthread.h. Fine.
    Fine, your perl was linked against pthread library.
    ==> Will build PDL with POSIX thread support. Gifts to TJL :-)
    and wraps up with
    Installing /home/<username>/tmp/perl-pdl/pkg/perl-pdl/home/<username>/perl5/man/man3/PDL::Perldl2::NiceSlice.3pm
    Installing /home/<username>/tmp/perl-pdl/pkg/perl-pdl/home/<username>/perl5/man/man3/PDL::Perldl2::PDLCommands.3pm
    Installing /home/<username>/tmp/perl-pdl/pkg/perl-pdl/home/<username>/perl5/man/man3/PDL::Perldl2::PrintControl.3pm
    Installing /home/<username>/tmp/perl-pdl/pkg/perl-pdl/home/<username>/perl5/man/man3/PDL::pdl2.3pm
    Installing /home/<username>/tmp/perl-pdl/pkg/perl-pdl/home/<username>/perl5/bin/pdl2
    Installing /home/<username>/tmp/perl-pdl/pkg/perl-pdl/home/<username>/perl5/bin/pptemplate
    Installing /home/<username>/tmp/perl-pdl/pkg/perl-pdl/home/<username>/perl5/bin/perldl
    Installing /home/<username>/tmp/perl-pdl/pkg/perl-pdl/home/<username>/perl5/bin/pdldoc
    Appending installation info to /home/<username>/tmp/perl-pdl/pkg/perl-pdl/home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/perllocal.pod
    ==> Tidying install...
    -> Purging unwanted files...
    -> Removing libtool files...
    -> Removing static library files...
    -> Removing empty directories...
    -> Compressing man and info pages...
    -> Stripping unneeded symbols from binaries and libraries...
    ==> Creating package "perl-pdl"...
    -> Generating .PKGINFO file...
    -> Adding changelog file...
    -> Generating .MTREE file...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: perl-pdl 2.007-1 (Wed Jun 18 16:21:25 PDT 2014)
    Excerpts of "pacman -Qlp perl-pdl-2.007-1-x86_64.pkg.tar.xz" look like
    perl-pdl /home/
    perl-pdl /home/<username>/
    perl-pdl /home/<username>/perl5/
    perl-pdl /home/<username>/perl5/bin/
    perl-pdl /home/<username>/perl5/bin/pdl
    perl-pdl /home/<username>/perl5/bin/pdl2
    perl-pdl /home/<username>/perl5/bin/pdldoc
    perl-pdl /home/<username>/perl5/bin/perldl
    perl-pdl /home/<username>/perl5/bin/pptemplate
    perl-pdl /home/<username>/perl5/lib/
    perl-pdl /home/<username>/perl5/lib/perl5/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/Inline/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/Inline/MakePdlppInstallable.pm
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/Inline/Pdlpp.pmperl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL.pm
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/AutoLoader.pm
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Bad.pm
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Basic.pm
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/CallExt.pm
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Char.pm
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Complex.pm
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Compression.pm
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Config.pm
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Constants.pm
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Core.pm
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Core/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Core/Dev.pmperl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Core/pdl.h
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Core/pdlcore.h
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/Bad/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/Bad/Bad.so
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/CallExt/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/CallExt/CallExt.so
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/Complex/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/Complex/Complex.so
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/Compression/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/Compression/Compression.so
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/Core/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/Core/Core.so
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/FFT/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/FFT/FFT.so
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/Fit/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/Fit/Gaussian/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/Fit/Gaussian/Gaussian.so
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/GIS/
    perl-pdl /home/<username>/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PDL/GIS/Pr
    perl-pdl /home/<username>/perl5/man/
    perl-pdl /home/<username>/perl5/man/man1/
    perl-pdl /home/<username>/perl5/man/man1/PDL::API.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::BadValues.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Bugs.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Course.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Dataflow.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Delta.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::FAQ.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Indexing.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Internals.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::MATLAB.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Modules.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Objects.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::PP-Inline.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::PP.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::ParallelCPU.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Philosophy.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::QuickStart.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Scilab.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Threading.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Tips.1p
    perl-pdl /home/<username>/perl5/man/man1/PDL::Tutorials.1p
    perl-pdl /home/<username>/perl5/man/man1/pdl2.1p
    perl-pdl /home/<username>/perl5/man/man1/pdldoc.1p
    perl-pdl /home/<username>/perl5/man/man1/perldl.1p
    perl-pdl /home/<username>/perl5/man/man1/pptemplate.1p
    perl-pdl /home/<username>/perl5/man/man3/
    perl-pdl /home/<username>/perl5/man/man3/PDL.3pm
    perl-pdl /home/<username>/perl5/man/man3/PDL::AutoLoader.3pm
    perl-pdl /home/<username>/perl5/man/man3/PDL::BAD2_demo.3pm
    It seems like the $pkgdir variable is screwed up, but non-perl AUR packages have installed just fine. Any pointers? Thanks.

    As usual I am probably too late to help. If you have local::lib installed and activated, it will override your destination directory when building packages. This is accomplished by setting environment variables. Joel hinted at this and you've seemed to fix them. Here is a decent list of them, mostly written by me I believe: https://wiki.archlinux.org/index.php/Pe … _variables
    I've made tools that generate PKGBUILDs for perl modules and I always try to override these environment variables for just such an occasion. Entirely too much info on the subject is available at the wiki page above. Very few official PKGBUILDs will override these. Only the packages I used to maintain which retain my PKGBUILD will work for you. So... beware.

Maybe you are looking for

  • ASA access from inside to outside interface

    Hi We need to make acces on our ASA device from inside network to outside interface. The situation is next: We have public external ip address and we need to access it from our inside network. Can you please tell me if it is possible to do this? Than

  • IPod stops syncing on my MAC G5.... continued

    If anyone else is having a problem syncing their iPod with their MAC could you post here so I can make sure I'm not alone. Originally I posted a work around to get my music on my iPod and I thought that it fixed my problem completely. But after purch

  • Acrobat Pro X Portfolio not opening proprerly.

    I cant make or open a PDF Portfolio in acrobat Pro X.  The link that pops up is for acrobat pro XI.  Is there a different plugin for Pro X?

  • Address Book Wish List Additions???

    As a long time Mac user I find Address Book extremely lame in that it lacks many helpful usability features that were standard in older third party contact managers. Ever since Now-Up-to-Date bought out and stupidly extinguished Touchbase/Datebook, M

  • Automatic row numbers in the dynamic table

    Hi, with your help I've almost completed my table. My table has 18 rows and it has add row btn. Is it possible automate numbering of the rows so that when I add rows they will have numbers automaticly. I've tried indexing but it doesn't work. this.ra