Modify

Ticket #44 (closed defect: fixed)

Opened 7 years ago

Last modified 2 days ago

easy_install b0rked

Reported by: anseljh@… Owned by: xi
Priority: normal Component: pysyck
Severity: major Keywords:
Cc:

Description

All I want is to easy_install pysyck... :(

Here's what happens on my Mac (OS X 10.4.8; Python 2.4.4):

$ sudo easy_install pysyck
Password:
Searching for pysyck
Reading http://cheeseshop.python.org/pypi/pysyck/
Couldn't find index page for 'pysyck' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://cheeseshop.python.org/pypi/
Reading http://cheeseshop.python.org/pypi/PySyck/0.61.2
Reading http://pyyaml.org/wiki/PySyck
Best match: PySyck 0.61.2
Downloading http://pyyaml.org/download/pysyck/PySyck-0.61.2.zip
Processing PySyck-0.61.2.zip
Running PySyck-0.61.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-y67SG5/PySyck-0.61.2/egg-dist-tmp-pDzaUo
./_check_syck.c:2:18: error: syck.h: No such file or directory
./_check_syck.c:2:18: error: syck.h: No such file or directory
./_check_syck.c: In function 'main':
./_check_syck.c:7: error: 'SYCK_VERSION' undeclared (first use in this function)
./_check_syck.c:7: error: (Each undeclared identifier is reported only once
./_check_syck.c:7: error: for each function it appears in.)
./_check_syck.c: In function 'main':
./_check_syck.c:7: error: 'SYCK_VERSION' undeclared (first use in this function)
./_check_syck.c:7: error: (Each undeclared identifier is reported only once
./_check_syck.c:7: error: for each function it appears in.)
lipo: can't figure out the architecture type of: /var/tmp//ccX0yyzM.out
error: Setup script exited with error: syck.h is not found, try to uncomment the include_dirs parameter in setup.cfg

...and on my Fedora Core 6 box (also Python 2.4.4):

$ sudo easy_install pysyck
Password:
Searching for pysyck
Reading http://cheeseshop.python.org/pypi/pysyck/
Couldn't find index page for 'pysyck' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://cheeseshop.python.org/pypi/
Reading http://cheeseshop.python.org/pypi/PySyck/0.61.2
Reading http://pyyaml.org/wiki/PySyck
Best match: PySyck 0.61.2
Downloading http://pyyaml.org/download/pysyck/PySyck-0.61.2.zip
Processing PySyck-0.61.2.zip
Running PySyck-0.61.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-waHbzc/PySyck-0.61.2/egg-dist-tmp-ltTkBA
./_check_syck.c:2:18: error: syck.h: No such file or directory
./_check_syck.c: In function ‘main’:
./_check_syck.c:5: warning: implicit declaration of function ‘syck_free_parser’
./_check_syck.c:5: warning: implicit declaration of function ‘syck_new_parser’
./_check_syck.c:6: warning: implicit declaration of function ‘syck_free_emitter’
./_check_syck.c:6: warning: implicit declaration of function ‘syck_new_emitter’
./_check_syck.c:7: error: ‘SYCK_VERSION’ undeclared (first use in this function)
./_check_syck.c:7: error: (Each undeclared identifier is reported only once
./_check_syck.c:7: error: for each function it appears in.)
error: Setup script exited with error: syck.h is not found, try to uncomment the include_dirs parameter in setup.cfg

Help?

Attachments

Change History

comment:1 Changed 7 years ago by xi

Do you have 'syck' installed? What is the path to 'syck.h'?

comment:2 Changed 7 years ago by anseljh@…

I do have syck... on my Mac it's at /usr/local/include/syck.h. I can't find the file on the Linux box, but it too has Syck (it's Fedora Core 6, and I did a successful 'sudo yum install syck').

Thanks.

comment:3 Changed 7 years ago by xi

  • Status changed from new to closed
  • Resolution set to fixed

I'd suggest you to create a file named .pydistutils.cfg in your home directory and add the following lines to it:

[build_ext]
include_dirs=/usr/local/include
library_dirs=/usr/local/lib

comment:4 Changed 7 years ago by anseljh@…

That worked. Thanks! However, is there something that can be done so this wouldn't happen in the first place?

comment:5 Changed 2 days ago by maskodok <galihadiputro87@…>

The only thing more I could hope for is documentation of all these features (other than reading through the code).  Cipto Junaedy Is this in process? Can I help? About  Unit Link Terbaik di Indonesia Commonwealth Life Investra Link

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.