Re: [gtk-osx-users] GTK+ macOS: fontconfig



Great tip, thanks John. It did not occur to me that some of the `bootstrap' modules were optional for subsequent builds.

This command worked for the `x86_64' build:

jhbuild build meta-gtk-osx-bootstrap meta-gtk-osx-freetype pango

However, I am encountering an error when building `i386':

checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for python module libxml2... not found
configure: error: Python module libxml2 is needed to run this package
*** Error during phase configure of itstool: ########## Error running ./configure --prefix /Users/gtk-build/gtk/inst    *** [8/25]

I tried adding modules `libxml2' and `python' to the list explicitly, but with the same result.

N.B. In the `~/gtk/inst/lib/python2.7/site-packages/' directory for the `x86_64' build, there are multiple `libxml' and `libxslt' library/module files. At the point of failure in the `i386' build, the `libxml' files are present in the same location, but the `libxslt' files are not.

I'm not sure why the error is being generated, so I am going to debug `~/gtk/source/itstool-2.0.2/configure'. The error message is being generated at line 2426.

On 29 March 2018 at 02:01, John Ralls <jralls ceridwen us> wrote:


On Mar 28, 2018, at 8:38 AM, Jeffrey Sheen <jeffrey.sheen00@alumni.imperial.ac.uk> wrote:

N.B. Using a Sierra 10.12.6 environment with Xcode 9.2 and the `~/.jhbuildrc-custom' parameters:

setup_sdk(target='10.6')
or
setup_sdk(target='10.7')

This causes `jhbuild bootstrap' to fail when bootstrapping `cmake 3.10.0':

clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
cmake_bootstrap_24961_test.cxx:6:2: error: "Compiler is not in a mode aware of C++11."

The approach I am taking now is to roll back to gtk-osx `Last-Lion', and create a custom local branch to fold in subsequent commits necessary to update pango/cairo/freetype versions.

I may need to set up a custom environment to improve build compatibility.

Unless you need cmake for some reason, why don’t you just add cmake to the skip list in .jhbuildrc-custom?

Regards,
John Ralls




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