[CWB] Installation problem

Hardie, Andrew a.hardie at lancaster.ac.uk
Wed Feb 22 20:48:08 CET 2017


You’re using the configuration for Apple OS X (Darwin-universal), not for Ubuntu, as the presence of “-arch x86_64 -arch i386” in the gcc command line makes clear. I think you have forgotten to edit config.mk to specify that you are on Linux.

(Alternatively, use one of the auto build scripts, which will edit config.mk for you. Either way, INSTALL has the answers.)

best

Andrew.

From: "Andrés Chandía" [mailto:andres at chandia.net]
Sent: 22 February 2017 19:13
To: Open source development of the Corpus WorkBench
Cc: Hardie, Andrew
Subject: Installation problem

Hi there I'm installing CWB at a new server so I have downloaded the latest version:

svn co http://svn.code.sf.net/p/cwb/code/cwb/trunk cwb

at make all I get:

--------------------------------- BUILDING CORPUS LIBRARY (CL)
make -C cl
make[1]: Entering directory '/root/CWB/cwb/cl'
rm -f globals.o
/usr/bin/gcc -c  -o globals.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DREGISTRY_DEFAULT_PATH=\""/usr/local/cwb-3.4.10/share/cwb/registry"\" -DCOMPILE_DATE=\""mié feb 22 20:02:43 CET 2017"\" -DVERSION=\"3.4.10\" -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    globals.c
gcc: error: x86_64: No such file or directory
gcc: error: i386: No such file or directory
gcc: error: unrecognized command line option ‘-arch’
gcc: error: unrecognized command line option ‘-arch’
/root/CWB/cwb/cl/../definitions.mk:293: recipe for target 'globals.o' failed
make[1]: *** [globals.o] Error 1
make[1]: Leaving directory '/root/CWB/cwb/cl'
Makefile:82: recipe for target 'all' failed
make: *** [all] Error 2



I've checked all the requirements:

gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
GNU ar (GNU Binutils for Ubuntu) 2.26.1
GNU ranlib (GNU Binutils for Ubuntu) 2.26.1
GNU Make 4.1 Built for x86_64-pc-linux-gnu
bison (GNU Bison) 3.0.4
flex 2.6.0
pkg-config --version 0.29.1
ncurses5-config --version 6.0.20160213
pcre-config --version 8.38
glib-genmarshal version 2.48.2


thanks
_______________________
andrés chandía
[Image removed by sender. chandia.net]<http://www.chandia.net>[Image removed by sender.]<https://twitter.com/andreschandia>
NMT<http://chandia.net/content/nmt> | Dungupeyem<http://chandia.net/content/dungupeyem> | Corlexim<http://corlexim.cl>

administrador de:
Parles.upf<http://parles.upf.edu> | Amind terapia<http://amindterapia.com> | Mapuche koyaktu<http://koyaktumapuche.net> | Nocando<http://parles.upf.edu/llocs/nocando> |
mail: ONG Mapuche koyaktu<http://mail.corporacionkoyaktu.net> | Psicoaching<http://mail.psicoaching.net> |
P No imprima innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170222/7a2da154/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170222/7a2da154/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 338 bytes
Desc: image001.jpg
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170222/7a2da154/attachment-0001.jpg>


More information about the CWB mailing list