[CWB] Character encoding problems when transferring corpus

Josep M. Fontana josepm.fontana at upf.edu
Fri Aug 17 17:19:04 CEST 2012


Hi,

I followed the instructions in INSTALL carefully. I ran 'make clean', 
'make depend', 'make all' and 'make install'. Find the output of all 
these commands in attached files.

Before reading these files, please clarify something for me because 
perhaps there is something more fundamental I'm doing wrong. When you 
say "compile and install CWB 3.4", you mean running these 4 commands I 
have mentioned. I assume that if I am in /cwb, these commands will 
compile the source code that I have in this directory. When I read the 
INSTALL file, though, I see that its heading says "Release 3.5 BETA", 
not 3.4.

Before compiling, when I checked the code via subversion with:

svn co https://cwb.svn.sourceforge.net/svnroot/cwb/cwb/trunk cwb

I saw a message saying "Checked out revision 331."

I just want to make sure I'm doing this right all the way and that I'm 
working with the correct version of the code.

As you will see in output for 'make all', the previous error "lipo: 
can't open input file..." continues to appear but this time I don't see 
the other error you mention:

> i686-apple-darwin10-gcc-4.2.1: /Users/jfontana/cwb/utils/../cl/libcl.a: No such file or directory
The source of the error seems to be related to:

"...file was built for unsupported file format which is not the 
architecture being linked (i386)"
[...]
"ld: symbol(s) not found for architecture i386"


Josep M.

