You are not logged in.

#1 2009-03-09 12:38:34

greenfuse
Member
Registered: 2008-02-14
Posts: 57

Can't locate Text/CSV_XS.pm

I wish to try the script csv2addressbook.pl from http://www.claws-mail.org/tools/claws-m … ook.tar.gz to transfer address books from T-bird to Claws. I hope it will work better than Claws's "import LDIF file", which leaves out some fields.

The script aborts with the error:

Can't locate Text/CSV_XS.pm in @INC (followed by various paths contained in  @INC)

I could not locate the module CSV_XS.pm on my system, nor could I find a package from pacman to install it. An online search found the module which I copied into /usr/share/perl5/core_perl/Text/ , (one of the paths in @INC) and gave the same permissions as the other items in that folder.

Now when I try to run  csv2addressbook.pl it aborts with:

Can't locate loadable object for module Text::CSV_XS in @INC

Could I please have some help to install the module correctly and run the script.

Offline

#2 2009-03-10 06:41:49

juster
Forum Fellow
Registered: 2008-10-07
Posts: 195

Re: Can't locate Text/CSV_XS.pm

You can get the Text::CSV_XS perl module from an Archlinux package on the AUR.  Searching perl-text-csv I found this page for the perl-text-csv-xs package: http://aur.archlinux.org/packages.php?ID=9287.

Offline

#3 2009-03-12 15:52:20

greenfuse
Member
Registered: 2008-02-14
Posts: 57

Re: Can't locate Text/CSV_XS.pm

Thanks I'll give it a try

Offline

Board footer

Powered by FluxBB