[CWB] ERROR: CQP backend startup failed; the reported CQP version [] could not be parsed

"Andrés Chandía" andres at chandia.net
Mon Sep 10 13:45:48 CEST 2018



I have found a related Issue where you advised me to do next thing:

You may have to edit config.mk to          SITE=standard  before running the install
script.

so I did'it for the cwb but anyway I get the same error:


gcc -c  -o llquery.o -O2 -Wall -fPIC -m64   -DUSE_TERMCAP -DUSE_READLINE
-DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\"
-DCOMPILE_DATE=\""lun sep 10 13:39:34 CEST 2018"\"
-DVERSION=\"3.4.14\" -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include    llquery.c
llquery.c:43:10: fatal error:
readline/readline.h: No such file or directory
 #include <readline/readline.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/home/andres/CWB/cwb/cqp/../definitions.mk:296: recipe for target 'llquery.o' failed
make[1]: *** [llquery.o] Error 1
make[1]: Leaving directory
'/home/andres/CWB/cwb/cqp'
Makefile:96: recipe for target 'cqp' failed
make: ***
[cqp] Error 2






El Sab, 8 de Septiembre de 2018, 11:52, "Andrés Chandía"
escribió:
 
Ok, yes, I was installing from 


SVN access (source code)

svn export http://svn.code.sf.net/p/cwb/code/cwb/branches/3.0 cwb-3.0 (IMS Open Corpus Workbench)
etc.

I changed to


SVN access for developers

svn co http://svn.code.sf.net/p/cwb/code/cwb/trunk cwb (IMS
Open Corpus Workbench, development branch)

etc..

but anyway I get errors:

cwb#
install-scripts/cwb-install-ubuntu

.:.............
................

gcc -c  -o llquery.o -O2 -Wall -fPIC -m64   -DUSE_TERMCAP -DUSE_READLINE
-DREGISTRY_DEFAULT_PATH=\""/usr/local/cwb-3.4.14/share/cwb/registry"\"
-DCOMPILE_DATE=\""sáb sep  8 11:47:42 CEST 2018"\"
-DVERSION=\"3.4.14\" -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include    llquery.c
llquery.c:43:10: fatal error:
readline/readline.h: No such file or directory
 #include 
         
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/home/andres/CWB/cwb/cqp/../definitions.mk:296: recipe for target 'llquery.o' failed
make[1]: *** [llquery.o] Error 1
make[1]: Leaving directory
'/home/andres/CWB/cwb/cqp'
Makefile:96: recipe for target 'cqp' failed
make: ***
[cqp] Error 2




> On 7 Sep 2018, at 18:28, Andrés
Chandía andres at chandia.net> wrote: >  > #   Failed test 'negative repetition count {-1}' > #   at t/33_cqp_errors.t line 26. >
CWB::CQP: Child process #16539 terminated unexpectedly -- not safe to continue > # Looks like your test exited with 255 just after 6. >     (in cleanup)     (in cleanup)  at
/home/andres/CWB/Perl-CWB-3.0/blib/lib/CWB/CQP.pm line 366 during global destruction. 
You should get a newer CWB version – are you building from a SVN checkout of the 3.4
series?  It's a test I added fairly recently when I fixed a related bug, but I found the issue
serious enough so I didn't make the test conditional on a newer CQP version (as e.g. for the
crlf tests).  You can also just ignore the error and continue with the installation.  Best,
Stefan




_______________________
             andrés
chandía
 
Dungupeyem | IECMap | ISECMap | NMT | Corlexim

administrador de:
Parles.upf | IWCH | Amind terapia |
ONG Mapuche koyaktu | Nocando | IAC | CddZ | ISAC | CatCg
P No imprima
innecesariamente. ¡Cuide el medio ambiente!  


_______________________

            andrés
chandía
 
Dungupeyem | IECMap | ISECMap | NMT | Corlexim

administrador de:
Parles.upf | IWCH | Amind
terapia | ONG Mapuche koyaktu | Nocando | IAC
| CddZ | ISAC |
CatCg
P No imprima innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20180910/c9ecc51d/attachment.html>


More information about the CWB mailing list