Am 01.04.2010 um 15:41 schrieb Sebastian Rockel: > Am 01.04.2010 um 00:37 schrieb Stephan Witt: > >> Am 31.03.2010 um 15:35 schrieb Sebastian Rockel: >> >>> Am 31.03.2010 um 14:47 schrieb Pavel Sanda: >>> >>>> Sebastian Rockel wrote: >>>>> Here in the mac version I cannot enable it due to everything on that pref >>>>> pane is grayed out:-/ >>>> >>>> normal spellcheck works? >>> >>> Also the menu item is grayed out (F7 doesn't do it either). >>> I just double checked Lyx 1.6.5 with aspell 0.60.6 (MacPorts) and it works >>> fine. >>> Running on Mac OSX 10.6.3. >> >> I guess you're using the LyX-2.0.0alpha1.dmg I build on Snow Leopard. >> >> You're right, no aspell support :( >> I didn't read carefully enough this part of configure output: >> >> checking aspell.h usability... yes >> checking aspell.h presence... yes >> checking for aspell.h... yes >> checking for new_aspell_config in -laspell... no >> checking whether to use aspell... no >> >> So I looked for the reason and found that configure detected the headers of >> aspell but did not find the library. > > Thanks for this clarification and for the build anyway. > > Sebastian > >> When trying to improve the situation I learned that my "universal" aspell >> library from macports is like that: >> >> % file /opt/local/lib/libaspell.dylib >> /opt/local/lib/libaspell.dylib: Mach-O universal binary with 2 architectures >> /opt/local/lib/libaspell.dylib (for architecture x86_64): Mach-O 64-bit >> dynamically linked shared library x86_64 >> /opt/local/lib/libaspell.dylib (for architecture i386): Mach-O >> dynamically linked shared library i386 >> >> So in fact I cannot build a ppc version of LyX with aspell now. I'll see >> what I can do...
Finally I learned how to build aspell myself as universal static library. So I'm able to provide a universal binary with aspell support. It is required to install aspell + dictionaries from macports to make it work. The cocoAspell dictionaries aren't usable with stock aspell code. Another option is the conversion of the self made dynamic library to a framework to place it inside the LyX app bundle. But this would be more work and may become superfluous with working enchant+mac spell service support. What do others think? Pavel, should I provide a 2nd alpha with aspell support? Stephan