Re: [CMake] cmake error when trying to compile KMyMoney 3.97.1

2010-04-08 Thread Alexander Neundorf
On Sunday 04 April 2010, Pierre Maurier wrote:
> Hi,
>
> I'm new in this mailing list and new in cmake compiling in general,
> I have a cmake error when trying to compile KMyMoney 3.97.1 on OSX.
> Here is the output :
>
> ===
> $ cmake -D CMAKE_BUILD_TYPE='Released' ..
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Checking whether C compiler has -isysroot
> -- Checking whether C compiler has -isysroot - yes
> -- Checking whether C compiler supports OSX deployment target flag
> -- Checking whether C compiler supports OSX deployment target flag - yes
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Checking whether CXX compiler has -isysroot
> -- Checking whether CXX compiler has -isysroot - yes
> -- Checking whether CXX compiler supports OSX deployment target flag
> -- Checking whether CXX compiler supports OSX deployment target flag - yes
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - not found.
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found.
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found.
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - found
> -- Looking for QT_MAC_USE_COCOA
> -- Looking for QT_MAC_USE_COCOA - found
> -- Found Qt-Version 4.6.2 (using /opt/local/bin/qmake-mac)
> -- Looking for include files CMAKE_HAVE_PTHREAD_H
> -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE
> -- Found OpenSSL: /usr/lib/libssl.dylib
> -- Found Automoc4: /opt/local/bin/automoc4
> -- Found Perl: /opt/local/bin/perl
> -- Phonon Version: 4.3.1
> -- Found Phonon: /opt/local/libexec/qt4-mac/lib/phonon.framework
> -- Found Phonon Includes:
> /opt/local/libexec/qt4-mac/lib/phonon.framework/KDE;/opt/local/libexec/qt4-
>mac/lib/phonon.framework -- Performing Test _OFFT_IS_64BIT
> -- Performing Test _OFFT_IS_64BIT - Success
> -- Performing Test HAVE_FPIE_SUPPORT
> -- Performing Test HAVE_FPIE_SUPPORT - Success
> -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
> -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
> -- Performing Test __KDE_HAVE_GCC_VISIBILITY
> -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
> -- Found KDE 4.4 include dir: /opt/local/include
> -- Found KDE 4.4 library dir: /opt/local/lib
> -- Found the KDE4 kconfig_compiler preprocessor:
> /opt/local/bin/kconfig_compiler -- Found automoc4: /opt/local/bin/automoc4
> -- Boost version: 1.42.0
> -- Found the following Boost libraries:
> --   graph
> -- Found gpgme-config at /opt/local/bin/gpgme-config
> -- Found gpgme v1.2.0, checking for flavours...
> --  Found flavour 'vanilla', checking whether it's usable...yes
> --  Found flavour 'pthread', checking whether it's usable...yes
> --  Found flavour 'pth', checking whether it's usable...yes
> -- Usable gpgme flavours found:  vanilla pthread pth
> -- Found QGpgme: /opt/local/lib/libqgpgme.dylib
> -- Found KdepimLibs: /opt/local/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
> -- Found shared-mime-info version: 0.71
> -- Found JPEG: /opt/local/lib/libjpeg.dylib
> -- Found ZLIB: /usr/lib/libz.dylib
> -- Found PNG: /opt/local/lib/libpng.dylib
> -- Found Doxygen: /opt/local/bin/doxygen
> -- checking for modules 'libxml-2.0;libxml++-2.6;glib-2.0;glibmm-2.4'
> --   package 'libxml++-2.6' not found
> --   package 'glibmm-2.4' not found
> -- Looking for atoll
> -- Looking for atoll - found
> -- Looking for vsnprintf
> -- Looking for vsnprintf - found
> -- Looking for strtoll
> -- Looking for strtoll - found
> -- Looking for round
> -- Looking for round - found
> -- Looking for res_init
> -- Looking for res_init - not found.
> -- Performing Test HAVE_RES_INIT_PROTO
> -- Performing Test HAVE_RES_INIT_PROTO - Failed
> -- Looking for crypt
> -- Looking for crypt - not found
> -- Looking for stdint.h
> -- Looking for stdint.h - found
> -- Looking for dlfcn.h
> -- Looking for dlfcn.h - found
> -- Looking for inttypes.h
> -- Looking for inttypes.h - found
> -- Looking for memory.h
> -- Looking for memory.h - found
> -- Looking for stdlib.h
> -- Looking for stdlib.h - found
> -- Looking for strings.h
> -- Looking for strings.h - found
> -- Looking for string.h
> -- Looking for string.h - found
> -- Looking for sys/bitypes.h
> -- Looking for sys/bitypes.h - not found
> -- Looking for sys/stat.h
> -- Looking for sys/stat.h - found
> -- Looking for sys/types.h
> -- Looking for sys/types.h - found
> -- Looking for unistd.h
> 

