Am 17.05.2011 um 12:39 schrieb Peter Kuemmel:

>> 
>> Peter, what is the required environment for that?
>> I cannot get it working with Qt 4.6.2, is it too old?
>> 
> 
> I've installed 4.7.2 here but I assume it doesn't matter.
> 
> Do you use cmake 2.8.4?

Yes.

> Have you also tried the develop/cmake/dmg script, 
> I only have tested it with the options used there.

No, but these are my settings. I think it's what needs to be enabled.
I don't want to use merge build, e. g.

-- Installing to LyX2.1, defined by CMAKE_INSTALL_PREFIX
-- doxygen not found, ==> no doxygen creation
-- 
-- Build options, switch LYX_* variables by -DLYX_*=1 or 0:
-- 
-- LYX_CPACK                = ON     : Use the CPack management (Implies 
LYX_INSTALL option)
-- LYX_INSTALL              = ON     : Build install projects/rules (implies a 
bunch of other options)
-- LYX_NLS                  = ON     : Enable Native Language Support (NLS)
-- LYX_ASPELL               = ON     : Require aspell
-- LYX_ENCHANT              = OFF    : Require Enchant
-- LYX_HUNSPELL             = ON     : Require Hunspell
-- LYX_DEVEL_VERSION        = ON     : Build developer version
-- LYX_RELEASE              = ON     : Build release version, build debug when 
disabled
-- LYX_DEBUG                = OFF    : Enforce debug build
-- LYX_NO_OPTIMIZE          = OFF    : Don't use any optimization/debug flags
-- LYX_PACKAGE_SUFFIX       = ON     : Use version suffix for packaging
-- LYX_PCH                  = OFF    : Use precompiled headers
-- LYX_MERGE_FILES          = OFF    : Merge source files into one compilation 
unit
-- LYX_MERGE_REBUILD        = OFF    : Rebuild generated files from merged 
files build
-- LYX_QUIET                = ON     : Don't generate verbose makefiles
-- LYX_INSTALL_PREFIX       = ON     : Install path for LyX
-- LYX_EXTERNAL_LIBINTL     = ON     : Use external libintl
-- LYX_PROFILE              = OFF    : Build profile version
-- LYX_EXTERNAL_BOOST       = OFF    : Use external boost
-- LYX_PROGRAM_SUFFIX       = OFF    : Append version suffix to binaries
-- LYX_DEBUG_GLIBC          = ON     : Enable libstdc++ debug mode
-- LYX_DEBUG_GLIBC_PEDANTIC = ON     : Enable libstdc++pedantic debug mode
-- LYX_STDLIB_DEBUG         = OFF    : Use debug stdlib
-- LYX_CONCEPT_CHECKS       = OFF    : Enable concept-checks
-- LYX_DMG                  = ON     : Build as Mac bundle, needed for .dmg  
(experimental) 
-- LYX_COCOA                = ON     : Use Cocoa on Mac
-- 
-- Building Native Language Support (LYX_NLS is set), used libraries:
-- 
--   * intl
--      - header : /usr/local/include/libintl.h
--      - library: /usr/local/lib/libintl.dylib
--   * iconv
--      - header : /usr/include/iconv.h
--      - library: /usr/lib/libiconv.dylib
--   * zlib
--      - header : /usr/include/zlib.h
--      - library: /usr/lib/libz.dylib
-- 
-- Qt Plugins: /Developer/Applications/Qt/plugins/imageformats DESTINATION 
/Users/stephan/cvs/lyx/lyx-build/cmake/lyx-devel/bin/LyX.app/Contents//plugins
-- 
-- Configuring done
-- Generating done

> 
> 
> 
>> 
>> Here it fails.
>> 
>> PhaseScriptExecution "CMake PostBuild Rules"
> ...
>> --   dirs=''
>> -- warning: *NOT* handled - .app directory case...
>> CMake Error at
>> 627 (message):
>>  error: fixup_bundle: not a valid bundle
>> Call Stack (most recent call first):
>>  cmake_install.cmake:1835 (fixup_bundle)
>> 
> 
> I once also had this error, but couldn't remember what the reason was.
> Using BundleUtilities is a bit hairy, I think some messages() in
>    /opt/local/share/cmake-2.8/Modules/BundleUtilities.cmake:
> are needed.

Did you fix something there?

Stephan

Reply via email to