[Piglit] [PATCH] cmake: Require Mako >= 0.7

Brian Paul brianp at vmware.com
Mon Jul 7 08:29:52 PDT 2014


On 07/07/2014 09:26 AM, Brian Paul wrote:
>
> I'm having trouble with Mako since the requirement bump.
>
> I had an older version of Mako installed.  I tried upgrading with "sudo
> pip install --user --upgrade Mako" but that didn't seem to work.  Then I
> uninstalled Mako and tried installing again.  The installation had some
> warnings but seems to have succeeded:
>
> $ sudo pip install --user --upgrade Mako
> Downloading/unpacking Mako
>    Downloading Mako-1.0.0.tar.gz (470Kb): 470Kb downloaded
>    Running setup.py egg_info for package Mako
>
>      warning: no files found matching '*.xml' under directory 'examples'
>      warning: no files found matching '*.mako' under directory 'examples'
>      warning: no files found matching 'ez_setup.py'
>      no previously-included directories found matching 'doc/build/output'
> Requirement already up-to-date: MarkupSafe>=0.9.2 in
> /home/brianp/.local/lib/python2.7/site-packages (from Mako)
> Installing collected packages: Mako
>    Running setup.py install for Mako
>
>      warning: no files found matching '*.xml' under directory 'examples'
>      warning: no files found matching '*.mako' under directory 'examples'
>      warning: no files found matching 'ez_setup.py'
>      no previously-included directories found matching 'doc/build/output'
>      Installing mako-render script to /home/brianp/.local/bin
> Successfully installed Mako
> Cleaning up...
>
>
> But Piglit's not finding Mako.  When I try to reconfigure Piglit (with
> ccmake .) I get:
>
>   CMake Error at cmake/Modules/PiglitFindMako.cmake:69 (message):
>       Failed to find Mako
>       Hint: Try installing Mako with `pip install --user --upgrade Mako`
>
>   Call Stack (most recent call first):
>     CMakeLists.txt:186 (include)
>
>
>
> Any idea how to fix this?

Nevermind.  I had to change the ownership of everything under ~/.local/ 
to be brianp instead of root.

-Brian



More information about the Piglit mailing list