[CWB] Character encoding problems when transferring corpus

Josep M. Fontana josepm.fontana at upf.edu
Thu Aug 16 23:54:04 CEST 2012


OK, little update to the previous message. I went into the 'config.mk' 
file to see if I could figure out what was wrong and I saw what seemed 
to me to be the offending line:

include $(TOP)/config/platform/

I changed it into the following:

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

This seemed to work since I was able to do 'make clean' without problems.

When I entered 'make depend', however, I got lots of errors. I'm 
including an attached text file with the error messages. The last lines 
with the error messages are:

"lipo: can't figure out the architecture type of: 
/var/folders/4c/4cqHpGvGGzucg8Ge2XytcU+++TM/-Tmp-//cchJt7QT.out
make[1]: *** [special-chars.o] Error 1
make: *** [cl] Error 2"

I continued with 'make cl' and I got similar errors (last lines):

[...]
lipo: can't figure out the architecture type of: 
/var/folders/4c/4cqHpGvGGzucg8Ge2XytcU+++TM/-Tmp-//cc2wZ3mI.out
make[1]: *** [special-chars.o] Error 1
make: *** [cl] Error 2

'make utils' also gave me errors (included in attached file) and 'make 
cqp' gave me all sorts of different errors (also included in attached 
text file) but one error that was salient was:

/bin/sh: pkg-config: command not found

Hopefully this can help you figure what is wrong.

JM



