Make fails on Fedora 11 because py_compilefiles is missing

Bug #395107 reported by Miroslav on 2009-07-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gedit XML Tools
Simon Wenner

Bug Description

Make fails with /bin/sh: py_compilefiles: command not found on Fedora 11.
Packages python-2.6-9.fc11.i586 and python-devel-2.6-9.fc11.i586 are installed.
The py_compilefiles is nowhere to be found in the repos: yum provides "*/py_compilefiles" returns No Matches.

I'm probably missing something obvious, but since the plugin works like a charm if one manually executes only part of the Makefile:

 mkdir -p ~/.gnome2/gedit/plugins
 cp -f ~/.gnome2/gedit/plugins/
 cp -f ~/.gnome2/gedit/plugins/
 cp -f xmltools.gedit-plugin ~/.gnome2/gedit/plugins/

perhaps you could handle a case of missing py_compilefiles automatically and just go with uncompiled .py files?

Simon Wenner (nowic) wrote :

Thanks for your report. Someone should probably write a proper build system :-)

But I commited a fix to trunk. I hope it solves your problem.

- py_compilefiles *.py
+ #py_compilefiles *.py (does not work on fedora)
+ python -c "import py_compile; py_compile.compile('')"
+ python -c "import py_compile; py_compile.compile('')"

Changed in gedit-xmltools:
assignee: nobody → Simon Wenner (nowic)
importance: Undecided → Medium
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers