On Fri, Mar 12, 2010 at 4:35 PM, Peter Kümmel <syntheti...@gmx.net> wrote:
> Kornel Benko wrote:
>> Am Freitag 12 März 2010 schrieb Peter Kümmel:
>>> /opt/local/lib is a directory only and I assume ENCHANT_LIBRARY should
>>>  point to a existing library.
>>>
>>> Kornel's comment was about the cmake command which searches for the
>>>  'enchant' library in existing directories:
>>> find_library(ENCHANT_LIBRARY "enchant"  "/usr/local/lib" "/usr/lib")
>>>
>>> So 'cmake -DENCHANT_LIBRARY=/opt/local/lib/libenchant.so' or something
>>>  similar should work.
>>>
>>> But you could also patch the cmakefile then you don't have to type these
>>>  lengthy command line.
>>>
>>> Peter
>>>
>>
>> Exactly.
>>
>>       Kornel
>
>
> I've added the /opt path, it should work now without the additional command 
> options.

OK -- thanks. (I'm not understanding why that's different from what I
did, but ....)

Doing this results in the following warning:

CMake Warning at src/CMakeLists.txt:77 (add_executable):
  Cannot generate a safe linker search path for target LyX because files in
  some directories may conflict with libraries in implicit directories:

    link library [libiconv.dylib] in /usr/lib may be hidden by files in:
      /opt/local/lib
    link library [libz.dylib] in /usr/lib may be hidden by files in:
      /opt/local/lib

  Some of these libraries may not be found correctly.

Nonetheless, it compiles and seems to run fine.

BH

Reply via email to