Re: [gtk-osx-users] Issues when building latest GTK+



On Wed, 2013-10-02 at 09:54 +0200, Miroslav Rajcic wrote:
Just tried to rebuild latest GTK for OS X using jhbuild.
I am using OSX 10.7.5, XCode 4.3.3, building modulesets-stable version
of GTK 2.x 32-bit (I've downloaded latest gtk-osx-build-setup.sh from
GitHub).

Issues this time:
1. cmake fails to build:

*** Checking out cmake *** [3/19]
curl --continue-at - -L
http://www.cmake.org/files/v2.8/cmake-2.8.11.2.tar.gz
-o /Users/helix/gtk/source/pkgs/cmake-2.8.11.2.tar.gz

...

-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
CMake Error at Modules/Platform/Darwin.cmake:190 (message):
  CMAKE_OSX_DEPLOYMENT_TARGET is '10.6' 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):
  Modules/CMakeSystemSpecificInformation.cmake:36 (include)
  CMakeLists.txt:14 (project)

-- Configuring incomplete, errors occurred!
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
*** Error during phase configure of cmake: ########## Error
running ./bootstrap --prefix=/Users/helix/gtk/inst   *** [3/19]


Start a shell and:
- Manually edit the definition of CMAKE_OSX_DEPLOYMENT_TARGET and make
it empty.
- Run ./bootstrap
and after that exit the shell and continue building.

I may not recall all the details but this gives the idea.

2. I've skipped building cmake and the process went further until
breaking at GTK+

*** Checking out gtk+ *** [9/11]
curl --continue-at - -L http://ftp.gnome.org/pub/GNOME/sources/gtk
+/2.24/gtk+-2.24.21.tar.xz -o /Users/helix/gtk/source/pkgs/gtk
+-2.24.21.tar.xz

...

*** Configuring gtk+ *** [9/11]
autoreconf -fi
aclocal: error: couldn't open directory 'm4': No such file or
directory
autoreconf: aclocal failed with exit status: 1
*** Error during phase configure of gtk+: ########## Error running
autoreconf -fi *** [9/11]

This one is really simple: start a shell and mkdir m4.
Exit and restart configure (option 1).
/Louis




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]