> OK. I'm making progress but I'm not there yet.
>
> Since I was having problems installing Glib2 with Homebrew, I cleaned 
> my complete MacPorts installation by hand (i.e, I removed the relevant 
> directories) and reinstalled MacPorts again. This time I got it working.
>
> OK, so after installing all the dependencies, I managed to run the 
> 'cwb-install-mac-osx' script but then I got new errors which I 
> reproduce at the end of the message. I looked into the script file and 
> I realized that the problem was that the script looked for config.mk 
> and the rest of files in its directory 
> ('home/cwb/install-scripts/cwb-install-mac-osx') but these files were 
> in 'home/cwb'. Then I just went into this directory and tried to 
> execute all the script commands by hand.
>
> 1) and 2) were executed without problems
>
> 1) cp config.mk config.mk.bak
>
> 2) perl -i~ -pe 'if (/^include \$\(TOP\)\/config\/platform\//) { $_ = 
> "include \$(TOP)/config/platform/'"$PLATFORM"'\n" } elsif (/^include 
> \$\(TOP\)\/config\/site\//) { $_ = "include 
> \$(TOP)/config/site/standard\n" }' config.mk
>
> But when I did
>
> $make clean
>
> I got the following error:
>
> make: *** /Users/jfontana/cwb/config/platform/: Is a directory. Stop.
>
>
> JM
>
>
>
>
> External libraries seem to be provided by MacPorts (/opt/local)
> cp: config.mk: No such file or directory
> Can't open config.mk: No such file or directory.
> make: *** No rule to make target `clean'.  Stop.
> make: *** No rule to make target `depend'.  Stop.
> make: *** No rule to make target `cl'.  Stop.
> make: *** No rule to make target `utils'.  Stop.
> make: *** No rule to make target `cqp'.  Stop.
> make: *** No rule to make target `install'.  Stop.
> rm: config.mk: No such file or directory
> mv: rename config.mk.bak to config.mk: No such file or directory
>>> OK, I followed Stefan's directions and I have been able to move a 
>>> step closer. I still have not managed to run cwb-install-mac-osx 
>>> because I keep on getting an error message saying that I need the 
>>> external Glib2 library. It also tells me that external libraries 
>>> seem to be provided by MacPorts.
>> That's only because it detects your MacPorts installation.  The 
>> install script checks both for MacPorts and for HomeBrew / manual 
>> installs in /usr/local
>>
>>> When I try to install Glib2 via MacPorts, I get stuck in:
>>>
>>> --->  Attempting to fetch expat-2.0.1.tar.gz from 
>>> http://iweb.dl.sourceforge.net/expat
>> Sounds like your Internet connection doesn't work properly, or 
>> perhaps your MacPorts is out of date.  Did you remember to update the 
>> ports definitions ("port selfupgrade" IIRC)?
>>
>>> Does anybody know any way to install Glib2 without having to resort 
>>> to MacPorts? In fact I really want to get rid of MacPorts because it 
>>> has always given me too many problems.
>> That's why I recommend to use HomeBrew, which doesn't insist on 
>> installing its own (and often multiple) copies of all the software 
>> already provided by Apple.
>>
>> See "INSTALLATION GUIDE FOR MAC OS X" in the INSTALL file, which 
>> explains in detail how to build CWB with HomeBrew.
>>
>> I suppose that in the mid to long run it would be nice to provide a 
>> HomeBrew formula for CWB, but I don't think I'll have any time to 
>> spare on this project in the near future.
>>
>> Cheers,
>> Stefan
>>
>> _______________________________________________
>> CWB mailing list
>> CWB at sslmit.unibo.it
>> http://devel.sslmit.unibo.it/mailman/listinfo/cwb
>

-------------- next part --------------
Louise-McNallys-MacBook-Pro:cwb jfontana$ make cqp
--------------------------------- BUILDING CQP
make -C cqp
rm -f cqp.o
/usr/bin/gcc -c  -o cqp.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:46:59 EDT 2012"\" -DVERSION=\"3.4.5\"    cqp.c
/bin/sh: pkg-config: command not found
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   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:46:59 EDT 2012"\" -DVERSION=\"3.4.5\"    symtab.c
/bin/sh: pkg-config: command not found
rm -f eval.o
/usr/bin/gcc -c  -o eval.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:46:59 EDT 2012"\" -DVERSION=\"3.4.5\"    eval.c
/bin/sh: pkg-config: command not found
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   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:00 EDT 2012"\" -DVERSION=\"3.4.5\"    tree.c
/bin/sh: pkg-config: command not found
rm -f options.o
/usr/bin/gcc -c  -o options.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:01 EDT 2012"\" -DVERSION=\"3.4.5\"    options.c
/bin/sh: pkg-config: command not found
rm -f corpmanag.o
/usr/bin/gcc -c  -o corpmanag.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:01 EDT 2012"\" -DVERSION=\"3.4.5\"    corpmanag.c
/bin/sh: pkg-config: command not found
rm -f regex2dfa.o
/usr/bin/gcc -c  -o regex2dfa.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:02 EDT 2012"\" -DVERSION=\"3.4.5\"    regex2dfa.c
/bin/sh: pkg-config: command not found
rm -f output.o
/usr/bin/gcc -c  -o output.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:03 EDT 2012"\" -DVERSION=\"3.4.5\"    output.c
/bin/sh: pkg-config: command not found
rm -f ranges.o
/usr/bin/gcc -c  -o ranges.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:04 EDT 2012"\" -DVERSION=\"3.4.5\"    ranges.c
/bin/sh: pkg-config: command not found
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   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:04 EDT 2012"\" -DVERSION=\"3.4.5\"    builtins.c
/bin/sh: pkg-config: command not found
rm -f groups.o
/usr/bin/gcc -c  -o groups.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:05 EDT 2012"\" -DVERSION=\"3.4.5\"    groups.c
/bin/sh: pkg-config: command not found
rm -f targets.o
/usr/bin/gcc -c  -o targets.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:05 EDT 2012"\" -DVERSION=\"3.4.5\"    targets.c
/bin/sh: pkg-config: command not found
rm -f matchlist.o
/usr/bin/gcc -c  -o matchlist.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:05 EDT 2012"\" -DVERSION=\"3.4.5\"    matchlist.c
/bin/sh: pkg-config: command not found
rm -f concordance.o
/usr/bin/gcc -c  -o concordance.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:06 EDT 2012"\" -DVERSION=\"3.4.5\"    concordance.c
/bin/sh: pkg-config: command not found
rm -f parse_actions.o
/usr/bin/gcc -c  -o parse_actions.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:07 EDT 2012"\" -DVERSION=\"3.4.5\"    parse_actions.c
/bin/sh: pkg-config: command not found
rm -f attlist.o
/usr/bin/gcc -c  -o attlist.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:08 EDT 2012"\" -DVERSION=\"3.4.5\"    attlist.c
/bin/sh: pkg-config: command not found
rm -f context_descriptor.o
/usr/bin/gcc -c  -o context_descriptor.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:08 EDT 2012"\" -DVERSION=\"3.4.5\"    context_descriptor.c
/bin/sh: pkg-config: command not found
rm -f print-modes.o
/usr/bin/gcc -c  -o print-modes.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:08 EDT 2012"\" -DVERSION=\"3.4.5\"    print-modes.c
/bin/sh: pkg-config: command not found
rm -f ascii-print.o
/usr/bin/gcc -c  -o ascii-print.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:08 EDT 2012"\" -DVERSION=\"3.4.5\"    ascii-print.c
/bin/sh: pkg-config: command not found
rm -f sgml-print.o
/usr/bin/gcc -c  -o sgml-print.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:09 EDT 2012"\" -DVERSION=\"3.4.5\"    sgml-print.c
/bin/sh: pkg-config: command not found
rm -f html-print.o
/usr/bin/gcc -c  -o html-print.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:09 EDT 2012"\" -DVERSION=\"3.4.5\"    html-print.c
/bin/sh: pkg-config: command not found
rm -f latex-print.o
/usr/bin/gcc -c  -o latex-print.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:09 EDT 2012"\" -DVERSION=\"3.4.5\"    latex-print.c
/bin/sh: pkg-config: command not found
rm -f variables.o
/usr/bin/gcc -c  -o variables.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:09 EDT 2012"\" -DVERSION=\"3.4.5\"    variables.c
/bin/sh: pkg-config: command not found
rm -f print_align.o
/usr/bin/gcc -c  -o print_align.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:10 EDT 2012"\" -DVERSION=\"3.4.5\"    print_align.c
/bin/sh: pkg-config: command not found
rm -f macro.o
/usr/bin/gcc -c  -o macro.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:10 EDT 2012"\" -DVERSION=\"3.4.5\"    macro.c
/bin/sh: pkg-config: command not found
rm -f hash.o
/usr/bin/gcc -c  -o hash.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:10 EDT 2012"\" -DVERSION=\"3.4.5\"    hash.c
/bin/sh: pkg-config: command not found
rm -f table.o
/usr/bin/gcc -c  -o table.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:10 EDT 2012"\" -DVERSION=\"3.4.5\"    table.c
/bin/sh: pkg-config: command not found
rm -f parser.tab.o
/usr/bin/gcc -c  -o parser.tab.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:10 EDT 2012"\" -DVERSION=\"3.4.5\"    parser.tab.c
/bin/sh: pkg-config: command not found
rm -f lex.yy.o
/usr/bin/gcc -c  -o lex.yy.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:11 EDT 2012"\" -DVERSION=\"3.4.5\"    lex.yy.c
/bin/sh: pkg-config: command not found
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   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:12 EDT 2012"\" -DVERSION=\"3.4.5\"    dummy_auth.c
/bin/sh: pkg-config: command not found
rm -f llquery.o
/usr/bin/gcc -c  -o llquery.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:47:12 EDT 2012"\" -DVERSION=\"3.4.5\"    llquery.c
/bin/sh: pkg-config: command not found
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
make[1]: *** No rule to make target `/Users/jfontana/cwb/cqp/../cl/libcl.a', needed by `cqp'.  Stop.
make: *** [cqp] Error 2
-------------- 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=\""Thu Aug 16 17:33:19 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=\""Thu Aug 16 17:33:19 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=\""Thu Aug 16 17:33:19 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'
Louise-McNallys-MacBook-Pro:cwb jfontana$ make cl
--------------------------------- 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   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:33:25 EDT 2012"\" -DVERSION=\"3.4.5\"    globals.c
/bin/sh: pkg-config: command not found
rm -f macros.o
/usr/bin/gcc -c  -o macros.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:33:25 EDT 2012"\" -DVERSION=\"3.4.5\"    macros.c
/bin/sh: pkg-config: command not found
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   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:33:25 EDT 2012"\" -DVERSION=\"3.4.5\"    list.c
/bin/sh: pkg-config: command not found
rm -f lexhash.o
/usr/bin/gcc -c  -o lexhash.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:33:26 EDT 2012"\" -DVERSION=\"3.4.5\"    lexhash.c
/bin/sh: pkg-config: command not found
rm -f bitfields.o
/usr/bin/gcc -c  -o bitfields.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:33:26 EDT 2012"\" -DVERSION=\"3.4.5\"    bitfields.c
/bin/sh: pkg-config: command not found
rm -f storage.o
/usr/bin/gcc -c  -o storage.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:33:26 EDT 2012"\" -DVERSION=\"3.4.5\"    storage.c
/bin/sh: pkg-config: command not found
rm -f fileutils.o
/usr/bin/gcc -c  -o fileutils.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:33:26 EDT 2012"\" -DVERSION=\"3.4.5\"    fileutils.c
/bin/sh: pkg-config: command not found
rm -f special-chars.o
/usr/bin/gcc -c  -o special-chars.o -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -DREGISTRY_DEFAULT_PATH=\""/usr/local/share/cwb/registry"\" -DCOMPILE_DATE=\""Thu Aug 16 17:33:26 EDT 2012"\" -DVERSION=\"3.4.5\"    special-chars.c
/bin/sh: pkg-config: command not found
special-chars.c:24:18: error: glib.h: No such file or directory
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_validate_encoding?:
special-chars.c:1805: warning: implicit declaration of function ?g_utf8_validate?
special-chars.c:1805: error: ?gchar? undeclared (first use in this function)
special-chars.c:1805: error: (Each undeclared identifier is reported only once
special-chars.c:1805: error: for each function it appears in.)
special-chars.c:1805: error: expected expression before ?)? token
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:1951: warning: implicit declaration of function ?g_strreverse?
special-chars.c:1951: error: ?gchar? undeclared (first use in this function)
special-chars.c:1951: error: expected expression before ?)? token
special-chars.c:1954: warning: implicit declaration of function ?g_utf8_strreverse?
special-chars.c:1954: error: expected expression before ?)? token
special-chars.c:1954: warning: cast to pointer from integer of different size
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:2059: warning: implicit declaration of function ?MIN?
special-chars.c:2080: warning: implicit declaration of function ?g_utf8_collate?
special-chars.c:2080: error: ?gchar? undeclared (first use in this function)
special-chars.c:2080: error: expected expression before ?)? token
special-chars.c: In function ?cl_string_canonical?:
special-chars.c:2242: error: ?gchar? undeclared (first use in this function)
special-chars.c:2242: error: ?string? undeclared (first use in this function)
special-chars.c:2243: error: ?precomposed? undeclared (first use in this function)
special-chars.c:2244: error: ?folded? undeclared (first use in this function)
special-chars.c:2245: error: ?current_char? undeclared (first use in this function)
special-chars.c:2246: error: ?next_char_begins? undeclared (first use in this function)
special-chars.c:2253: warning: implicit declaration of function ?g_utf8_normalize?
special-chars.c:2253: error: expected expression before ?)? token
special-chars.c:2259: warning: implicit declaration of function ?g_utf8_next_char?
special-chars.c:2260: warning: implicit declaration of function ?g_unichar_ismark?
special-chars.c:2260: warning: implicit declaration of function ?g_utf8_get_char?
special-chars.c:2271: error: expected expression before ?)? token
special-chars.c:2275: error: ?G_NORMALIZE_NFC? undeclared (first use in this function)
special-chars.c:2285: warning: implicit declaration of function ?g_utf8_casefold?
special-chars.c:24:18: error: glib.h: No such file or directory
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_validate_encoding?:
special-chars.c:1805: warning: implicit declaration of function ?g_utf8_validate?
special-chars.c:1805: error: ?gchar? undeclared (first use in this function)
special-chars.c:1805: error: (Each undeclared identifier is reported only once
special-chars.c:1805: error: for each function it appears in.)
special-chars.c:1805: error: expected expression before ?)? token
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:1951: warning: implicit declaration of function ?g_strreverse?
special-chars.c:1951: error: ?gchar? undeclared (first use in this function)
special-chars.c:1951: error: expected expression before ?)? token
special-chars.c:1954: warning: implicit declaration of function ?g_utf8_strreverse?
special-chars.c:1954: error: expected expression before ?)? token
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:2059: warning: implicit declaration of function ?MIN?
special-chars.c:2080: warning: implicit declaration of function ?g_utf8_collate?
special-chars.c:2080: error: ?gchar? undeclared (first use in this function)
special-chars.c:2080: error: expected expression before ?)? token
special-chars.c: In function ?cl_string_canonical?:
special-chars.c:2242: error: ?gchar? undeclared (first use in this function)
special-chars.c:2242: error: ?string? undeclared (first use in this function)
special-chars.c:2243: error: ?precomposed? undeclared (first use in this function)
special-chars.c:2244: error: ?folded? undeclared (first use in this function)
special-chars.c:2245: error: ?current_char? undeclared (first use in this function)
special-chars.c:2246: error: ?next_char_begins? undeclared (first use in this function)
special-chars.c:2253: warning: implicit declaration of function ?g_utf8_normalize?
special-chars.c:2253: error: expected expression before ?)? token
special-chars.c:2259: warning: implicit declaration of function ?g_utf8_next_char?
special-chars.c:2260: warning: implicit declaration of function ?g_unichar_ismark?
special-chars.c:2260: warning: implicit declaration of function ?g_utf8_get_char?
special-chars.c:2271: error: expected expression before ?)? token
special-chars.c:2275: error: ?G_NORMALIZE_NFC? undeclared (first use in this function)
special-chars.c:2285: warning: implicit declaration of function ?g_utf8_casefold?
lipo: can't figure out the architecture type of: /var/folders/4c/4cqHpGvGGzucg8Ge2XytcU+++TM/-Tmp-//cchJt7QT.out
make[1]: *** [special-chars.o] Error 1
make: *** [cl] Error 2
-------------- next part --------------
Louise-McNallys-MacBook-Pro:cwb jfontana$ make utils


------------

--------------------------------- BUILDING COMMAND-LINE UTILITIES
make -C utils
rm -f cwb-atoi
/usr/bin/gcc -Wall -O3 -arch x86_64 -arch i386   -DUSE_TERMCAP -DUSE_READLINE `pkg-config --cflags glib-2.0` -o cwb-atoi cwb-atoi.o /Users/jfontana/cwb/utils/../cl/libcl.a   -lm   -lpcre `pkg-config --libs glib-2.0`
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
i686-apple-darwin10-gcc-4.2.1: /Users/jfontana/cwb/utils/../cl/libcl.a: No such file or directory
i686-apple-darwin10-gcc-4.2.1: /Users/jfontana/cwb/utils/../cl/libcl.a: No such file or directory
lipo: can't figure out the architecture type of: /var/folders/4c/4cqHpGvGGzucg8Ge2XytcU+++TM/-Tmp-//ccu1oGSV.out
make[1]: *** [cwb-atoi] Error 1
make: *** [utils] Error 2


More information about the CWB mailing list