datazuul / epub-tools

Automatically exported from code.google.com/p/epub-tools
0 stars 0 forks source link

Install does not work under Mac OS X 10.6.7 #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.python ez_setup.py --> OK
2. cd epubtools python setup.py install --> NOK

running install
running bdist_egg
running egg_info
writing requirements to epubtools.egg-info/requires.txt
writing epubtools.egg-info/PKG-INFO
writing top-level names to epubtools.egg-info/top_level.txt
writing dependency_links to epubtools.egg-info/dependency_links.txt
writing entry points to epubtools.egg-info/entry_points.txt
reading manifest file 'epubtools.egg-info/SOURCES.txt'
writing manifest file 'epubtools.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.6-universal/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/epubtools
copying epubtools/__init__.py -> build/lib/epubtools
copying epubtools/settings.py -> build/lib/epubtools
creating build/bdist.macosx-10.6-universal
creating build/bdist.macosx-10.6-universal/egg
creating build/bdist.macosx-10.6-universal/egg/epubtools
copying build/lib/epubtools/__init__.py -> 
build/bdist.macosx-10.6-universal/egg/epubtools
copying build/lib/epubtools/settings.py -> 
build/bdist.macosx-10.6-universal/egg/epubtools
byte-compiling build/bdist.macosx-10.6-universal/egg/epubtools/__init__.py to 
__init__.pyc
byte-compiling build/bdist.macosx-10.6-universal/egg/epubtools/settings.py to 
settings.pyc
creating build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/PKG-INFO -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/SOURCES.txt -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/dependency_links.txt -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/entry_points.txt -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/not-zip-safe -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/requires.txt -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/top_level.txt -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
creating dist
creating 'dist/epubtools-1.0.0dev-py2.6.egg' and adding 
'build/bdist.macosx-10.6-universal/egg' to it
removing 'build/bdist.macosx-10.6-universal/egg' (and everything under it)
Processing epubtools-1.0.0dev-py2.6.egg
removing '/Library/Python/2.6/site-packages/epubtools-1.0.0dev-py2.6.egg' (and 
everything under it)
creating /Library/Python/2.6/site-packages/epubtools-1.0.0dev-py2.6.egg
Extracting epubtools-1.0.0dev-py2.6.egg to /Library/Python/2.6/site-packages
Removing epubtools 1.0.0dev-r131 from easy-install.pth file
Adding epubtools 1.0.0dev to easy-install.pth file

Installed /Library/Python/2.6/site-packages/epubtools-1.0.0dev-py2.6.egg
Processing dependencies for epubtools==1.0.0dev
Searching for lxml>=2.1.2
Reading http://pypi.python.org/simple/lxml/
Reading http://codespeak.net/lxml
Best match: lxml 2.3
Downloading http://lxml.de/files/lxml-2.3.tgz
Processing lxml-2.3.tgz
Running lxml-2.3/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-P_803T/lxml-2.3/egg-dist-tmp-6HSn2z
Building lxml version 2.3.
Building without Cython.
Using build configuration of libxslt 1.1.24
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler 
(/usr/bin/../libexec/gcc/darwin/ppc/as or 
/usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
src/lxml/lxml.etree.c:161594: fatal error: error writing to -: Broken pipe
compilation terminated.
lipo: can't open input file: /var/tmp//ccdKQJFl.out (No such file or directory)
error: Setup script exited with error: command 'gcc-4.2' failed with exit 
status 1

# python -V              
Python 2.6.1

Original issue reported on code.google.com by jfou...@gmail.com on 3 Apr 2011 at 8:18

GoogleCodeExporter commented 9 years ago
That's a problem with installing the lxml dependency rather than epub-tools 
itself. I recommend trying to install lxml using MacPorts.

Original comment by liza31337@gmail.com on 3 Apr 2011 at 8:23

GoogleCodeExporter commented 9 years ago
Seems to work... a little bit more

Thanks

Original comment by jfou...@gmail.com on 29 Apr 2011 at 9:45