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

Similar Messages

  • Another perl module packager

    CPANPLUS::Dist::Arch is a CPANPLUS backend to automatically package modules as you install them.  I started it several months ago and mess around with it every once and awhile.  I had made it because CPANPLUS::Dist::Pacman (or maybe I should say cpan4pacman?) did not work well for me.  I did not have ABS installed and it didn't seem to work without it.
    I feel a bit awkward releasing this since Xyne recently released pacpan.  Yet, I think the two programs are distinct enough to stand on their own.
    I have uploaded the module to CPAN and AUR.  If you'd like to try it, the perl-cpanplus-dist-arch package is on the AUR, which also requires the perl-readonly to run.
    BTW, I introduced a bug into the latest version 0.5, which gives the wrong url entry for the PKGBUILD.  This doesn't seem to break anything but it is a nuisance when making an AUR package... as I found out.
    If you'd like to try it, it helps to be familiar with CPANPLUS, which can be frustrating but its worth it.  If you never used CPANPLUS before, make sure that the 'cpanp' command is in your path.  It is in the /usr/bin/perlbin/core directory, so you can add it to your path by putting a line like this in your ~/.profile file:
    export PATH=/bin:/usr/bin:/usr/bin/perlbin/core:/usr/bin/perlbin/vendor
    I forgot to include the above step in the documentation.  After installing the package from AUR, you can read the included doc by typing 'man CPANPLUS::Dist::Arch' or 'perldoc CPANPLUS::Dist::Arch'.  Please read the doc to see how to setup.  (It's at the very beginning)
    edit: I meant cpan4pacman uses ABS, not AUR
    Last edited by juster (2009-03-25 15:44:29)

    Here is the beginning of the docs, copy & pasted, that give the setup instructions I was too much in a hurry to show earlier.  The full doc is also available online at CPAN.
    SYNOPSIS
    This module is not meant to be used directly. Instead you should use it through the cpanp shell or the cpan2dist utility that is included with CPANPLUS.
      $ cpan2dist --format CPANPLUS::Dist::Arch Acme::Bleach
    This lengthly command line can be shortened by specifying CPANPLUS::Dist::Arch as the default 'Dist' type to use in CPANPLUS's configuration, like so:
    $ cpanp
    ... CPANPLUS's startup output here ...
    CPAN Terminal> s conf dist_type CPANPLUS::Dist::Arch
    Key 'dist_type' was set to 'CPANPLUS::Dist::Arch'
    CPAN Terminal> s save
    Configuration successfully saved to CPANPLUS::Config::User
    (/home/<yournamehere>/.cpanplus/lib/CPANPLUS/Config/User.pm)
    CPAN Terminal> q
    Exiting CPANPLUS shell
    Now you do not have to use the explicit --format flag:
      $ cpan2dist Acme::Bleach
    After dist_type is set, CPANPLUS will automatically package anything you install using cpanp. Score! You could then package and install the Acme::Bleach module like so:
      $ cpanp i Acme::Bleach
    WHERE IS THE PACKAGE?
    Packages are stored under the user's home directory, (the HOME environment variable) under the .cpanplus directory. Two seperate directories are created for building packages and for storing the resulting package file.
    Build Directory: ~/.cpanplus/5.10.0/pacman/build
    Package Directory:  ~/.cpanplus/5.10.0/pacman/pkg
    Where 5.10.0 represents the version of perl you used to build the package and ~/.cpanplus represents the base directory chosen in your CPANPLUS config.
    You can change the destination by setting PKGDEST in your /etc/makepkg.conf file. The PACKAGER in /etc/makepkg.conf is inserted into the PKGBUILD comment header. If there is no PACKAGER set, then 'Anonymous' is used, instead.

  • 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 PDF::API2

    Perl module PDF::API2
    is required for
    gscan2pdf
    Thanks
    Gary

    http://aur.archlinux.org/packages.php?d … 1&ID=10273
    Kind regards,
    STi

  • [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?

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

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

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

  • What is the business packages required for "plant maintenance"

    hi experts,
              i got a business requirement
                 how to show the plant maintenance module with the functionalities to show in the portal
                  is ther any process is there
                 or business packages required
    thanks and regards
    bvr

    hi raghu,
    thanks for your reply,
    1.  from portal view  where i have to configure the jco destinations seperatly for plantmaintanance or
              normal jco will work
    2. looking the sap note 1291222  where my ecc60  should be in the sp15 lever for ea-appl-600
         and poral side  bp erp 05 plant magr 20 1.0  sp15
    refering this links
         http://help.sap.com/bp_bl603/BBLibrary/General/Prerequisites_Matrix_BL_EN_IN.xls
    could you guide me
    thanks and regards
    bvr
    Edited by: bvr on May 13, 2009 7:12 AM

  • Issue related to maintenance package in Plant maintenance module

    Hi ,
    Has anyone worked related to Task lists and Maintenance packages in Plant Maintenance module? i have a requirement where in i have to list all the Task lists whose maintenance packages have been changed.
    i need to get the current maintenance package assigned as well as last maintenance package used and the changed date.
    I need to know where can (i mean tables) we get all these info. 
    Thanks
    Raj

    Hi,
    Has anyone got any info regarding my query
    Regards
    Raj

  • Perl module install noob question - Solved

    hello everybody,
    i've been away from the *nix world for some time now, and there are some things i remember better than others.
    atm i am trying to install perl-term-readline, as it is a dependency for the metasploit framework - although i am surprised that package isn't already installed, as it belongs to the core modules group (that means the module should come with every perl install) if i recall correctly.
    This is what i have tried so far (i read some perl wiki page and this is what came up):
    [root@Omega /]# pacman -S -f perl-term-readline
    perl-term-readline: not found in sync db
    where do i have to look for that module?
    -Southern_Trendkiller
    Last edited by Southern_Trendkiller (2007-02-05 11:42:42)

    I have tried that already, without luck.
    This is what i get:
    [root@Omega ~]# pacman -Ss perl-term
    extra/perl-term-readkey 2.30-1
    A perl module dedicated to providing simple control over terminal driver
    modes.
    community/perl-term-progressbar 2.09-1
    Provide a progress meter on a standard terminal in perl
    community/perl-term-read-password 0.07-1
    lets you ask the user for a password without echoing
    perlcpan/perl-term-progressbar 2.09-1
    Term::ProgressBar - Progress bar in just ASCII / using Term
    perlcpan/perl-term-ui 0.14-1
    Term::UI - No description provided by CPAN
    perlcpan/perl-termreadkey 2.30-1
    Term::ReadKey - Read keystrokes and change terminal modes
    [root@Omega ~]#
    thanks for your reply anyways

  • 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

  • Location of perl module?

    howdy guys,
    I'm installing insipid  (a delicious clone) on my local webserver to try.
    It's pretty straight forward, but needs a bunch of "extra" perl modules, most of which I used pacman to fetch.  Except at least one.  I get this error:
    insipid wrote:Couldn't find the module "XML/Writer.pm"
    what package contains Writer.pm?

    scrawler wrote:thanks.   Still, if Writer.pm is already in an arch package, I would prefer to install it that way.
    This seems to be a bit late for you, but it's in the AUR here.
    Re the general topic of perl modules, I prefer to install everything I can with pacman, and with perl I've succeeded so far, either from the official repos, the AUR, or my own PKGBUILDs. If I ever find myself needing 100s of the things, though, I might have to go with the cpan stuff.

  • Essbase PERL module

    Hi,Anybody installed succesfully the Essbase PERL module located in {arborpath}\perlmod directory?Is it possible to install it without Visual Studio compiler and Make.exe (or NMake.exe).Any way of doing it differently?Any ideas or thought about it? Feedbacks are welcome.Thank you for your help.SR

    If you are not opposed to using Python you might want to try my Essbase.py wrapper. Functionally equivalent to the Perl module. No compiling required, all pure Python code.
    MaxL Python Module
    [Essbase.py|http://essbasepy.googlecode.com]

Maybe you are looking for

  • Start & End Routines in BI 7  Transformations

    Hi, In Transformations from DSO1-->DSO2 In Start Routine for all entries in Source Package i read some fields from DSO3 and filled an iternal table And  in end routine i read the iternal table and filled the result package/fields In the mapping i hav

  • Wipe data macbook air without disk

    i wanna wipe me data i have a macbook air 2012 mt lion my mac didnt come with a disk how do i do this????

  • SAX Parser exception in the reciever channel

    Hi Experts, We are using file to mail scenario in which we are using java mappings to handle the EDI files sent to the third party system. Currenly we have got SAX exception in the reciever communication channel. The sender communication channel has

  • Add a URL link to an area menu (SE43)

    Does anybody know an possibility to add a URL link to an area menu in SE43? Best Regards A.B.

  • Airport Express lights dead

    I have just returned from holiday, to find one of my Airport Express stations "dead". It is not showing any lights at all, neither amber nor green. My other Airport Express station, which acts as my base station is working fine, but this second one w