PerlCPAN Repository

From ArchWiki

Jump to: navigation, search
Image:Tango-dialog-warning.png This article is out of date.
It may contain old, confusing and wrong information. Please help improve the wiki by updating the article and correcting mistakes.
Image:Tango-user-trash-full.png This article is being considered for deletion.
This article is being considered for deletion. This typically means that it is too short, written too poorly to be helpful, or not relevant to Arch Linux. (Discuss)


The PerlCPAN Repository is maintained by Charles Mauch. It is an archive of a few CPAN modules, updated nightly. Many of the perl modules in this repository are newer than their counterparts in the main Arch repos.

Please note that this repository intentionally includes packages with identical names to packages found in the [community], [extra], and [current] repositories. I've made some effort to ensure that packages in this repository correctly replace their counterparts in the main repos.

Also, you will need to use our copy of the perl package. I produce packages which adhere to the Perl_Policy. Archlinux provided perl packages do not support these standards yet.

If you use perl modules in this repository without replacing your perl package with the package provided in this repository, perlcpan modules will not be visible to the stock Archlinux perl interpreter. In such a case however, your old modules would not be affected and would work correctly.

[edit] Recent News

  • June 19 : Uploading the "reset" now.
  • June 9 : I'll be restoring this perl repository to be the primary focus of my perl work. Moving perl packages into community was not a good idea. Autobuilding is on hold for a few days while I rework the PKGBUILDs to take advantage of my "corrected" perl package.
  • Sat May 19 : A good chunk of the modules previously in this repository have been moved to the [community] repository. See: Enabling the community repositories. I will be using this repository now for modules only I probably use (like Email::Filter and for beta testing modules which will eventually be incorporated into [community]. This repository is independent of the modules in AUR/Community, so you should be able to use both repositories (or one or the other) if you want without trouble.

[edit] Using

If you wish to use this archive, add the following to /etc/pacman.conf

[perlcpan]
Server = http://arch.os-zen.net/perlcpan/packages

Individual PKGBUILDs can be found in packages. If you are experiencing a problem with a particular package, please look for irregularities in the build reports. A complete history of changes and packages is also available in git should you want a particular package on a particular date.

[edit] Perl Hackers

If a package is not provided in this repository, you have a couple of options.

  • Add the perl module to the list below. It should appear within 24 to 48 hours. Even if you select another option, please take the time to add it to the list so that others might benefit.
  • Install the package with cpan or cpanplus (cpanp). The resulting package will be correctly installed into a site directory on your workstation. Packages installed in this way should be refreshed/upgraded when perl itself is upgraded. You will need to do this yourself. This is an excellent option for modules which will not compile without weird dependencies that I cannot provide (like the oracle DBI modules).
  • Install the package into your home directory. The perl provided in this repository adds ~/perl to your PERL5LIB environment variable, so any modules found in your home directory will be used before any other modules. This is an excellent way to install and continue coding. Eventually when a pre-compiled version is available through this repository, you can remove the locally installed modules using cpanp, or manually with lots of rm -rf.

If you ever run across packages which contain file conflicts, let me know right away. By adhering to the Perl_Policy, these kinds of problems should have been completely eliminated.

[edit] About

This archive is not manually maintained like many other archives. In fact, the entire process of creating the archive is handled with a set of perl scripts I wrote to keep maintenance to a minimum.

If you have problems, I can be contacted via email, or fire me a message on irc (I use the handle xterminus).

I also update my archperl page far more frequently than I do this page. You might check there for news, updates, rss feeds, etc.

[edit] Adding new perl modules

A perl script scrapes this web page every night.

If you would like any of the CPAN modules added to this repository, add it to the list below and it will automatically be built by the next day. If the module has an Archlinux (not a perl module ) dependency, please list them to the right of the module name. For example,

DBD::mysql mysql-clients libmysqlclient

This indicates that DBD::mysql requires (or is useless without) the mysql-clients and libmysqlclient packages in the Archlinux [community], [extra], or [current] repositories.

Please check to see that your new package is not already being built. The "seed" list I use to kick off dependency calculation can be found here.

[edit] Errors

If you do not see your package in the repo within 48 hours, please visit reports to see what went wrong. If you see a build report, examine it and try and figure out why it's failing. Then email Charles.

If you do not see a report, nor is your module in the repository --- maybe Charles turned off his workstation? Contact me. If you do see a build report, examine it and try and figure out why it's failing. Then email me.

[edit] User Submitted Packages

The following packages are added and removed from the repo by modifying this list. It is scraped every night for changes.

#START#
Test::More
Test::Distribution
Regexp::DefaultFlags
Class::Single
Class::Base
Crypt::SmbHash
File::Path
HTTP::Server::Simple
JSON::XS
Chatbot::Eliza
Audio::File
Audio::MPD mpd
Audio::Scrobbler
CGI::Kwiki
Color::Scheme
Config::Magic
Config::Simple
Config::General
Config::Tiny
DBD::SQLite
DBD::mysql mysql-clients libmysqlclient
DBM::Deep
DateTime::Format::ICal
Email::Abstract
Email::Address
Email::Filter
Email::FolderType
Email::LocalDelivery
Email::Simple
File::Find::Rule
File::Tail::FAM
Games::Dice
GnuPG::Interface gnupg
Gtk2::Sexy
Gtk2::Spell
Image::ExifTool
Image::Size
Image::Magick imagemagick
IO::AIO
Jcode
Linux::Inotify2
Mail::POP3Client
MLDBM
MLDBM::Sync
MP3::Info
MP3::Tag
Net::IMAP::Simple::SSL
SGI::FAM
Shell::Perl
String::Random
Text::Template
Unicode::MapUTF8
Unicode::Map
Unicode::Map8
Weather::Underground
WebService::FreeDB
Apache::DBI
Apache2::SOAP
Crypt::Rijndael
Error
SOAP::Lite
CGI::Builder
XML::Simple
XML::RSS
HTML::Template
Algorithm::Permute
Algorithm::FastPermute
Net::Google::Calendar
POE::Sugar::Args
HTTP::Request::Common
#END#

[edit] Packages known to fail on build

  • DBD::Oracle. It looks like some oracle environment variables need to be defined. I'll re-try this package if someone can supply the correct variables to use in archlinux. I know nothing about oracle. --Charles
  • Javascript. Odd errors, not sure why it fails to compile. --Charles

[edit] Non CPAN Perl Package Requests

There are some excellent perl packages not located in CPAN. If you run across something spectacular written in perl that you think should be included, list it here and I'll try and see what can be done.

IkiWiki http://ikiwiki.info
SVK
Personal tools