Good evening,

I get a compilation error when trying to build the package 
boost1.46.1.cmake-1.46.1-3.

Here's the full log of the error:

sudo -u fink-bld [ENV] sh -c /tmp/fink.CinWi
/tmp/fink.XX3Yi
#!/bin/sh -ev
        cmake -DENABLE_STATIC=off -DENABLE_DEBUG=off \
                -DBUILD_SOVERSIONED=on -DINSTALL_VERSIONED=off \
                -DCMAKE_INSTALL_PREFIX=/sw -DCMAKE_INSTALL_NAME_DIR=/sw/lib \
                -DWITH_DOXYGEN=off -DWITH_ICU=off -DWITH_MPI=off \
                -DBZIP2_INCLUDE_DIR=/usr/include \
                -DBZIP2_LIBRARIES=/usr/lib/libbz2.dylib \
                -DPYTHON_INCLUDE_PATH=/usr/include/python2.7 \
                -DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
                -DPYTHON_LIBRARIES="-framework Python" \
                -DXSLTPROC_EXECUTABLE=/usr/bin/xsltproc
-- The C compiler identification is Clang 4.2.0
-- The CXX compiler identification is Clang 4.2.0
CMake Error at /sw/share/cmake-2.8/Modules/Platform/Darwin.cmake:190 (message):
  CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but CMAKE_OSX_SYSROOT:

   ""

  is not set to a MacOSX SDK with a recognized version.  Either set
  CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to
  empty.
Call Stack (most recent call first):
  /sw/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake:36 (include)
  CMakeLists.txt:28 (project)


-- Configuring incomplete, errors occurred!
### execution of /tmp/fink.XX3Yi failed, exit code 1
### execution of /tmp/fink.CinWi failed, exit code 1


And here is my system information:

Package manager version: 0.35.1
Distribution version: selfupdate-rsync Thu Aug  1 20:56:03 2013, 10.8, x86_64
Trees: local/main stable/main unstable/main unstable/crypto
No recognized Xcode.app installed
Xcode command-line tools: 4.6.0.0.1.1365549073
Max. Fink build jobs:  1


After doing some research online, I understand this is a known issue with 
recent versions of CMake, now requiring a different set of options to correctly 
handle OSX's SDK. I believe this requires a modification of the source code in 
the package.

Did anyone else observe the same problem, and can anyone suggest a fix?

Thank you for your help,

Tiziano


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to