On 8/17/12 3:13 AM, Stefan Evert wrote:
>> "lipo: can't open input file: /var/folders/4c/4cqHpGvGGzucg8Ge2XytcU+++TM/-Tmp-//ccsmnms7.out (No such file or directory)
>> make[1]: *** [cqp] Error 1
>> make: *** [cqp] Error 2"
> That is a weird error message, but reading the complete output you sent previously shows the actual source of the error:
>
>> i686-apple-darwin10-gcc-4.2.1: /Users/jfontana/cwb/utils/../cl/libcl.a: No such file or directory
> CQP (and the other command-line utilities) can't be compiled because you failed to build the CL library (libcl.a) due to the missing pkg-config.
>
> If you've restarted from scratch and followed the instructions in the INSTALL file, this should not happen, because "make all" should stop with an error when trying to compile libcl.a.
>
> Can you step through the process again carefully and send us every command you executed plus its output?  The easiest way to do so will be to open a new Terminal window, compile and install CWB 3.4 from this window, and then press Cmd-S (or select "Export Text As..." from the "Shell" menu).
>
> Best,
> Stefan
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20120817/5bc2113e/attachment-0001.html>
-------------- next part --------------
Louise-McNallys-MacBook-Pro:cwb jfontana$ make all
--------------------------------- BUILDING CORPUS LIBRARY (CL)
make -C 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 -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:05 EDT 2012"\" -DVERSION=\"3.4.5\"    globals.c
rm -f macros.o
/usr/bin/gcc -c  -o macros.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:06 EDT 2012"\" -DVERSION=\"3.4.5\"    macros.c
macros.c: In function ?print_indented_list_br?:
macros.c:404: warning: format not a string literal and no format arguments
macros.c: In function ?print_indented_list_br?:
macros.c:404: warning: format not a string literal and no format arguments
rm -f list.o
/usr/bin/gcc -c  -o list.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:06 EDT 2012"\" -DVERSION=\"3.4.5\"    list.c
rm -f lexhash.o
/usr/bin/gcc -c  -o lexhash.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:06 EDT 2012"\" -DVERSION=\"3.4.5\"    lexhash.c
rm -f bitfields.o
/usr/bin/gcc -c  -o bitfields.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:06 EDT 2012"\" -DVERSION=\"3.4.5\"    bitfields.c
rm -f storage.o
/usr/bin/gcc -c  -o storage.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:07 EDT 2012"\" -DVERSION=\"3.4.5\"    storage.c
rm -f fileutils.o
/usr/bin/gcc -c  -o fileutils.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:07 EDT 2012"\" -DVERSION=\"3.4.5\"    fileutils.c
rm -f special-chars.o
/usr/bin/gcc -c  -o special-chars.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:07 EDT 2012"\" -DVERSION=\"3.4.5\"    special-chars.c
special-chars.c: In function ?cl_string_maptable?:
special-chars.c:1700: warning: passing argument 1 of ?maptable_init_identity? discards qualifiers from pointer target type
special-chars.c:1703: warning: return discards qualifiers from pointer target type
special-chars.c: In function ?cl_string_zap_controls?:
special-chars.c:1764: warning: array subscript has type ?char?
special-chars.c:1771: warning: suggest parentheses around assignment used as truth value
special-chars.c: In function ?cl_string_reverse?:
special-chars.c:1950: warning: passing argument 1 of ?cl_strdup? discards qualifiers from pointer target type
special-chars.c: In function ?cl_string_qsort_compare?:
special-chars.c:2007: warning: assignment discards qualifiers from pointer target type
special-chars.c:2008: warning: assignment discards qualifiers from pointer target type
special-chars.c: In function ?cl_string_maptable?:
special-chars.c:1700: warning: passing argument 1 of ?maptable_init_identity? discards qualifiers from pointer target type
special-chars.c:1703: warning: return discards qualifiers from pointer target type
special-chars.c: In function ?cl_string_zap_controls?:
special-chars.c:1764: warning: array subscript has type ?char?
special-chars.c:1771: warning: suggest parentheses around assignment used as truth value
special-chars.c: In function ?cl_string_reverse?:
special-chars.c:1950: warning: passing argument 1 of ?cl_strdup? discards qualifiers from pointer target type
special-chars.c: In function ?cl_string_qsort_compare?:
special-chars.c:2007: warning: assignment discards qualifiers from pointer target type
special-chars.c:2008: warning: assignment discards qualifiers from pointer target type
rm -f regopt.o
/usr/bin/gcc -c  -o regopt.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:08 EDT 2012"\" -DVERSION=\"3.4.5\"    regopt.c
regopt.c: In function ?cl_new_regex?:
regopt.c:124: warning: unused variable ?i?
regopt.c:124: warning: unused variable ?error_num?
regopt.c: In function ?cl_new_regex?:
regopt.c:124: warning: unused variable ?i?
regopt.c:124: warning: unused variable ?error_num?
rm -f corpus.o
/usr/bin/gcc -c  -o corpus.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:08 EDT 2012"\" -DVERSION=\"3.4.5\"    corpus.c
corpus.c: In function ?add_corpus_property?:
corpus.c:852: warning: unused variable ?i?
corpus.c:851: warning: unused variable ?charset?
corpus.c: In function ?add_corpus_property?:
corpus.c:852: warning: unused variable ?i?
corpus.c:851: warning: unused variable ?charset?
rm -f attributes.o
/usr/bin/gcc -c  -o attributes.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:08 EDT 2012"\" -DVERSION=\"3.4.5\"    attributes.c
attributes.c: In function ?component_full_name?:
attributes.c:795: warning: the address of ?rname? will always evaluate as ?true?
attributes.c:797: warning: the address of ?rname? will always evaluate as ?true?
attributes.c:800: warning: the address of ?rname? will always evaluate as ?true?
attributes.c: In function ?component_full_name?:
attributes.c:795: warning: the address of ?rname? will always evaluate as ?true?
attributes.c:797: warning: the address of ?rname? will always evaluate as ?true?
attributes.c:800: warning: the address of ?rname? will always evaluate as ?true?
rm -f registry.tab.o
/usr/bin/gcc -c  -o registry.tab.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:09 EDT 2012"\" -DVERSION=\"3.4.5\"    registry.tab.c
rm -f lex.creg.o
/usr/bin/gcc -c  -o lex.creg.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:09 EDT 2012"\" -DVERSION=\"3.4.5\"    lex.creg.c
lex.creg.c:1410: warning: ?yyunput? defined but not used
lex.creg.c:1410: warning: ?yyunput? defined but not used
rm -f makecomps.o
/usr/bin/gcc -c  -o makecomps.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:10 EDT 2012"\" -DVERSION=\"3.4.5\"    makecomps.c
rm -f cdaccess.o
/usr/bin/gcc -c  -o cdaccess.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:10 EDT 2012"\" -DVERSION=\"3.4.5\"    cdaccess.c
cdaccess.c: In function ?cl_regex2id?:
cdaccess.c:1390: warning: unused variable ?i?
cdaccess.c:1389: warning: unused variable ?p?
cdaccess.c:1353: warning: unused variable ?preprocessed_string?
cdaccess.c:1350: warning: unused variable ?grain_match?
cdaccess.c:1349: warning: unused variable ?len?
cdaccess.c:1349: warning: unused variable ?regex_result?
cdaccess.c: In function ?cl_regex2id?:
cdaccess.c:1390: warning: unused variable ?i?
cdaccess.c:1389: warning: unused variable ?p?
cdaccess.c:1353: warning: unused variable ?preprocessed_string?
cdaccess.c:1350: warning: unused variable ?grain_match?
cdaccess.c:1349: warning: unused variable ?len?
cdaccess.c:1349: warning: unused variable ?regex_result?
rm -f bitio.o
/usr/bin/gcc -c  -o bitio.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:11 EDT 2012"\" -DVERSION=\"3.4.5\"    bitio.c
rm -f endian.o
/usr/bin/gcc -c  -o endian.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:11 EDT 2012"\" -DVERSION=\"3.4.5\"    endian.c
rm -f compression.o
/usr/bin/gcc -c  -o compression.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:11 EDT 2012"\" -DVERSION=\"3.4.5\"    compression.c
rm -f binsert.o
/usr/bin/gcc -c  -o binsert.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:11 EDT 2012"\" -DVERSION=\"3.4.5\"    binsert.c
rm -f class-mapping.o
/usr/bin/gcc -c  -o class-mapping.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:12 EDT 2012"\" -DVERSION=\"3.4.5\"    class-mapping.c
rm -f libcl.a
ar cq libcl.a globals.o macros.o list.o lexhash.o bitfields.o storage.o fileutils.o special-chars.o regopt.o corpus.o attributes.o registry.tab.o lex.creg.o makecomps.o cdaccess.o bitio.o endian.o compression.o binsert.o class-mapping.o
ranlib libcl.a
rm -f dl_stub.o
/usr/bin/gcc -c  -o dl_stub.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:12 EDT 2012"\" -DVERSION=\"3.4.5\"    dl_stub.c
--------------------------------- BUILDING CQP
make -C cqp
rm -f cqp.o
/usr/bin/gcc -c  -o cqp.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:12 EDT 2012"\" -DVERSION=\"3.4.5\"    cqp.c
cqp.c: In function ?initialize_cqp?:
cqp.c:145: warning: unused variable ?homepath?
cqp.c:144: warning: unused variable ?homedrive?
cqp.c: In function ?initialize_cqp?:
cqp.c:145: warning: unused variable ?homepath?
cqp.c:144: warning: unused variable ?homedrive?
rm -f symtab.o
/usr/bin/gcc -c  -o symtab.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:12 EDT 2012"\" -DVERSION=\"3.4.5\"    symtab.c
rm -f eval.o
/usr/bin/gcc -c  -o eval.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:12 EDT 2012"\" -DVERSION=\"3.4.5\"    eval.c
eval.c:35:35: warning: "/*" within comment
eval.c:35:35: warning: "/*" within comment
rm -f tree.o
/usr/bin/gcc -c  -o tree.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:14 EDT 2012"\" -DVERSION=\"3.4.5\"    tree.c
rm -f options.o
/usr/bin/gcc -c  -o options.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:14 EDT 2012"\" -DVERSION=\"3.4.5\"    options.c
rm -f corpmanag.o
/usr/bin/gcc -c  -o corpmanag.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:14 EDT 2012"\" -DVERSION=\"3.4.5\"    corpmanag.c
rm -f regex2dfa.o
/usr/bin/gcc -c  -o regex2dfa.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:15 EDT 2012"\" -DVERSION=\"3.4.5\"    regex2dfa.c
rm -f output.o
/usr/bin/gcc -c  -o output.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:16 EDT 2012"\" -DVERSION=\"3.4.5\"    output.c
rm -f ranges.o
/usr/bin/gcc -c  -o ranges.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:16 EDT 2012"\" -DVERSION=\"3.4.5\"    ranges.c
ranges.c:1287: warning: ?srt_strcmp? defined but not used
ranges.c:1287: warning: ?srt_strcmp? defined but not used
rm -f builtins.o
/usr/bin/gcc -c  -o builtins.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:17 EDT 2012"\" -DVERSION=\"3.4.5\"    builtins.c
rm -f groups.o
/usr/bin/gcc -c  -o groups.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:18 EDT 2012"\" -DVERSION=\"3.4.5\"    groups.c
rm -f targets.o
/usr/bin/gcc -c  -o targets.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:18 EDT 2012"\" -DVERSION=\"3.4.5\"    targets.c
rm -f matchlist.o
/usr/bin/gcc -c  -o matchlist.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:18 EDT 2012"\" -DVERSION=\"3.4.5\"    matchlist.c
rm -f concordance.o
/usr/bin/gcc -c  -o concordance.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:19 EDT 2012"\" -DVERSION=\"3.4.5\"    concordance.c
rm -f parse_actions.o
/usr/bin/gcc -c  -o parse_actions.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:19 EDT 2012"\" -DVERSION=\"3.4.5\"    parse_actions.c
rm -f attlist.o
/usr/bin/gcc -c  -o attlist.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:21 EDT 2012"\" -DVERSION=\"3.4.5\"    attlist.c
rm -f context_descriptor.o
/usr/bin/gcc -c  -o context_descriptor.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:21 EDT 2012"\" -DVERSION=\"3.4.5\"    context_descriptor.c
rm -f print-modes.o
/usr/bin/gcc -c  -o print-modes.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:21 EDT 2012"\" -DVERSION=\"3.4.5\"    print-modes.c
rm -f ascii-print.o
/usr/bin/gcc -c  -o ascii-print.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:21 EDT 2012"\" -DVERSION=\"3.4.5\"    ascii-print.c
rm -f sgml-print.o
/usr/bin/gcc -c  -o sgml-print.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:22 EDT 2012"\" -DVERSION=\"3.4.5\"    sgml-print.c
rm -f html-print.o
/usr/bin/gcc -c  -o html-print.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:22 EDT 2012"\" -DVERSION=\"3.4.5\"    html-print.c
rm -f latex-print.o
/usr/bin/gcc -c  -o latex-print.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:22 EDT 2012"\" -DVERSION=\"3.4.5\"    latex-print.c
rm -f variables.o
/usr/bin/gcc -c  -o variables.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:22 EDT 2012"\" -DVERSION=\"3.4.5\"    variables.c
rm -f print_align.o
/usr/bin/gcc -c  -o print_align.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:22 EDT 2012"\" -DVERSION=\"3.4.5\"    print_align.c
rm -f macro.o
/usr/bin/gcc -c  -o macro.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:23 EDT 2012"\" -DVERSION=\"3.4.5\"    macro.c
rm -f hash.o
/usr/bin/gcc -c  -o hash.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:23 EDT 2012"\" -DVERSION=\"3.4.5\"    hash.c
rm -f table.o
/usr/bin/gcc -c  -o table.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:23 EDT 2012"\" -DVERSION=\"3.4.5\"    table.c
rm -f parser.tab.o
/usr/bin/gcc -c  -o parser.tab.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:23 EDT 2012"\" -DVERSION=\"3.4.5\"    parser.tab.c
rm -f lex.yy.o
/usr/bin/gcc -c  -o lex.yy.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:24 EDT 2012"\" -DVERSION=\"3.4.5\"    lex.yy.c
lex.yy.c:2522: warning: ?yyunput? defined but not used
lex.yy.c:2522: warning: ?yyunput? defined but not used
rm -f dummy_auth.o
/usr/bin/gcc -c  -o dummy_auth.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:25 EDT 2012"\" -DVERSION=\"3.4.5\"    dummy_auth.c
rm -f llquery.o
/usr/bin/gcc -c  -o llquery.o -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:25 EDT 2012"\" -DVERSION=\"3.4.5\"    llquery.c
llquery.c: In function ?cqp_custom_completion?:
llquery.c:190: warning: assignment discards qualifiers from pointer target type
llquery.c:214: warning: passing argument 1 of ?cl_strdup? discards qualifiers from pointer target type
llquery.c:247: warning: assignment discards qualifiers from pointer target type
llquery.c: In function ?readline_main?:
llquery.c:371: warning: format not a string literal and no format arguments
llquery.c: In function ?cqp_custom_completion?:
llquery.c:190: warning: assignment discards qualifiers from pointer target type
llquery.c:214: warning: passing argument 1 of ?cl_strdup? discards qualifiers from pointer target type
llquery.c:247: warning: assignment discards qualifiers from pointer target type
llquery.c: In function ?readline_main?:
llquery.c:371: warning: format not a string literal and no format arguments
rm -f cqp
/usr/bin/gcc -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:51:25 EDT 2012"\" -DVERSION=\"3.4.5\"    -o cqp llquery.o cqp.o symtab.o eval.o tree.o options.o corpmanag.o regex2dfa.o output.o ranges.o builtins.o groups.o targets.o matchlist.o concordance.o parse_actions.o attlist.o context_descriptor.o print-modes.o ascii-print.o sgml-print.o html-print.o latex-print.o variables.o print_align.o macro.o hash.o table.o parser.tab.o lex.yy.o dummy_auth.o /Users/jfontana/cwb/cqp/../cl/libcl.a   -lm   -lpcre `pkg-config --libs glib-2.0` -lreadline -lncurses
ld: warning: in /usr/local/Cellar/glib/2.32.4/lib/libglib-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /usr/local/Cellar/gettext/0.18.1.1/lib/libintl.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols for architecture i386:
  "_g_utf8_casefold", referenced from:
      _cl_string_canonical in libcl.a(special-chars.o)
  "_g_utf8_validate", referenced from:
      _cl_string_validate_encoding in libcl.a(special-chars.o)
  "_g_utf8_collate", referenced from:
      _cl_string_qsort_compare in libcl.a(special-chars.o)
  "_g_utf8_normalize", referenced from:
      _cl_string_canonical in libcl.a(special-chars.o)
      _cl_string_canonical in libcl.a(special-chars.o)
  "_g_strreverse", referenced from:
      _cl_string_reverse in libcl.a(special-chars.o)
      _cl_string_qsort_compare in libcl.a(special-chars.o)
      _cl_string_qsort_compare in libcl.a(special-chars.o)
  "_g_unichar_ismark", referenced from:
      _cl_string_canonical in libcl.a(special-chars.o)
  "_g_utf8_skip", referenced from:
      _g_utf8_skip$non_lazy_ptr in libcl.a(special-chars.o)
     (maybe you meant: _g_utf8_skip$non_lazy_ptr)
  "_g_utf8_strreverse", referenced from:
      _cl_string_reverse in libcl.a(special-chars.o)
      _cl_string_qsort_compare in libcl.a(special-chars.o)
      _cl_string_qsort_compare in libcl.a(special-chars.o)
  "_g_utf8_get_char", referenced from:
      _cl_string_canonical in libcl.a(special-chars.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/4c/4cqHpGvGGzucg8Ge2XytcU+++TM/-Tmp-//ccwhZna9.out (No such file or directory)
make[1]: *** [cqp] Error 1
make: *** [cqp] Error 2
-------------- next part --------------
Louise-McNallys-MacBook-Pro:cwb jfontana$ make clean
for i in cl cqp utils man instutils	 ; do if [ -f "$i/Makefile" ]; then make -C $i clean; fi; done;
rm -f *.o libcl.a registry.output *~
rm -f cqp cqpcl cqpserver  *.o ../CQi/*.o parser.output *~ ../CQi/*~
rm -f cwb-atoi cwb-itoa cwb-makeall cwb-encode cwb-decode cwb-lexdecode cwb-huffcode cwb-compress-rdx cwb-s-encode cwb-s-decode cwb-describe-corpus cwb-decode-nqrfile cwb-scan-corpus cwb-align cwb-align-show cwb-align-encode  *.o *~
rm -f cqp.pdf cqpcl.pdf cqpserver.pdf cwb-align.pdf cwb-align-show.pdf cwb-align-encode.pdf cwb-atoi.pdf cwb-itoa.pdf cwb-config.pdf cwb-encode.pdf cwb-decode.pdf cwb-lexdecode.pdf cwb-decode-nqrfile.pdf cwb-describe-corpus.pdf cwb-makeall.pdf cwb-compress-rdx.pdf cwb-huffcode.pdf cwb-s-encode.pdf cwb-s-decode.pdf cwb-scan-corpus.pdf *~
rm -f cwb-config install-cwb.sh *~
rm -f *~ config/*/*~ CQi/*~ CQi/*.o technical/*~ TAGS
rm -f -rf build
-------------- next part --------------
Louise-McNallys-MacBook-Pro:cwb jfontana$ make depend
for i in cl cqp utils man instutils	 ;\
	do \
	make -C $i depend; \
	done;
rm -f depend.mk
make depend.mk
Makefile:169: depend.mk: No such file or directory
rm -f depend.mk
gcc -MM -MG  -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:49:25 EDT 2012"\" -DVERSION=\"3.4.5\"   globals.c macros.c list.c lexhash.c bitfields.c storage.c fileutils.c special-chars.c regopt.c corpus.c attributes.c makecomps.c registry.tab.c lex.creg.c cdaccess.c bitio.c endian.c compression.c binsert.c class-mapping.c  > depend.mk
make[2]: `depend.mk' is up to date.
rm -f depend.mk
make depend.mk
Makefile:160: depend.mk: No such file or directory
rm -f depend.mk
gcc -MM -MG  -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:49:27 EDT 2012"\" -DVERSION=\"3.4.5\"   llquery.c cqp.c cqpcl.c symtab.c eval.c tree.c options.c corpmanag.c regex2dfa.c output.c ranges.c builtins.c groups.c targets.c matchlist.c concordance.c parse_actions.c attlist.c context_descriptor.c print-modes.c ascii-print.c sgml-print.c html-print.c latex-print.c variables.c print_align.c macro.c hash.c table.c ../CQi/server.c ../CQi/auth.c parser.tab.c lex.yy.c > depend.mk
make[2]: `depend.mk' is up to date.
rm -f depend.mk
make depend.mk
Makefile:151: depend.mk: No such file or directory
rm -f depend.mk
gcc -MM -MG  -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:49:28 EDT 2012"\" -DVERSION=\"3.4.5\"   cwb-atoi.c cwb-itoa.c cwb-makeall.c cwb-encode.c cwb-decode.c cwb-lexdecode.c cwb-huffcode.c cwb-compress-rdx.c cwb-s-encode.c cwb-s-decode.c cwb-describe-corpus.c cwb-decode-nqrfile.c cwb-scan-corpus.c barlib.c feature_maps.c cwb-align.c cwb-align-show.c cwb-align-encode.c  > depend.mk
make[2]: `depend.mk' is up to date.
Nothing to be done for 'make depend'
Nothing to be done for 'make depend'
-------------- next part --------------
Louise-McNallys-MacBook-Pro:cwb jfontana$ make install
make -C cl install   # not in for loop to make sure we abort on error
if [ ! -d "/usr/local/lib" ]; then install   -m 755  -d "/usr/local/lib" ; fi;
install -p -m 644  libcl.a "/usr/local/lib"
if [ ! -d "/usr/local/include/cwb" ]; then install   -m 755  -d "/usr/local/include/cwb" ; fi;
install -p -m 644  cl.h "/usr/local/include/cwb"
make -C cqp install
rm -f cqp
/usr/bin/gcc -Wall -O3 -arch x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Fri Aug 17 10:53:48 EDT 2012"\" -DVERSION=\"3.4.5\"    -o cqp llquery.o cqp.o symtab.o eval.o tree.o options.o corpmanag.o regex2dfa.o output.o ranges.o builtins.o groups.o targets.o matchlist.o concordance.o parse_actions.o attlist.o context_descriptor.o print-modes.o ascii-print.o sgml-print.o html-print.o latex-print.o variables.o print_align.o macro.o hash.o table.o parser.tab.o lex.yy.o dummy_auth.o /Users/jfontana/cwb/cqp/../cl/libcl.a   -lm   -lpcre `pkg-config --libs glib-2.0` -lreadline -lncurses
ld: warning: in /usr/local/Cellar/glib/2.32.4/lib/libglib-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /usr/local/Cellar/gettext/0.18.1.1/lib/libintl.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols for architecture i386:
  "_g_utf8_casefold", referenced from:
      _cl_string_canonical in libcl.a(special-chars.o)
  "_g_utf8_validate", referenced from:
      _cl_string_validate_encoding in libcl.a(special-chars.o)
  "_g_utf8_collate", referenced from:
      _cl_string_qsort_compare in libcl.a(special-chars.o)
  "_g_utf8_normalize", referenced from:
      _cl_string_canonical in libcl.a(special-chars.o)
      _cl_string_canonical in libcl.a(special-chars.o)
  "_g_strreverse", referenced from:
      _cl_string_reverse in libcl.a(special-chars.o)
      _cl_string_qsort_compare in libcl.a(special-chars.o)
      _cl_string_qsort_compare in libcl.a(special-chars.o)
  "_g_unichar_ismark", referenced from:
      _cl_string_canonical in libcl.a(special-chars.o)
  "_g_utf8_skip", referenced from:
      _g_utf8_skip$non_lazy_ptr in libcl.a(special-chars.o)
     (maybe you meant: _g_utf8_skip$non_lazy_ptr)
  "_g_utf8_strreverse", referenced from:
      _cl_string_reverse in libcl.a(special-chars.o)
      _cl_string_qsort_compare in libcl.a(special-chars.o)
      _cl_string_qsort_compare in libcl.a(special-chars.o)
  "_g_utf8_get_char", referenced from:
      _cl_string_canonical in libcl.a(special-chars.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/4c/4cqHpGvGGzucg8Ge2XytcU+++TM/-Tmp-//ccPEisEj.out (No such file or directory)
make[1]: *** [cqp] Error 1
make: *** [install] Error 2


More information about the CWB mailing list