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



op 02-10-13 10:11, Louis Lagendijk schreef:
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.
I will try this too. However, everything works ok when skipping cmake: jhbuild bootstrap --skip=cmake


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).
Just to be clear (I had the same issue), the m4 directory has to be created in the $HOME/gtk/source/gtk+-2.24.21 folder.

Timo


/Louis


_______________________________________________
Gtk-osx-users-list mailing list
Gtk-osx-users-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list



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