Re: [CMake] cmake error when trying to compile KMyMoney 3.97.1

2010-04-04 Thread Ryan Pavlik
I'm pretty sure that Gettext is included with Mac OS X - you might look into
using the "mac homebrew" packages which do a much better job than MacPorts
of not duplicating system packages. I'm pretty sure that all the packages
that are listed here as missing are available with brew.  In any case, this
is a question better suited to the KMyMoney mailing list.

http://mxcl.github.com/homebrew/

Good luck!

Ryan

On Sun, Apr 4, 2010 at 3:53 AM, Pierre Maurier wrote:

> Hi,
>
> I'm new in this mailing list and new in cmake compiling in general,
> I have a cmake error when trying to compile KMyMoney 3.97.1 on OSX.
> Here is the output :
>
> ===
> $ cmake -D CMAKE_BUILD_TYPE='Released' ..
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Checking whether C compiler has -isysroot
> -- Checking whether C compiler has -isysroot - yes
> -- Checking whether C compiler supports OSX deployment target flag
> -- Checking whether C compiler supports OSX deployment target flag - yes
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Checking whether CXX compiler has -isysroot
> -- Checking whether CXX compiler has -isysroot - yes
> -- Checking whether CXX compiler supports OSX deployment target flag
> -- Checking whether CXX compiler supports OSX deployment target flag - yes
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - not found.
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found.
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found.
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - found
> -- Looking for QT_MAC_USE_COCOA
> -- Looking for QT_MAC_USE_COCOA - found
> -- Found Qt-Version 4.6.2 (using /opt/local/bin/qmake-mac)
> -- Looking for include files CMAKE_HAVE_PTHREAD_H
> -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE
> -- Found OpenSSL: /usr/lib/libssl.dylib
> -- Found Automoc4: /opt/local/bin/automoc4
> -- Found Perl: /opt/local/bin/perl
> -- Phonon Version: 4.3.1
> -- Found Phonon: /opt/local/libexec/qt4-mac/lib/phonon.framework
> -- Found Phonon Includes:
>
> /opt/local/libexec/qt4-mac/lib/phonon.framework/KDE;/opt/local/libexec/qt4-mac/lib/phonon.framework
> -- Performing Test _OFFT_IS_64BIT
> -- Performing Test _OFFT_IS_64BIT - Success
> -- Performing Test HAVE_FPIE_SUPPORT
> -- Performing Test HAVE_FPIE_SUPPORT - Success
> -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
> -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
> -- Performing Test __KDE_HAVE_GCC_VISIBILITY
> -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
> -- Found KDE 4.4 include dir: /opt/local/include
> -- Found KDE 4.4 library dir: /opt/local/lib
> -- Found the KDE4 kconfig_compiler preprocessor:
> /opt/local/bin/kconfig_compiler
> -- Found automoc4: /opt/local/bin/automoc4
> -- Boost version: 1.42.0
> -- Found the following Boost libraries:
> --   graph
> -- Found gpgme-config at /opt/local/bin/gpgme-config
> -- Found gpgme v1.2.0, checking for flavours...
> --  Found flavour 'vanilla', checking whether it's usable...yes
> --  Found flavour 'pthread', checking whether it's usable...yes
> --  Found flavour 'pth', checking whether it's usable...yes
> -- Usable gpgme flavours found:  vanilla pthread pth
> -- Found QGpgme: /opt/local/lib/libqgpgme.dylib
> -- Found KdepimLibs: /opt/local/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
> -- Found shared-mime-info version: 0.71
> -- Found JPEG: /opt/local/lib/libjpeg.dylib
> -- Found ZLIB: /usr/lib/libz.dylib
> -- Found PNG: /opt/local/lib/libpng.dylib
> -- Found Doxygen: /opt/local/bin/doxygen
> -- checking for modules 'libxml-2.0;libxml++-2.6;glib-2.0;glibmm-2.4'
> --   package 'libxml++-2.6' not found
> --   package 'glibmm-2.4' not found
> -- Looking for atoll
> -- Looking for atoll - found
> -- Looking for vsnprintf
> -- Looking for vsnprintf - found
> -- Looking for strtoll
> -- Looking for strtoll - found
> -- Looking for round
> -- Looking for round - found
> -- Looking for res_init
> -- Looking for res_init - not found.
> -- Performing Test HAVE_RES_INIT_PROTO
> -- Performing Test HAVE_RES_INIT_PROTO - Failed
> -- Looking for crypt
> -- Looking for crypt - not found
> -- Looking for stdint.h
> -- Looking for stdint.h - found
> -- Looking for dlfcn.h
> -- Looking for dlfcn.h - found
> -- Looking for inttypes.h
> -- Looking for inttypes.h - found
> -- Looking for memory.h
> -- Looking for memory

