[CWB] EncodeBNC can't locate CWB

Stefan Evert stefanML at collocations.de
Thu Apr 4 09:16:54 CEST 2019



> On 4 Apr 2019, at 02:56, Hardie, Andrew <a.hardie at lancaster.ac.uk> wrote:
> 
> Please start over again. Read the README, and run
>  
>     perl Makefile.PL
>     make
>     make test
>     make install
>  
> as per instructions. Last command needs sudo’er power, if you don’t have that, then you need to change the installation prefix to somewhere you can install to. (prob in your ~ )  Then you’d need to use either the -I flag or the PERL5LIB environment var to tell Perl which directories to look in.

Often, it's the other way round.  If you install from a user account, Perl may automatically put the files in a local Perl lib in your home directory, where they will not be available to other users or the Web server.  Therefore, in most cases it's better to run

	sudo make install

to ensure global installation.


Also, I'd very much recommend to install up-to-date versions of CWB and the Perl modules from our subversion repository as described here:

	http://cwb.sourceforge.net/developers.php#svn

Version 2.2.102 of the Perl modules is quite outdated. (Note to self: Web site in bad need of cleanup and updates)

Best,
Stefan


More information about the CWB mailing list