[CWB] problem with ubuntu installation

Bogdan Babych B.Babych at leeds.ac.uk
Fri Feb 1 13:27:08 CET 2008


Dear Serge, 

This is the solution which solved the problem of compiling CWB under
Ubuntu-64. Now we are able to work with much larger corpora with 64bits!


Bogdan


On 19/07/07, Stefan Evert <stefan.evert at uos.de> wrote:
> Hi Bogdan,
>
> apparently the problem is that you don't have a termcap or curses
> library, which CQP needs for its interactive terminal mode (for
> colouring and highlighting results, etc.).  You should install the
> package "ncurses" (and the corresponding development package with
> header files!), which is what we use on our Opteron server (we've got
> Debian, where the required packages are libncurses5 and libncurses5-
> dev).
>
> Hope this works for you,
> Stefan
>
> On 19 Jul 2007, at 15:08, Bogdan Babych wrote:
>
> > Dear Sergei and Stefan,
> >
> >
> > I ran installation of CWB on Ubuntu 7.04 amd64 (with all the modules
> > mentioned in README -- like bison and flex,... . -- pre-installed),
> > and in fact some files have been successfully generated: e.g.,
> > "cwb-describe-corpus" works fine now.
> >
> > However, the "cqp" command doesn't work: it looks like its
compilation
> > failed, it is not in /usr/local/bin/
> >
> >
> > (This is the list of files successfully compiled:)
> > root at bogdan-laptop:/usr/local/bin# ls
> > cwb-align         cwb-align-show  cwb-compress-rdx
> > cwb-describe-corpus  cwb-huffcode  cwb-lexdecode  cwb-scan-corpus
> > cwb-s-encode
> > cwb-align-encode  cwb-atoi        cwb-decode        cwb-encode
> >  cwb-itoa      cwb-makeall    cwb-s-decode
> >
> >
> >
> > I think the problem may be on the stage:
> > "make all", where there are a lot of warnings and the sub-stage
> > logged as:
> > echo "*** MAKING CQP ***"
> > *** MAKING CQP ***
> > make -C cqp
> > ...
> >
> > the following operation ends with an error message:
> >
> > rm -f ascii-print.o
> > gcc -c  -o ascii-print.o  -Wall -O2 -fPIC -g -DCWB_LITTLE_ENDIAN
> > -DREGISTRY_DEFAULT_PATH=\"/corpora/c1/registry\" -DEXPIRE=0
> > -DCOMPILE_DATE=\""`date`"\" -DVERSION=\""2.2.b98 (3 October 2006)"\"
> > -DVERSION_YEAR=\"2005\" -DSYSTEM=LINUX -DUSE_TERMCAP -DUSE_READLINE
> > -I../editline  ascii-print.c




On Fri, 2008-02-01 at 11:29 +0000, Serge Sharoff wrote:
> Hi all,
> My understanding is that CWB compiles on a 64bit ubuntu.  In the result
> it can encode corpora up to 2 gigawords, so that we managed to install
> ukwac and dewac.  There was a minor glitch that required installing
> additional libraries, so I'm cc'ing to the person who solved this.
> S
> 
> On Fri, 2008-02-01 at 11:48 +0100, Dieter Schicker wrote:
> > Hi,
> > 
> > I had the same problem. Fixed it by setting up a 32bit chroot jail on
> > Ubuntu 64bit. Here's a good example on how to do that:
> > 
> > http://ubuntuforums.org/showthread.php?t=24575
> > 
> > Btw: Are there plans to port cwb to 64bit?
> > 
> > Cheers
> > Dieter
> > 
> > Gertrud Faasz wrote:
> > >
> > > Dear all,
> > > I've been trying to install CWB on a 64-bit linux (ubuntu) from
> > > source, however, the installation has not been successful. It would be
> > > great if there was anyone on this list who has successfully finished
> > > such an installation and who could help me with it, for I am not a
> > > very experienced user when it comes to installing stuff. Thanks very
> > > much in advance,
> > >
> > > Gertrud
> > >
> > > ps
> > >
> > > A detailed description of the problems occurring is stored on
> > >
> > > http://sourceforge.net/tracker/index.php?func=detail&atid=722304&aid=1831666&group_id=131809
> > > <http://sourceforge.net/tracker/index.php?func=detail&atid=722304&aid=1831666&group_id=131809>
> > >
> > >
> > >
> > > This message and attachments are subject to a disclaimer. Please refer
> > > to www.it.up.ac.za/documentation/governance/disclaimer/ for full
> > > details. / Hierdie boodskap en aanhangsels is aan 'n vrywaringsklousule
> > > onderhewig. Volledige besonderhede is by
> > > www.it.up.ac.za/documentation/governance/disclaimer/ beskikbaar.
> > 
> > _______________________________________________
> > CWB mailing list
> > CWB at sslmit.unibo.it
> > http://devel.sslmit.unibo.it/mailman/listinfo/cwb


More information about the CWB mailing list