jwilk / didjvu

DjVu encoder with foreground/background separation
https://jwilk.net/software/didjvu
GNU General Public License v2.0
10 stars 8 forks source link

./tools/manpage-fixup: Permission denied #3

Closed jwilk closed 12 years ago

jwilk commented 12 years ago

Issue reported by cyberdoud at Google Code:

On MacOSX Lion, using sudo pip to install didjvu raises a permission error.

The pip.log file contains:

Downloading from URL http://pypi.python.org/packages/source/d/didjvu/didjvu-0$
  Running setup.py egg_info for package didjvu

    running egg_info
    creating pip-egg-info/didjvu.egg-info
    writing pip-egg-info/didjvu.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/didjvu.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/didjvu.egg-info/dependency_links.t$
    writing manifest file 'pip-egg-info/didjvu.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info/didjvu.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pip-egg-info/didjvu.egg-info/SOURCES.txt'
Installing collected packages: didjvu

  Running setup.py install for didjvu

    Running command /usr/bin/python -c "import setuptools;__file__='/Users/bert$
    running install
    running build
    running install
    running build
    running build_doc
    ./tools/manpage-fixup doc/didjvu.1

    unable to execute ./tools/manpage-fixup: Permission denied

    error: command './tools/manpage-fixup' failed with exit status 1
    Complete output from command /usr/bin/python -c "import setuptools;__file__$

    running install

running build

running build_doc

./tools/manpage-fixup doc/didjvu.1

unable to execute ./tools/manpage-fixup: Permission denied

unable to execute ./tools/manpage-fixup: Permission denied

error: command './tools/manpage-fixup' failed with exit status 1

----------------------------------------

Command /usr/bin/python -c "import setuptools;__file__='/Users/*****/bu$

Exception information:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py"$
    status = self.run(options, args)
  File "/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/instal$
    requirement_set.install(install_options, global_options)
  File "/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1$
    requirement.install(install_options, global_options)
  File "/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 5$
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg/pip/__init__.py", l$
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg/pip/__init__.py", l$
    % (command_desc, proc.returncode, cwd))
InstallationError: Command /usr/bin/python -c "import setuptools;__file__='/Use$
jwilk commented 12 years ago

Thanks for the bug report. I can reproduce the problem here (it's not specific to OS X).

At first glance it looks more like a problem with pip than with didjvu. The file in question is executable in the tarball, and the software can be installed without problems using e.g. easy_install.

Anyway, this will be fixed in the next release.

jwilk commented 12 years ago

Fixed in 0.2.5.