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

Similar Messages

  • 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)

  • How to remove/uninstall custom installed perl modules?

    Hello all.
    Yesterday I upgraded from 10.3.7 to 10.4.5, then started to reinstall a bundle of perl modules (via the Terminal and 'perl Makefile.PL -- make -- make test -- [sudo] make install').
    As I saw too late, some of those modules I installed are now part of the standard OS X installation -- now some perl modules are twice on my machine, the 'originals' (so to say) in '/System/Library/Perl/5.8.6/...', and the 're-installed' are -- as usually -- in '/Library/Perl/5.8.6/...'.
    My questions:
    (1) Can these duplicates do any harm while executing perl code?
    (2) Is there an easy way to get rid of the duplicates (e.g., move the associated files in '/Library/Perl/5.8.6/...' to the trash)?
    Fortunately I have saved the terminal output of every installation, so it should be easy to find everything that was changed.
    Any advice is appreciated -- thanks in advance.
    Joerg
    G4/400 PCI (Oct. 1999) w/ 1 GB RAM & 128GB internal drive, Pioneer DVR-110D   Mac OS X (10.4.4)  

    Perl has a list of paths it searches when it needs to find a given module, similar to how the shell uses the PATH variable. If the things you installed are in a directory after that which contains Apple's official stuff, your stuff is invisible. Check the section labeled "@INC" in the output of 'perl -V'...that list is searched top-to-bottom.
    If what you installed is ahead of Apple's but what you installed is at least as high a version number as Apple's, again no problem in general. The modules Apple supplies have genereally quite stable API, so there's no problem if a program expects Appl'es but gets yours instead. OTOH, if you have a lower version, there could be trouble, since things may rely on the features only present in new versions (something for a certain OS X would reasonably assume "the stuff that came with that OS X" as a minimum).
    Anything you installed manually you can remove manually as well, using "rm" or dragging stuff to the trash. Modules often install a .packlist file somewhere in $arch/auto/ in your perl lib dir.
    I think you can often do '[sudo] make uninstall UNINST=1' to uninstall, assuming you kept the original builds or feel like redoing 'perl Makefile.PL' in the exact same version of the modules you installed. However, the 'uninstall' target is generally frowned upon by perl folks.

  • Can't install perl modul DBD::Oracle with XE

    Hello,
    I have installed oracle 10.2.0.1 XE and want now install the perl modul DBD::Oracle.
    After running
    perl Makefile.PL
    I get the message:
    Unable to locate an oracle.mk, proc.mk or other suitable *.mkfile in your Oracle installation. (I looked in
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/lib/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_rdbms.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/otrace/demo/atmoci.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/demo_proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc/lib/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc16/lib/proc16.mk)
    And the program is right!!
    I do not have any of this files on my Computer.
    I also looked in the files
    oracle-instantclient-basic-10.2.0.1-1.i386.rpm
    oracle-instantclient-devel-10.2.0.1-1.i386.rpm
    where I also can't find these files.
    Could you please help and tell me, where I can get these files?
    Thank you,
    Marc

    See the thread on Perl with XE in Re: How can I get CPAN  DBD::Oracle to install with XE?
    -- cj

  • Fail installing perl modules in new sparc server

    Hi,
    I'm trying to install the perl modules needed by my applications in a sparc server SunFire V210 with solaris 9 64bit. All the attempts fail because the interpreter is compiled with forte, this is the explanation i got. I found a solution in CPAN called perlgcc but it doesn't work it build a bad Makefile, the file has a lot of mistakes. Perl.com people tell me to change parameters in the makefiles and Config.pm but it's very hard to find the correct values, i'm not sure i fix the correct things.still it doesn't work.
    I need an urgent solution it permits me to add modules without correction in the each makefile. I hope there is a standar procedure to solve it.
    Thanks!

    Hi,
    Here is your solution (I hope). I've being doing this this week and worked.
    Look the stuff is connected with the compilers used to complie perl and as you see later other stuff on the sun. At the sun the stuff is compiled with sun compiler which is not provided on the solaris 8, 9 nor 10. Fortunately there is gcc installed on the sol10.
    -bash-3.00# gcc --version<br />
    gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
    Copyright (C) 2004 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    -bash-3.00#
    The perl is compiled with sun compiler cc
    -bash-3.00# perl -V | more
    More
    Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
    More
    Platform:
    osname=solaris, osvers=2.10, archname=sun4-solaris-64int
    uname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde
    f
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    Compiler:
    cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_T
    S_ERRNO',
    optimize='-xO3 -xspace -xildoff',
    cppflags=''
    ccversion='Sun WorkShop', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lsee
    ksize=8
    alignbytes=8, prototype=define
    Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
    Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /usr/perl5/5.8.
    4/lib/sun4-solaris-64int/CORE'
    cccdlflags='-KPIC', lddlflags='-G'
    What to do??? Yes - you are on sol10 - then do it
    1. Logon as a root
    2. Check your path and compare with
    -bash-3.00# echo $PATH
    /usr/sbin:/usr/bin:/usr/sfw:/usr/sfw/bin:/usr/sfw/lib:/usr/s fw/include:/opt/sfw:
    /opt/sfw/bin:/opt/sfw/lib:/opt/sfw/include:/usr/ccs/bin:/usr /ccs/lib
    -bash-3.00#
    if differs upto the last /usr/ccs/lib modify your profile file ( anthing ofter the last /usr/ccs/lib can be aded).
    3. Check out the the comands
    gcc --version<br />
    perl -V
    4. If everything upto this step is ok you can proceed
    5. You may do the installation of the perl modules in two ways:
    a.) with CPAN module - Internet connection MANDATORY
    b.) with perl and downloaded tar.gz module
    5.a) With CPAN module
    5.a.1) Launch the command to configure the CPAN module
    perl -MCPAN -e shell
    you will be asked to give the answers inorder to configure CPAN
    5.a.2) When you see cpan> prompt do the following:
    o conf makepl_arg 'CC=gcc CCCDLFLAGS=-fPIC CCFLAGS=" " OPTIMIZE=" " LD=gcc' press return
    5.a.3) Type "o conf commit" press return. You may install your modules now with the install command e.g. install HTML::Parser for example.
    5.b.1) Download your modules from http://www.cpan.org to your server to /var/tmp/packed or whatever folder you want.
    5.b.2) unzip then untar and cd into subfolder
    5.b.3) type ./Makefile.PL -t 'CC=gcc CCCDLFLAGS=-fPIC CCFLAGS=" " OPTIMIZE=" " LD=gcc'
    5.b.4) Type make install
    6.) In both methods you have to check if the modules are installed by issuing the commnad:
    perl -e 'use Your::Module' e.g.
    perl -e 'use HTTP::Parser'
    if no error message on the term you are ready
    Rem. The differrences are in the flags used to compile and link with these two compilers sun cc and gnu cc. There are of course problems with 64bit values on sun64bit e.g. SPARC and Intel stuff cause Perl does not support real 64bit values yet. The Perl modules should use only floating point represetnation with around 53~bit precision. But this issue depends on the module creator not you if you do not want to do the remedy.
    I hope it will help you
    good luck

  • Installing Perl Modules from CPAN

    I am new to Perl and new-ish to Arch Linux.  I want to start to install some packages from CPAN.
    I read the perl package wiki article and while I found it on the overwhelming side, I took away that one of the recommended ways to install things from CPAN was with CPANPLUS::Dist::Arch.
    So I installed this via
    pacman -S perl-cpanplus-dist-arch
    setupdistarch
    Now I want to install some packages.  The cpanp manpage (as well as an example I found) seemed to indicate that this was now as easy as
    cpanp i <modulename>
    However, when I go to install any module, I get errors like
    monolith: ~$ cpanp i Test::Harness
    Installing Test::Harness (3.28)
    CPANPLUS::Dist::Base will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /usr/share/perl5/vendor_perl/CPANPLUS/Dist/Arch.pm, line 6.
    CPANPLUS::Dist::Build::Constants will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /usr/share/perl5/core_perl/CPANPLUS/Dist/Build.pm, line 16.
    Running [/usr/bin/perl -e use strict; BEGIN { my $old = select STDERR; $|++; select $old; $|++; $0 = shift(@ARGV); my $rv = do($0); die $@ if $@; } /home/jschwab/.cpanplus/5.18.1/build/Test-Harness-3.28/Makefile.PL INSTALLDIRS=site]...
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Test::Harness
    Writing MYMETA.yml and MYMETA.json
    [MSG] Module 'Test::Harness' depends on 'ExtUtils::MakeMaker', may need to build a 'CPANPLUS::Dist::Arch' package for it as well
    [ERROR] Unknown variable name in IF block: checkdepends at /usr/share/perl5/core_perl/CPANPLUS/Module.pm line 830.
    Searching Google for the error message just returned copies of the 'Module.pm' file in which the message appears.  Could someone help me figure out what is going on?
    Last edited by wesphys (2013-09-13 22:55:13)

    wesphys wrote:
    I am new to Perl and new-ish to Arch Linux.  I want to start to install some packages from CPAN.
    I read the perl package wiki article and while I found it on the overwhelming side, I took away that one of the recommended ways to install things from CPAN was with CPANPLUS::Dist::Arch.
    So I installed this via
    pacman -S perl-cpanplus-dist-arch
    setupdistarch
    Trying to reproduce above sequence:
    [bitcoin@alarm-01 ~]$ yaourt -S perl-cpanplus-dist-arch
    [sudo] password for bitcoin:
    resolving dependencies...
    looking for inter-conflicts...
    Packages (1): perl-cpanplus-dist-arch-1.28-1
    Total Download Size: 0.04 MiB
    Total Installed Size: 0.15 MiB
    :: Proceed with installation? [Y/n] Y
    :: Retrieving packages ...
    perl-cpanplus-dist-... 43.1 KiB 6.10K/s 00:07 [######################] 100%
    (1/1) checking keys in keyring [######################] 100%
    (1/1) checking package integrity [######################] 100%
    (1/1) loading package files [######################] 100%
    (1/1) checking for file conflicts [######################] 100%
    (1/1) checking available disk space [######################] 100%
    (1/1) installing perl-cpanplus-dist-arch [######################] 100%
    [bitcoin@alarm-01 ~]$ setupdistarch
    -bash: setupdistarch: command not found
    [bitcoin@alarm-01 ~]$ cd /usr/bin/vendor_perl/
    [bitcoin@alarm-01 vendor_perl]$ ls
    cpan2aur setupdistarch
    [bitcoin@alarm-01 vendor_perl]$
    Please advise. TiA

  • 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.

  • Install perl module

    I am trying to install the essbase.pm and have some trouble. The makefile refers to /api/lib/libmaxl directory which is not part of the windows install. Does anyone have any clue as to how to modify the makefile.PL.win32 file?ThanksRandy

    Hi, under windows, the makefile refers to:$opts{MYEXTLIB} = "$EH/api/lib/libmaxl\$(LIB_EXT)";ie libmaxl.lib since the backslash in "\$(LIB_EXT)" is just there in perl to escape the $ and use the variable LIB_EXT replace the previous line by:$opts{MYEXTLIB} = "$EH/api/lib/libmaxl.lib";But, I find more practical to generate maxl msh files on the fly using perl, or using parameters for maxl scripts rather than use the essbase.pm modulehope it helpsEric BelmonPartake Consulting

  • Cannot install Common-modules on Portege M300

    Hello everybody,
    I'm Italian and I had some problems with a Portege M300. After Windows XP crash I made a new installation of XP but, of course, I lost every driver. I tried to install them but I can't do it 'cause there's not the Toshiba common modules installed.
    I downloaded it but when I try to click on the setup icon nothing happens, and when I try to install other drivers same message appear (of missing common modules).
    How can I solve this problem?
    Thanks a lot

    And you try to install THIS version?

  • 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=

  • 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

  • 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

  • Script cannot find perl Data:Dumper module

    Good day. I live in Australia and use a script called Shepherd to update my mythtv program listings.
    After upgrading a couple of days ago (first time in about 6 months) Shepherd has stopped working.
    Shepherd doesn't seem to find the perl data-dumper module, which is part of the base perl install.
    All my packages are up to date as of this post, and I am on the current kernel -
    uname -r
    3.4.9-1-ARCH
    ~/.shepherd/shepherd --check
    ERROR:
    Mandatory module 'Data::Dumper' not found.
    Please see the Wiki at <a href='http://svn.whuffy.com/wiki/Installation' class='bbc_url' title='External link' rel='nofollow external'>http://svn.whuffy.co...ki/Installation</a>
    for details on how to install this module.
    Shepherd is updating ~/.shepherd/output.xmltv (the listings information scraped from the net) but evidently needs the dumper module to post the data into MythTV.
    I'm not sure if it has something to do with this, which I don't properly understand -
    The current Arch Linux default perl installation installs updates to core modules into the perl core directories, creating file conflicts.  Examples include modules such as Data::Dumper and version.
    which is mentioned here.
    I appear to have it installed as part of the perl base package -
    sudo pacman -Qi perl
    Name : perl
    Version : 5.16.1-1
    URL : <a href='http://www.perl.org' class='bbc_url' title='External link' rel='nofollow external'>http://www.perl.org</a>
    Licenses : GPL PerlArtistic
    Groups : base
    Provides : perl-archive-extract=0.58 perl-archive-tar=1.82 perl-attribute-handlers=0.93 perl-autodie=2.10
    perl-autoloader=5.72 perl-autouse=1.07 perl-b-debug=1.17 perl-b-deparse=1.14 perl-b-lint=1.14
    perl-base=2.18 perl-bignum=0.29 perl-carp=1.26 perl-cgi=3.59 perl-compress-raw-bzip2=2.048
    perl-compress-raw-zlib=2.048 perl-constant=1.23 perl-cpan=1.9800 perl-cpan-meta=2.120630
    perl-cpan-meta-yaml=0.007 perl-cpanplus=0.9121 perl-cpanplus-dist-build=0.62 perl-data-dumper=2.135
    So it seems Shepherd is suddenly not finding it for some reason, after the upgrade.
    I tried installing the perl-data-dumper packages from the AUR (simple and concise) and neither of those made any difference.
    I also tried installing the module with a cpan command (as root) but that gave me errors (which I'd rather not have to deal with unless I have to to fix this issue).
    cpan
    Terminal does not support AddHistory.
    cpan shell -- CPAN exploration and modules installation (v1.9800)
    Enter 'h' for help.
    cpan[1]> install data:dumper
    Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
    sh: /bin/gzip: No such file or directory
    ............................................................................DONE
    Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
    sh: /bin/gzip: No such file or directory
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    Subroutine AUTOLOAD redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 31.
    Subroutine import redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 49.
    Subroutine tv_interval redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 70.
    .Could not split line["H\"rW{0M4K\cV1=YFH\cV\c^rqv\c?\c]hKUe\cGL)4:4\cH]C\cPW`_|#MU4}\c_\c_%\cQ\cN\cX8M}%e\cR|\cG-K\c?~\cAM_cREx#AnvAZDi\$\c\!h\cZ\cI^uG0 )>TQ}p{Q[Ah\cNIK\cV+R"]
    Could not split line["-6W/GQp\cOm`>UwBP[5"]
    Could not split line["\@\cPI\cW,(zY2]uA!fVegsf\\V\cGfL\cHY4ki\cFvLgY\\\c\Ed\cK\cTe-\cC0\@d!?\cSU/\\G8\cAt?(\cY.L\cZ\cBrtl~s[4\@\cF\cWu*D>I"]
    Could not split line["hb\cSKA1\cCjX(w/K\cA"]
    Giving up parsing your /root/.cpan/sources/modules/02packages.details.txt.gz, too many errorsReading '/root/.cpan/sources/authors/01mailrc.txt.gz'
    sh: /bin/gzip: No such file or directory
    ............................................................................DONE
    Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
    sh: /bin/gzip: No such file or directory
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    Subroutine AUTOLOAD redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 31.
    Subroutine import redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 49.
    Subroutine tv_interval redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 70.
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    Subroutine AUTOLOAD redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 31.
    Subroutine import redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 49.
    Subroutine tv_interval redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 70.
    .Could not split line["H\"rW{0M4K\cV1=YFH\cV\c^rqv\c?\c]hKUe\cGL)4:4\cH]C\cPW`_|#MU4}\c_\c_%\cQ\cN\cX8M}%e\cR|\cG-K\c?~\cAM_cREx#AnvAZDi\$\c\!h\cZ\cI^uG0 )>TQ}p{Q[Ah\cNIK\cV+R"]
    Could not split line["-6W/GQp\cOm`>UwBP[5"]
    Could not split line["\@\cPI\cW,(zY2]uA!fVegsf\\V\cGfL\cHY4ki\cFvLgY\\\c\Ed\cK\cTe-\cC0\@d!?\cSU/\\G8\cAt?(\cY.L\cZ\cBrtl~s[4\@\cF\cWu*D>I"]
    Could not split line["hb\cSKA1\cCjX(w/K\cA"]
    Giving up parsing your /root/.cpan/sources/modules/02packages.details.txt.gz, too many errorsTerminal does not support GetHistory.
    Lockfile removed.
    It says that the 02packages.details.txt.gz file is missing, but it looks like it's there -
    ls /root/.cpan/sources/modules/
    02packages.details.txt.gz 03modlist.data.gz
    I thought I might uninstall and reinstall perl but I got dependency errors and I'm not game to force an uninstall unless I get advice to do so -
    pacman -Rs perl
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: automake: requires perl
    :: cdrkit: requires perl
    :: ddclient: requires perl
    :: git: requires perl>=5.14.0
    :: groff: requires perl
    :: gtk-doc: requires perl
    :: hspell: requires perl
    :: hyphen: requires perl
    :: imagemagick: requires perl
    :: lm_sensors: requires perl
    :: mod_perl: requires perl
    :: openssl: requires perl
    :: perl-algorithm-diff: requires perl
    :: perl-archive-zip: requires perl>=5.10.0
    :: perl-class-factory-util: requires perl
    :: perl-class-inspector: requires perl>=5.6.0
    :: perl-class-load: requires perl
    :: perl-class-methodmaker: requires perl>=5.10.0
    :: perl-class-singleton: requires perl>=5.10.0
    :: perl-convert-binhex: requires perl
    :: perl-data-dump: requires perl>=5.006
    :: perl-data-optlist: requires perl-scalar-list-utils
    :: perl-datetime-format-builder: requires perl
    :: perl-dbi: requires perl
    :: perl-digest-sha1: requires perl
    :: perl-email-date-format: requires perl
    :: perl-encode-locale: requires perl>=5.008
    :: perl-error: requires perl>=5.10.0
    :: perl-fcgi: requires perl
    :: perl-file-listing: requires perl>=5.8.8
    :: perl-file-slurp: requires perl>=5.14.0
    :: perl-font-afm: requires perl>=5.5.0
    :: perl-html-form: requires perl>=5.8.8
    :: perl-html-formattext: requires perl>=5.10.0
    :: perl-html-parser: requires perl>=5.12.1
    :: perl-html-tagset: requires perl>=5.10.0
    :: perl-html-tree: requires perl>=5.10.0
    :: perl-http-cache-transparent: requires perl>=5.10.0
    :: perl-http-cookies: requires perl>=5.8.8
    :: perl-http-daemon: requires perl>=5.8.8
    :: perl-http-date: requires perl>=5.8.8
    :: perl-http-message: requires perl>=5.8.8
    :: perl-http-negotiate: requires perl>=5.8.8
    :: perl-image-size: requires perl
    :: perl-io-socket-ssl: requires perl>=5.10.0
    :: perl-io-string: requires perl>=5.10.0
    :: perl-io-stringy: requires perl
    :: perl-libwww: requires perl>=5.8.1
    :: perl-lingua-en-numbers-ordinate: requires perl>=5.10.0
    :: perl-lingua-preferred: requires perl>=5.10.0
    :: perl-linux-pid: requires perl
    :: perl-list-moreutils: requires perl>=5.5.30
    :: perl-lwp-mediatypes: requires perl>=5.6.2
    :: perl-lwp-protocol-https: requires perl>=5.8.1
    :: perl-math-round: requires perl
    :: perl-mime-lite: requires perl
    :: perl-mime-types: requires perl
    :: perl-mozilla-ca: requires perl>=5.006
    :: perl-net-http: requires perl>=5.6.2
    :: perl-net-upnp: requires perl
    :: perl-package-stash: requires perl>=5.8.1
    :: perl-package-stash: requires perl-scalar-list-utils
    :: perl-package-stash-xs: requires perl>=5.8.1
    :: perl-params-classify: requires perl>=5.10.1
    :: perl-params-util: requires perl>=5.5.30
    :: perl-params-validate: requires perl
    :: perl-parse-recdescent: requires perl>=5.10.0
    :: perl-perl4-corelibs: requires perl>=5.006
    :: perl-soap-lite: requires perl
    :: perl-socket6: requires perl
    :: perl-sub-exporter: requires perl>=5.6.0
    :: perl-sub-install: requires perl
    :: perl-sub-uplevel: requires perl
    :: perl-term-readkey: requires perl
    :: perl-test-warn: requires perl>=5.10.0
    :: perl-text-iconv: requires perl
    :: perl-timedate: requires perl
    :: perl-tk: requires perl
    :: perl-unicode-string: requires perl
    :: perl-unicode-utf8simple: requires perl>=5.10.0
    :: perl-uri: requires perl>=5.10.0
    :: perl-www-robotrules: requires perl>=5.8.1
    :: perl-xml-dom: requires perl>=5.10.0
    :: perl-xml-namespacesupport: requires perl
    :: perl-xml-parser: requires perl
    :: perl-xml-regexp: requires perl
    :: perl-xml-sax: requires perl
    :: perl-xml-sax-base: requires perl
    :: perl-xml-simple: requires perl
    :: perl-xml-twig: requires perl
    :: perl-xml-writer: requires perl
    :: perl-xml-xpath: requires perl
    :: perl-yaml: requires perl>=5.10.0
    :: perl-yaml-syck: requires perl
    :: rsync: requires perl
    :: system-tools-backends: requires perl
    :: webmin: requires perl
    Any help would be greatly appreciated.
    Thanks
    belbo
    Last edited by belbo (2012-08-26 00:33:52)

    Thanks
    Results as follows -
    perl -MData::Dumper -e1
    Perl API version v5.14.0 of Data::Dumper does not match v5.16.0 at /usr/lib/perl5/site_perl/XSLoader.pm line 95.
    Compilation failed in require.
    BEGIN failed--compilation aborted.
    $ perl /mnt/Data/Scripts/Perl_Module_Check.pl wheremod Data::Dumper
    Data::Dumper /usr/lib/perl5/site_perl/Data/Dumper.pm
    Data::Dumper /usr/lib/perl5/core_perl/Data/Dumper.pm
    I ran the full delete command after backing up the directories (there was a lot in them)
    rm -rf /usr/lib/perl5/site_perl/* /usr/share/perl5/site_perl/*
    This resulted in a different missing module -
    $ sudo rm -rf /usr/lib/perl5/site_perl/* /usr/share/perl5/site_perl/*
    $ ~/.shepherd/shepherd --check
    ERROR:
    Mandatory module 'List::Compare' not found.
    I restored the backup and deleted only Data::Dumper but then got a missing XMLTV module -
    $ ~/.shepherd/shepherd --check
    $[ used in numeric lt (<) (did you mean $] ?) at /usr/share/perl5/site_perl/XML/Twig.pm line 7278.
    $[ used in numeric lt (<) (did you mean $] ?) at /usr/share/perl5/site_perl/XML/Twig.pm line 7284.
    $[ used in numeric lt (<) (did you mean $] ?) at /usr/share/perl5/site_perl/XML/Twig.pm line 7296.
    ERROR:
    Mandatory module 'XMLTV' not found.
    Following this post, I did the following, which returned no results -
    https://bbs.archlinux.org/viewtopic.php?pid=1110598
    $ sudo pacman -Qml | awk '/_perl\/auto\/.+\.so$/ { print $1 }' | uniq
    I then did the following -
    $ sudo rm -rf /usr/lib/perl5/*
    $ sudo pacman -S perl
    warning: perl-5.16.1-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): perl-5.16.1-1
    Total Installed Size: 48.33 MiB
    Net Upgrade Size: 0.00 MiB
    Proceed with installation? [Y/n]
    (1/1) checking package integrity [#######################################################] 100%
    (1/1) loading package files [#######################################################] 100%
    (1/1) checking for file conflicts [#######################################################] 100%
    (1/1) checking available disk space [#######################################################] 100%
    (1/1) upgrading perl [#######################################################] 100%
    $ ~/.shepherd/shepherd --check
    ERROR:
    Mandatory module 'XMLTV' not found.
    Oops. Then saw your next post saying not to do that as you'd lose the vendor modules, which I did. I had backed up so I restored, so still have the vendor stuff.
    In case its of any assistance, this is what my perl lib and share directories look like -
    [ben@htpc ~]$ ls /usr/lib/perl5
    core_perl site_perl site_perl.bak vendor_perl
    [ben@htpc ~]$ ls /usr/lib/perl5/site_perl
    Alien auto Data Encode encoding.pm Filter List Net perlfilter.pod SVN Term Unicode version.pm XML
    Attribute Compress Digest Encode.pm FCGI.pm filter-util.pl Math Params Storable.pm Sys Time version version.pod XSLoader.pm
    [ben@htpc ~]$ ls /usr/lib/perl5/vendor_perl
    Apache Attribute Crypt DateTimePP.pm dbixs_rev.pl GD.pm Image ModPerl Package SNMP.pm Text Unicode YAML
    Apache2 auto DateTime DBD Digest gv.pm JSON mod_perl2.pm Params Socket6.pm Tie Win32
    APR Bundle DateTime.pm DBI FCGI.pm gv.so Linux Net qd.pl SVN Tk Xfce4
    APR.pm Class DateTimePPExtra.pm DBI.pm GD HTML List NetSNMP RRDs.pm Term Tk.pm XML
    [ben@htpc ~]$ ls /usr/lib/perl5/core_perl
    arybase.pm Compress Cwd.pm DynaLoader.pm Fcntl.pm I18N List ODBM_File.pm perllocal.pod Socket.pm threads.pm
    attributes.pm Config_git.pl Data Encode File IO Math Opcode.pm POSIX.pm Storable.pm Tie
    auto Config_heavy.pl DB_File.pm Encode.pm Filter IO.pm MIME O.pm re.pm Sys Time
    B Config.pm Devel encoding.pm GDBM_File.pm IPC mro.pm ops.pm Scalar Text Unicode
    B.pm CORE Digest Errno.pm Hash lib.pm NDBM_File.pm PerlIO SDBM_File.pm threads
    [ben@htpc ~]$ ls /usr/share/perl5/
    core_perl site_perl vendor_perl
    [ben@htpc ~]$ ls /usr/share/perl5/core_perl
    AnyDBM_File.pm bignum.pm Config Digest.pm fields.pm IO Object PerlIO.pm Term utf8.pm
    App bigrat.pm constant.pm DirHandle.pm File IPC open.pm pod Test vars.pm
    Archive blib.pm CPAN Dumpvalue.pm FileCache.pm JSON overload Pod Test.pm version
    Attribute bytes_heavy.pl CPANPLUS dumpvar.pl FileHandle.pm less.pm overloading.pm Safe.pm Text Version
    autodie bytes.pm CPANPLUS.pm Encode filetest.pm Locale overload.pm Search Thread version.pm
    autodie.pm Carp CPAN.pm encoding Filter locale.pm Package SelectSaver.pm Thread.pm vmsish.pm
    AutoLoader.pm Carp.pm DBM_Filter English.pm FindBin.pm Log Params SelfLoader.pm Tie warnings
    AutoSplit.pm CGI DBM_Filter.pm Env.pm Getopt Math parent.pm sigtrap.pm Time warnings.pm
    autouse.pm CGI.pm DB.pm Exporter HTTP Memoize Parse sort.pm Unicode XSLoader.pm
    B _charnames.pm deprecate.pm Exporter.pm I18N Memoize.pm Perl strict.pm unicore
    base.pm charnames.pm Devel ExtUtils if.pm Module perl5db.pl subs.pm UNIVERSAL.pm
    Benchmark.pm Class diagnostics.pm Fatal.pm inc Net perlfaq.pm Symbol.pm User
    bigint.pm Compress Digest feature.pm integer.pm NEXT.pm PerlIO TAP utf8_heavy.pl
    [ben@htpc ~]$ ls /usr/share/perl5/site_perl
    Alien bigint.pm Bundle Class CPANPLUS DateTime ExtUtils HTML IPC Locale LWP.pm Math MythTV Object Try YAML
    Archive bignum.pm CGI Compress CPANPLUS.pm Encode File HTTP JSON LWP lwptut.pod Module MythTV.pm Test WWW YAML.pm
    Attribute bigrat.pm CGI.pm CPAN Date Env.pm Filter IO List lwpcook.pod Mail Mozilla Net Tie XML
    [ben@htpc ~]$ ls /usr/share/perl5/vendor_perl
    abbrev.pl bigrat.pl ctime.pl Error Font HTML LWP.pm open2.pl SOAP Time validate.pl
    Algorithm cacheout.pl Data Error.pm ftp.pl HTTP Mail open3.pl stat.pl timelocal.pl WWW
    Apache CGI Date exceptions.pl getcwd.pl Image Math Package Sub Tree XML
    Archive CGI.pm DateTime fastcwd.pl getopt.pl importenv.pl MIME Parse syslog.pl Try XMLRPC
    assert.pl chat2.pl Dist File getopts.pl IO Module Perl4 tainted.pl UDDI XMLTV
    auto Class dotsh.pl finddepth.pl Git Lingua Mozilla pwd.pl Term Unicode XMLTV.pm
    bigfloat.pl complete.pl Email find.pl Git.pm look.pl Net RRDp.pm termcap.pl URI YAML
    bigint.pl Convert Encode flush.pl hostname.pl LWP newgetopt.pl shellwords.pl Test URI.pm YAML.pm
    Any further assistance would be greatly appreciated.
    Thanks
    belbo
    Last edited by belbo (2012-08-27 13:40:14)

  • 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.

  • 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.

Maybe you are looking for

  • How to send php email using email from recordset?

    Hi I know the headers to use for php mail(), and I use it for the contact form for my viewers in order to contact the directory listing's email address ( of which I have hidden by using the words 'Email Us' and use the id to carry through to the form

  • JFrame instance called from a Thread

    Hi All, I have an application that fetches data from a database. I have a thread that displays a 'Please wait' message in a JFrame while the software fetches data from the databse. The trouble is that the message does not appear on the JPanel untill

  • Mail Title for Output Type

    Hi, I have created an output type which needs to send the invoice through mail. I have written a custom program to do this. Every thing is working fine. But the problem is with the Mail Title. I mean subject of the mail. I have given -- Invoice &VBRK

  • Iphone 4 cdma: bad experience with verizon customer service/store

    I have been paying around $140 for my shared plan with Verizon. One phone in this line is an iphone4. I am travelling outside the country for the next couple of months and I wanted a solution from Verizon. 1. Online chat: I asked this question to the

  • Error with sdo_relate

    Hallo, I have the following query SELECT fbs.getfeatureid(a.F1855_fid), a.F1855_geom, a.F1855_xml.getStringVal(), a.F1855_objnr, a.F1855_gid, a.F1855_objnr2 from ug_F1855_geom a WHERE MDSYS.SDO_ RELATE(a.F1855_geom, MDSYS.SDO_GEOMETRY(2003, NULL, NUL