[CWB] BNCweb not displaying after fresh installation
Andrés Chandía
andres.chandia at upf.edu
Fri Sep 2 19:34:47 CEST 2022
I could solve previous problem this way, but I have a new error (read until
the end, please):
cp /etc/apache2/conf-available/serve-cgi-bin.conf
/etc/apache2/conf-available/serve-cgi-bnc.conf
nano /etc/apache2/conf-available/serve-cgi-bnc.conf
next config:
<IfModule mod_alias.c>
<IfModule mod_cgi.c>
Define ENABLE_USR_LIB_CGI_BIN
</IfModule>
<IfModule mod_cgid.c>
Define ENABLE_USR_LIB_CGI_BIN
</IfModule>
<IfDefine ENABLE_USR_LIB_CGI_BIN>
ScriptAlias /bncweb/cgi-bnc/ /var/www/html/bncweb/cgi-bin/
<Directory "/var/www/html/bncweb">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Require all granted
SetEnv PERL5LIB /var/www/html/bncweb/lib_files
SetEnv CORPUS_REGISTRY /usr/local/share/cwb/registry
</Directory>
</IfDefine>
</IfModule>
a2enconf serve-cgi-bnc.conf
nano /etc/apache2/sites-enabled/000-default-80.conf
*** just before "</VirtualHost>"
<Directory /var/www/html/bncweb>
Options Indexes FollowSymLinks ExecCGI
AddHandler cgi-script .cgi .pl
AuthType Basic
AuthName admin
AuthUserFile /home/corpora/cqp/users/.htpasswd
require valid-user
SetEnv PERL5LIB /var/www/html/bncweb/lib_files
SetEnv CORPUS_REGISTRY /usr/local/share/cwb/registry
</Directory>
systemctl restart apache2
But now I get the following error:
/usr/bin/perl: symbol lookup error:
/usr/local/lib/x86_64-linux-gnu/perl/5.30.0/auto/CL/CL.so: undefined
symbol: central_corpus_directory
And for this one I don't have the slightest idea on how to solve it... your
help will be very appreciated
Missatge de Andrés Chandía <andres.chandia at upf.edu> del dia dv., 2 de set.
2022 a les 17:23:
> Hi there, I've gone a couple of times through all the BNCWeb installation
> process, but at the end I get the following error at
> "/var/log/apache2/error.log"
>
> Can't locate bncLibCQPXML.pm in @INC (you may need to install the
> bncLibCQPXML module) (@INC contains: /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0
> /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5
> /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30
> /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at
> .../bncweb/cgi-bin/BNCweb.pl line 28.
> BEGIN failed--compilation aborted at .../bncweb/cgi-bin/BNCweb.pl line 28.
>
> Mentioned line (28):
> use bncLibCQPXML;
>
> I tried:
> cpan[1]> install bncLibCQPXML
>
>
> Reading '/root/.cpan/Metadata'
> Database was generated on Fri, 02 Sep 2022 13:41:02 GMT
> Warning: Cannot install bncLibCQPXML, don't know what it is.
>
> when perl EncodeBNC.perl I have had to install a new CWB version...
> version too old, need at least v3.5.0 (CQP version 2.2.b99)
> cd /CWB/cwb-3.5
> # make clean
> # make depend
> # make all
> # make install
> cd ../Perl-CWB-3.0/
> # perl Makefile.PL
> # make
> # make test
> # make install
> cd ../Perl-CWB-CQI-3.0/
> perl Makefile.PL
> # make
> # make install
> cd ../Perl-CWB-CL-3.0/
> # perl Makefile.PL
> # make
> # make install
> cd ../Perl-CWB-Web-3.0/
> # perl Makefile.PL
> # make
> # make install
>
>
> I hope you can help me, thanks!
> --
>
> *Andrés Chandía*
> Unitat de Traducció i Ciències del Llenguatge
> Roc Boronat 138, C. P.: 08018, Barcelona
> Tel.: 935 055 722 - mail:andres.chandia at upf.edu <andres.chandia at upf.edu>
> [image: chandia.net] <http://www.chandia.net>
> <https://twitter.com/chandianet> mail:andres at chandia.net
> <andres at chandia.net>
> ------------------------------
>
--
*... Andrés Chandía*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20220902/520681a3/attachment-0001.html>
More information about the CWB
mailing list