[CMake] cmake error when trying to compile KMyMoney 3.97.1

2010-04-04 Thread Pierre Maurier
Hi,

I'm new in this mailing list and new in cmake compiling in general,
I have a cmake error when trying to compile KMyMoney 3.97.1 on OSX.
Here is the output :

===
$ cmake -D CMAKE_BUILD_TYPE='Released' ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt-Version 4.6.2 (using /opt/local/bin/qmake-mac)
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenSSL: /usr/lib/libssl.dylib
-- Found Automoc4: /opt/local/bin/automoc4
-- Found Perl: /opt/local/bin/perl
-- Phonon Version: 4.3.1
-- Found Phonon: /opt/local/libexec/qt4-mac/lib/phonon.framework
-- Found Phonon Includes:
/opt/local/libexec/qt4-mac/lib/phonon.framework/KDE;/opt/local/libexec/qt4-mac/lib/phonon.framework
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.4 include dir: /opt/local/include
-- Found KDE 4.4 library dir: /opt/local/lib
-- Found the KDE4 kconfig_compiler preprocessor: /opt/local/bin/kconfig_compiler
-- Found automoc4: /opt/local/bin/automoc4
-- Boost version: 1.42.0
-- Found the following Boost libraries:
--   graph
-- Found gpgme-config at /opt/local/bin/gpgme-config
-- Found gpgme v1.2.0, checking for flavours...
--  Found flavour 'vanilla', checking whether it's usable...yes
--  Found flavour 'pthread', checking whether it's usable...yes
--  Found flavour 'pth', checking whether it's usable...yes
-- Usable gpgme flavours found:  vanilla pthread pth
-- Found QGpgme: /opt/local/lib/libqgpgme.dylib
-- Found KdepimLibs: /opt/local/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
-- Found shared-mime-info version: 0.71
-- Found JPEG: /opt/local/lib/libjpeg.dylib
-- Found ZLIB: /usr/lib/libz.dylib
-- Found PNG: /opt/local/lib/libpng.dylib
-- Found Doxygen: /opt/local/bin/doxygen
-- checking for modules 'libxml-2.0;libxml++-2.6;glib-2.0;glibmm-2.4'
--   package 'libxml++-2.6' not found
--   package 'glibmm-2.4' not found
-- Looking for atoll
-- Looking for atoll - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for round
-- Looking for round - found
-- Looking for res_init
-- Looking for res_init - not found.
-- Performing Test HAVE_RES_INIT_PROTO
-- Performing Test HAVE_RES_INIT_PROTO - Failed
-- Looking for crypt
-- Looking for crypt - not found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for sys/bitypes.h
-- Looking for sys/bitypes.h - not found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of char*
-- Check size of char* - failed
-- Check size of int
-- Check size of int - failed
-- Check size of long
-- Check size of long - failed
-- Check size of short
-- Check si