install fails, looking for nonexistent file "src/misaka.c" #6

Closed
dalexander opened this Issue Feb 6, 2012 · 9 comments

Comments

Projects
None yet
3 participants
@dalexander

Installing from source (or from pip) seems to be borked at the moment.
I don't see where the dependency "src/misaka.c" is coming from---is it
implicitly being generated by setuptools?

(blog)mavis:misaka (master) $ python setup.py install
running install
running bdist_egg
running egg_info
creating misaka.egg-info
writing requirements to misaka.egg-info/requires.txt
writing misaka.egg-info/PKG-INFO
writing top-level names to misaka.egg-info/top_level.txt
writing dependency_links to misaka.egg-info/dependency_links.txt
writing manifest file 'misaka.egg-info/SOURCES.txt'
reading manifest file 'misaka.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'misaka.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.6-x86_64/egg
running install_lib
running build_ext
building 'misaka' extension
creating build
creating build/temp.macosx-10.6-x86_64-2.6
creating build/temp.macosx-10.6-x86_64-2.6/src
creating build/temp.macosx-10.6-x86_64-2.6/src/sundown
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/misaka.c -o build/temp.macosx-10.6-x86_64-2.6/src/misaka.o
i686-apple-darwin10-gcc-4.2.1: src/misaka.c: No such file or directory
i686-apple-darwin10-gcc-4.2.1: no input files
error: command '/usr/bin/gcc-4.2' failed with exit status 1
@FSX

This comment has been minimized.

Show comment
Hide comment
@FSX

FSX Feb 6, 2012

Owner

That's strange. Are you using 1.0.0? In 1.0.0 src/misaka.c is generated by Cython.

Owner

FSX commented Feb 6, 2012

That's strange. Are you using 1.0.0? In 1.0.0 src/misaka.c is generated by Cython.

@jimmyye

This comment has been minimized.

Show comment
Hide comment
@jimmyye

jimmyye Feb 6, 2012

The same. pip install git+.... fails too.
pip install misaka==4.2.0 works fine.

jimmyye commented Feb 6, 2012

The same. pip install git+.... fails too.
pip install misaka==4.2.0 works fine.

@FSX

This comment has been minimized.

Show comment
Hide comment
@FSX

FSX Feb 6, 2012

Owner

Strange. I don't have any problems with installing on Arch Linux. Do you guys use Distribute for setuptools?

The problem is that for some reason the C file isn't generated by Cython.

Owner

FSX commented Feb 6, 2012

Strange. I don't have any problems with installing on Arch Linux. Do you guys use Distribute for setuptools?

The problem is that for some reason the C file isn't generated by Cython.

@dalexander

This comment has been minimized.

Show comment
Hide comment
@dalexander

dalexander Feb 6, 2012

I am on OS X and I am using a virtualenv, which by default uses setuptools, not Distribute.

(blog)mavis:GenomicConsensus (master) $ pip freeze
Cython==0.15.1
Jinja2==2.6
Markdown==2.1.1
PyYAML==3.10
Pygments==1.4
argparse==1.2.1
commando==0.1.2a
d==0.1.2
hyde==0.8.4
lxml==2.3.3
misaka==0.4.2
mynt==0.1.7
pyquery==1.1.1
smartypants==1.6.0.3
typogrify-hyde==1.0.1a
wsgiref==0.1.2
(blog)mavis:GenomicConsensus (master) $ python --version
Python 2.7.2
(blog)mavis:GenomicConsensus (master) $ uname -a
Darwin mavis 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
(blog)mavis:GenomicConsensus (master) $ 

I am on OS X and I am using a virtualenv, which by default uses setuptools, not Distribute.

(blog)mavis:GenomicConsensus (master) $ pip freeze
Cython==0.15.1
Jinja2==2.6
Markdown==2.1.1
PyYAML==3.10
Pygments==1.4
argparse==1.2.1
commando==0.1.2a
d==0.1.2
hyde==0.8.4
lxml==2.3.3
misaka==0.4.2
mynt==0.1.7
pyquery==1.1.1
smartypants==1.6.0.3
typogrify-hyde==1.0.1a
wsgiref==0.1.2
(blog)mavis:GenomicConsensus (master) $ python --version
Python 2.7.2
(blog)mavis:GenomicConsensus (master) $ uname -a
Darwin mavis 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
(blog)mavis:GenomicConsensus (master) $ 
@FSX

This comment has been minimized.

Show comment
Hide comment
@FSX

FSX Feb 6, 2012

Owner

Ok, setuptools might be the cause. I will investigate this and make it work. Thanks for the info.

Owner

FSX commented Feb 6, 2012

Ok, setuptools might be the cause. I will investigate this and make it work. Thanks for the info.

@jimmyye

This comment has been minimized.

Show comment
Hide comment
@jimmyye

jimmyye Feb 6, 2012

I just created a virtualenv with --distrubute, also failed.
Will virtualenv be the problem?

jimmyye commented Feb 6, 2012

I just created a virtualenv with --distrubute, also failed.
Will virtualenv be the problem?

@FSX

This comment has been minimized.

Show comment
Hide comment
@FSX

FSX Feb 6, 2012

Owner

I've changed setup.py a bit in 02678b5. Can you try to install it again from Git?

Owner

FSX commented Feb 6, 2012

I've changed setup.py a bit in 02678b5. Can you try to install it again from Git?

@dalexander

This comment has been minimized.

Show comment
Hide comment
@dalexander

dalexander Feb 7, 2012

Great, it works now. Thanks!

Great, it works now. Thanks!

@jimmyye

This comment has been minimized.

Show comment
Hide comment
@jimmyye

jimmyye Feb 7, 2012

It works. Thank you!

jimmyye commented Feb 7, 2012

It works. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment