Installing Bioperl on Windows

I just installed ActiveState Perl 5.10.0.1008 Win 32 and tried to launch ppm.

Either with the gui command or with the command line (ppm install PAR) I get the same error message :

ppm install failed: DBI connect('dbname=C:/Users/李丽伟/AppData/Local/ActiveState/ActivePerl/1008/ppm-MSWin32-x86-multi-thread-5_10.db','',...) failed: unable to open database file(1)

The directory c:/winnt/... /1002 is correctly created, but nothing inside.
I wonder if this may have something to do with the fact that I have a Chinese Windows, with an accentuated character in the above path which should be :

C:/Users/李丽伟/AppData/Local/ActiveState/ActivePerl/1008

Set the ACTIVEPERL_PPM_HOME environment variable to point to a directory without extended Unicode characters in its name and PPM will try to maintain its database in this directory instead.

Example:

cmd:

set ACTIVEPERL_PPM_HOME=c:/perl/temp

ppm

It works perfectly!

Problem:

I have to set the ACTIVEPERL_PPM_HOME environment whenever I want to launch my ppm.

 

Then Install Bioperl .

Installation using the Perl Package Manager

GUI Installation

1) Start the Perl Package Manager GUI from the Start menu.
2) Go to Edit >> Preferences and click the Repositories tab. Add a new repository for each of the following (note the difference based on the perl version). NOTE - The DB_File installed with ActivePerl 5.10 and above is a stub (i.e. it does not work). The Trouchelle database below has a working DB_File.

Repositories to add
Name perl 5.8 perl 5.10
BioPerl-Regular Releases http://bioperl.org/DIST http://bioperl.org/DIST
BioPerl-Release Candidates http://bioperl.org/DIST/RC http://bioperl.org/DIST/RC
Kobes http://theoryx5.uwinnipeg.ca/ppms http://cpan.uwinnipeg.ca/PPMPackages/10xx/
Bribes http://www.Bribes.org/perl/ppm http://www.Bribes.org/perl/ppm
Trouchelle http://trouchelle.com/ppm http://trouchelle.com/ppm10
tcool http://ppm.tcool.org/archives/ NA

3) Select View >> All Packages.
4) In the search box type bioperl.
5) Right click the latest version of Bioperl available and choose install. (Note for users of previous Bioperl releases: you should not have to use the Bundle-BioPerl package anymore.)
5a) From bioperl 1.5.2 onward, all 'optional' pre-requisites will be marked for installation. If you see that some of them complain about needing a command-line installation (eg. XML::SAX::ExpatXS), and you want those particular pre-requisites, stop now (skip step 6) and see the 'Command-line Installation' section.
6) Click the green arrow (Run marked actions) to complete the installation.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值