[CWB] more on OS X build issues

Josep M. Fontana josepm.fontana at upf.edu
Sat Aug 18 01:29:54 CEST 2012


Well, I'm happy to say that I solved the problem by simply replacing

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

by

include $(TOP)/config/platform/darwin-64

in 'config.mk'.

I'm pretty sure I used the "--universal" flag in my previous attempts, 
though.

Thanks for all your help.

JM
>> Sorry for the 3 list posts in quick succession but I've just noticed this comment in config/platform/darwin-64 :
>>
>> ## Only build default 64-bit architecture (since homebrew's universal glib build is broken for latest glib 2.30.2)
>> (by Stefan on Feb 19th this year)
> This comment would seem to be outdated by now.  I've had no problems with universal builds of glib 2.32.1 and 2.32.4 on my machine, and CWB 3.4.5 compiles just fine with them.
>
>> Stefan, do you think this might be linked to the issues Josep has been encountering?
> Only if he decided to install without the "--universal" flag, as recommended in the INSTALL file in case of such problems.  Or if he simply ran "brew install glib" rather than "brew install glib --universal" as specified in the INSTALL guide.
>
> The problems I had with Glib 2.30.2 simply resulted in failure to compile and the library wouldn't install at all.
>
>> Meta comment: is building on OS X problematic for others? If so, we should prob have binaries of the 3.4 trunk for download on sf.net.
> That would be nice if someone can figure out how to package CQP with the necessary libraries (Glib, PCRE) into an installable bundle.  This seems to be possible, but I don't understand the various linker flags and other tricks involved.
>
> But perhaps it would be even better to get CWB included in the HomeBrew repository.  I'm afraid I'm lacking the Ruby- and Git-fu to write a "formula" for CWB and send it to the HomeBrew maintainers.
>
> Cheers,
> Stefan
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb



More information about the CWB mailing list