Hello,

I am trying to use cmake on MacOS (10.6). I didn't on purpose read the Mac 
INSTALL/README in order to judge how easy it is to compile LyX under MacOS. So 
far, I am pleased. big kudoes to Peter/Kornel/Stefan/Bennett!

 Here is what I did:

1) install the latest Xcode 3.something, not so much for Xcode but because it 
brings in gcc and MacOS development libraries.
2) install Qt-4.7 from Nokia
3) install cmake from cmake web site
4) install MacPorts
5) update MacPorts: sudo port -v selfupdate
6) install gmake:sudo port -v selfupdate
7) mkdir devel/lyx
8) svn co svn svn://svn.lyx.org/lyx/lyx-devel/trunk
9) mkdir trunk/build
10) cd trunk/build
11) cmake ../development/cmake/
12) make
13) ./bin/LyX2.0 -sysdir ../lib

And it works!!!! I am able to load all help documents. By the way what is the 
font problem I should be having with Qt-4.7? The rendering seems quite good on 
the UserGuide, AFAICS.

Now I am going to install Latex (any recommendation here?)

I am also going to read the INSTALL/README ion order to know what I should 
tweak in CMake for proper spellchecking/etc. One thing maybe worth of reporting 
is this warning from cmake:

-- Configuring done
CMake Warning at src/CMakeLists.txt:95 (add_executable):
  Cannot generate a safe linker search path for target LyX2.0 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

  Some of these libraries may not be found correctly.


CMake Warning at src/tex2lyx/CMakeLists.txt:33 (add_executable):
  Cannot generate a safe linker search path for target tex2lyx2.0 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

  Some of these libraries may not be found correctly.


CMake Warning at src/client/CMakeLists.txt:20 (add_executable):
  Cannot generate a safe linker search path for target lyxclient2.0 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

  Some of these libraries may not be found correctly.




For step 11 (cmake) here is the option cmake found/set:

-- LYX_CPACK                : OFF    (Use the CPack management (Implies 
LYX_INSTALL option))
-- LYX_INSTALL              : OFF    (Build install projects/rules (implies a 
bunch of other options))
-- LYX_NLS                  : OFF    (Use nls)
-- LYX_ASPELL               : OFF    (Require aspell)
-- LYX_ENCHANT              : OFF    (Require Enchant)
-- LYX_HUNSPELL             : OFF    (Require Hunspell)
-- LYX_DEBUG                : OFF    (Build debug version)
-- LYX_RELEASE              : ON     (Build release version)
-- LYX_PROFILE              : OFF    (Build profile version)
-- LYX_USE_EXTERNAL_BOOST   : OFF    (Use external boost)
-- LYX_USE_EXTERNAL_LIBINTL : ON     (Use external libintl)
-- LYX_PACKAGE_SUFFIX       : ON     (Use version suffix for packaging)
-- LYX_PROGRAM_SUFFIX       : ON     (Append version suffix to binaries)
-- LYX_INSTALL_PREFIX       : OFF    (Install path for LyX)
-- LYX_DISABLE_PCH          : ON     (Disable precompiled headers)
-- LYX_MERGE_FILES          : OFF    (Merge source files into one compilation 
unit)
-- LYX_DEBUG_GLIBC          : OFF    (Enable libstdc++ debug mode)
-- LYX_DEBUG_GLIBC_PEDANTIC : OFF    (Enable libstdc++pedantic debug mode)
-- LYX_STDLIB_DEBUG         : OFF    (Use debug stdlib)
-- LYX_CONCEPT_CHECKS       : OFF    (Enable concept-checks)
-- LYX_QUIET                : OFF    (Don't generate verbose makefiles)
-- LYX_SHARED_LIBRARIES     : OFF    (Build shared libraries)
-- 
-- Using GCC version 4.2.1

-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Found Qt-Version 4.7.0
-- Looking for iconv
-- Looking for iconv - not found
-- Found iconv library: /usr/lib/libiconv.dylib
-- Found Z: /usr/lib/libz.dylib
-- Looking for dgettext
-- Looking for dgettext - not found
-- 
-- ----- PACKAGE                     : LyX2.0
-- ----- PACKAGE_VERSION             : 2.0.0svn
-- ----- PROGRAM_SUFFIX              : 2.0
-- ----- LYX_DATE                    : 2010-11-10
-- ----- LYX_DIR_VER                 : LYX_DIR_20x
-- ----- LYX_USERDIR_VER             : LYX_USERDIR_20x
-- ----- LYX_ABS_TOP_SRCDIR          : /Users/younes/devel/lyx/trunk
-- ----- LYX_ABS_INSTALLED_DATADIR   : /usr/local/lyx2.0
-- ----- LYX_ABS_INSTALLED_LOCALEDIR : /usr/local/lyx2.0/locale
-- ----- LYX_INSTALL_SUFFIX          : 2.0



Abdel.

Reply via email to