Re: [gtk-osx-users] Error building harfbuzz



Sigh, sorry, the spelling checker bit me. The module name is ensurepip, all one word.

Regards,
John Ralls


On Nov 25, 2018, at 3:05 AM, Adam Puleo <adam puleo icloud com> wrote:

Hello John,

It appears that ensure and pip are not installed:
*** Error during phase install of harfbuzz: ########## Error running make DESTDIR=/Users/adampuleo/gtk/inst/_jhbuild/root-harfbuzz install *** [22/42]

  [1] Rerun phase install
  [2] Ignore error and continue to next module
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
choice: 4
exit shell to continue with build
bash-3.2$ python -m ensure pip
/Users/adampuleo/gtk/inst/bin/python: No module named ensure
bash-3.2$ pip install six
bash: pip: command not found
bash-3.2$ 

Easy_install wants to install pip in /Library:
[Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-70918.pth’

Outside of jhbuild should I install pip, and then in jhbuild shell install six via pip?

Thanks,
-Adam


On Nov 21, 2018, at 5:19 AM, John Ralls <jralls ceridwen fremont ca us> wrote:



On Nov 21, 2018, at 1:01 PM, Adam Puleo via Gtk-osx-users-list <gtk-osx-users-list gnome org> wrote:

Hello,

I’m trying to build Gtk3 and it’s failing while building harfbuzz saying the Python module “six” is missing. I tried installing “six” in my base OS but that didn’t help.

Any ideas?

gtk-osx-build-setup.sh and "jhbuild bootstrap” completed successfully.

The error happens while executing: jhbuild build python meta-gtk-osx-bootstrap meta-gtk-osx-gtk3

 /usr/bin/install -c -m 644 ./html/why-is-it-called-harfbuzz.html
Traceback (most recent call last):
  File "/Users/adampuleo/gtk/inst/bin/gtkdoc-rebase", line 28, in <module>
    from gtkdoc import common, config, rebase
  File "/Users/adampuleo/gtk/inst/share/gtk-doc/python/gtkdoc/common.py", line 31, in <module>
    import six
ImportError: No module named six
make[2]: *** [Makefile:818: install-data-local] Error 1
make[2]: Leaving directory '/Users/adampuleo/gtk/source/harfbuzz-1.4.5/docs'
make[1]: *** [Makefile:577: install-am] Error 2
make[1]: Leaving directory '/Users/adampuleo/gtk/source/harfbuzz-1.4.5/docs'
make: *** [Makefile:488: install-recursive] Error 1
*** Error during phase install of harfbuzz: ########## Error running make DESTDIR=/Users/adampuleo/gtk/inst/_jhbuild/root-harfbuzz install *** [22/42]

  [1] Rerun phase install
  [2] Ignore error and continue to next module
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration

Because you’re building python that’s what gtk-docs is using for its python interpreter and that’s where you need to install six. The easiest way is to drop to a shell and set up pip:

python -m ensure pip
pip install six

Regards,
John Ralls




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