Menu

Installing on ubuntu (lucid)

XAIRA
W Koster
2011-02-15
2013-05-13
  • W Koster

    W Koster - 2011-02-15

    When I treid to install xaira on my ubuntu system I needed the following packages;
    libxerces-c
    libxerces-c-dev
    libicu42
    libicu-dev
    as well as gcc, g++, gnulib and zlib1g-dev

    configure ran ok, but make stopped in the samples with:

    make: Entering directory `/home/local/source/bnc/xaira-1.26/samples'
    g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xaira\" -DVERSION=\"1.26\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ASM_BYTEORDER_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ERRNO_H=1 -DHAVE_CRYPT_H=1 -DHAVE_UNICODE_UVERSION_H=1 -DHAVE_XERCESC_UTIL_XERCESVERSION_HPP=1 -DHAVE_ZLIB_H=1 -DHAVE_SOCKLEN_T=1 -DHAVE_LIBCRYPT=1 -I.  -w -DDATAPATH=\"/opt/xaira/share/xaira\"   -g -O2 -MT solve.o -MD -MP -MF .deps/solve.Tpo -c -o solve.o solve.cpp
    solve.cpp:16:31: error: readline/readline.h: No such file or directory
    solve.cpp:17:30: error: readline/history.h: No such file or directory
    solve.cpp: In function ‘int main(int, char**)’:
    solve.cpp:117: error: ‘readline’ was not declared in this scope
    solve.cpp:119: error: ‘add_history’ was not declared in this scope
    make: ***  Error 1
    make: Leaving directory `/home/local/source/bnc/xaira-1.26/samples'
    make: ***  Error 1

    This was enough to get the deamon started, but the command-line solve doesn't work.

    I tried to use the binary install using the packages at http://tei.oucs.ox.ac.uk/ but I couldn't find anything remotely looking like xaira.

    I believe it's working now though. Library colleague will need to confirm he's able to access BNC (British National Corpus).

     
  • Lou Burnard

    Lou Burnard - 2011-02-15

    You need the readline utility if you are going to run the Solve utility, but you don't need it for the server. The ubuntu packages readline-common and libreadline6 supply it.

    The binary package isn't currently being maintained , I am sorry to say.

     

Log in to post a comment.