<div dir="ltr"><div>I could solve previous problem this way, but I have a new error (read until the end, please):</div><div><br></div><div>cp /etc/apache2/conf-available/serve-cgi-bin.conf /etc/apache2/conf-available/serve-cgi-bnc.conf</div><div>nano /etc/apache2/conf-available/serve-cgi-bnc.conf</div><div>next config:</div><div>&lt;IfModule mod_alias.c&gt;<br>        &lt;IfModule mod_cgi.c&gt;<br>                Define ENABLE_USR_LIB_CGI_BIN<br>        &lt;/IfModule&gt;<br>        &lt;IfModule mod_cgid.c&gt;<br>                Define ENABLE_USR_LIB_CGI_BIN<br>        &lt;/IfModule&gt;<br>        &lt;IfDefine ENABLE_USR_LIB_CGI_BIN&gt;<br>                ScriptAlias /bncweb/cgi-bnc/ /var/www/html/bncweb/cgi-bin/<br>                &lt;Directory &quot;/var/www/html/bncweb&quot;&gt;<br>                        AllowOverride None<br>                        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch<br>                        Require all granted<br>                        SetEnv PERL5LIB /var/www/html/bncweb/lib_files<br>                        SetEnv CORPUS_REGISTRY /usr/local/share/cwb/registry<br>                &lt;/Directory&gt;<br>        &lt;/IfDefine&gt;<br>&lt;/IfModule&gt;<br></div><div><br></div><div>a2enconf serve-cgi-bnc.conf</div><div><br></div><div>nano /etc/apache2/sites-enabled/000-default-80.conf</div><div>*** just before &quot;&lt;/VirtualHost&gt;&quot;</div><div>&lt;Directory /var/www/html/bncweb&gt;<br>                Options Indexes FollowSymLinks ExecCGI<br>                AddHandler cgi-script .cgi .pl<br>                AuthType Basic<br>                AuthName admin<br>                AuthUserFile /home/corpora/cqp/users/.htpasswd<br>                require valid-user<br><br>                SetEnv PERL5LIB /var/www/html/bncweb/lib_files<br>                SetEnv CORPUS_REGISTRY /usr/local/share/cwb/registry<br>        &lt;/Directory&gt;</div><div><br></div><div>systemctl restart apache2</div><div><br></div><div></div><div>But now I get the following error:<br></div><div>/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</div><div><br></div><div>And for this one I don&#39;t have the slightest idea on how to solve it... your help will be very appreciated<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Missatge de Andrés Chandía &lt;<a href="mailto:andres.chandia@upf.edu">andres.chandia@upf.edu</a>&gt; del dia dv., 2 de set. 2022 a les 17:23:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi there, I&#39;ve gone a couple of times through all the BNCWeb installation process, but at the end I get the following error at &quot;/var/log/apache2/error.log&quot;</div><div><br></div><div>Can&#39;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.<br>BEGIN failed--compilation aborted at .../bncweb/cgi-bin/BNCweb.pl line 28.</div><div><br></div><div>Mentioned line (28): <br></div><div>use bncLibCQPXML;</div><div><br></div><div>I tried:</div><div>cpan[1]&gt; install bncLibCQPXML                                                                                                                                                                                      <br>Reading &#39;/root/.cpan/Metadata&#39;<br>  Database was generated on Fri, 02 Sep 2022 13:41:02 GMT<br>Warning: Cannot install bncLibCQPXML, don&#39;t know what it is.</div><div><br></div><div>when perl EncodeBNC.perl I have had to install a new CWB version...<br></div><div></div><div>version too old, need at least v3.5.0 (CQP version 2.2.b99)<br>cd /CWB/cwb-3.5<br># make clean<br># make depend<br># make all<br># make install<br>cd ../Perl-CWB-3.0/<br># perl Makefile.PL<br># make<br># make test<br># make install<br>cd ../Perl-CWB-CQI-3.0/<br>perl Makefile.PL<br># make<br># make install<br>cd ../Perl-CWB-CL-3.0/<br># perl Makefile.PL<br># make<br># make install<br>cd ../Perl-CWB-Web-3.0/<br># perl Makefile.PL<br># make<br># make install</div><div><br></div><div><br></div><div>I hope you can help me, thanks!<br></div><div>-- <br><div dir="ltr"><div dir="ltr"><table dir="ltr" width="100%" cellspacing="2" cellpadding="2">
<tbody>
<tr><td style="border:medium none;padding:0cm" width="12%">
<p><img src="https://www.upf.edu/documents/10193/6775906/signatura-correu.png" name="m_-7248614788506750016_SignatureSanitizer_m_5415326291519039758_SignatureSanitizer_signaturaupf" width="162" height="62" border="0" align="bottom">
</p></td>
<td style="border:medium none;padding:0cm">
<p><font face="Verdana, sans-serif"><font style="font-size:10pt" size="2"><b>Andrés Chandía</b></font></font><br>
<font face="Verdana, sans-serif"><font style="font-size:10pt" size="2">Unitat de Traducció i Ciències del Llenguatge<br>
Roc Boronat 138, C. P.: 08018, Barcelona<br>
Tel.: 935 055 722 - <a href="mailto:andres.chandia@upf.edu" target="_blank">mail:andres.chandia@upf.edu</a></font></font></p></td>
</tr>
<tr><td><a href="http://www.chandia.net" target="_blank"><img src="http://mail.chandia.net/images/chandia_net.png" alt="chandia.net" width="98" height="44" border="0" align="bottom"></a>
 <a href="https://twitter.com/chandianet" target="_blank"><img src="http://mail.chandia.net/images/ico_tw.png" width="20" height="20"></a></td>
<td><font face="Verdana, sans-serif"><font style="font-size:10pt" size="2"><a href="mailto:andres@chandia.net" target="_blank">mail:andres@chandia.net</a></font></font></td></tr>
</tbody></table>
<hr style="height:1px;border-width:0px;color:rgb(200,16,46);background-color:rgb(200,16,46)">
<img src="https://ci3.googleusercontent.com/mail-sig/AIorK4yTWuuJgoqJ3i-Ir0NHJSpAWwqSbLjzJMBbgf9K5Gx_Y6mX0PQFjwgdrACBE8bL2e72tMi4zAQ" border="0">
</div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><span style="color:rgb(0,0,255)"><i><span style="font-family:trebuchet ms,sans-serif">... Andrés Chandía</span></i></span><br></div></div>