[CWB] Character encoding problems when transferring corpus

Josep M. Fontana josepm.fontana at upf.edu
Fri Aug 17 00:07:16 CEST 2012


Sorry, as you can see I had just gone ahead and executed the command you 
gave me in one of your previous messages without thinking about reading 
the INSTALL file. This would have saved me time and a headache.

I've gone back to Homebrew and followed your instructions and things are 
much better. I cannot see the amount of errors I saw before but one of 
the errors I mentioned keeps on appearing:

"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"

I will now try to run cqp again and see whether this error was important 
or not.

JM


> Anyway, I installed Homebrew but I still have problems installing the external Glib2 library. The error message I get when trying to install glib2 via Homebrew is:
>
> "No available formula for glib2"
> The formula is simply called "glib", not "glib2".  As per the instructions in the INSTALL file:

>
>> Make sure that no other package managers (Fink, MacPorts) are installed on your
>> system, as they might conflict with the build process described here.  Now install
>> the prerequisite external libraries with the following shell commands:
>>
>>          brew -v install pkg-config
>>          brew -v install glib --universal
>>          brew -v install pcre --universal
>>
>> Now edit the file "config.mk", setting the platform entry to
>>
>>          include $(TOP)/config/platform/darwin-universal
>>
>> and the site configuration as desired.  Then enter the shell commands
>>
>>          make clean
>>          make depend
>>          make all
>>          make install
>>
>> as shown in the section "QUICK INSTALLATION" above.
>
> Concerning your other problems:
>
>> 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'.
> That sounds like you executed the quick install script from its directory, whereas you're expected to do that from the root of the CWB source tree (~/cwb in your case).  See the instructions in INSTALL:
>
>>           sudo ./install-scripts/cwb-install-mac-osx
> All commands described in the INSTALL file need to be executed from this root directory.
>
>
> If you've really got the prerequisites installed, all you really need to do is to edit config.mk manually to set the platform to
>
>          include $(TOP)/config/platform/darwin-universal
>
> and then run
>
>          make clean
>          make depend
>          make all
>          sudo make install
>
> from the root directory of the source code tree.
>
> Hope this helps,
> 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/20120816/f0144754/attachment.html>


More information about the CWB mailing list