[CWB] Error installing CWB-CL

Stefan Evert stefanML at collocations.de
Tue Jul 24 14:11:17 CEST 2012


> I got this error now, when installing 3.0 version
> 
> make all
> --------------------------------- BUILDING EDITLINE LIBRARY
> (cd editline && CC="/usr/bin/gcc" CFLAGS="-Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE" ./configure && make)
> checking for gcc... /usr/bin/gcc
> checking for C compiler default output file name... configure: error: C compiler cannot create executables
> See `config.log' for more details.
> make: *** [editline] Error 77


No wonder: you're compiling on Debian Linux (according to command output from your previous mails), but have configured the CWB for Mac OS X.  In file config.mk: 

> include $(TOP)/config/platform/darwin-universal

needs to be changed to

> include $(TOP)/config/platform/linux-64

(since I assume you're on 64-bit Linux and want to compile a 64-bit version of the CWB).

For the record: this was easy to spot from the options "-arch x86_64 -arch i386" which are proprietary gcc extensions added by Apple.

Cheers,
Stefan



More information about the CWB mailing list