#11851: make pybtex an optional spkg
------------------------+---------------------------------------------------
   Reporter:  ranosch   |          Owner:  tbd                         
       Type:  task      |         Status:  new                         
   Priority:  major     |      Milestone:  sage-4.7.2                  
  Component:  packages  |       Keywords:                              
Work_issues:            |       Upstream:  N/A                         
   Reviewer:            |         Author:  Niels Ranosch, Burcin Erocal
     Merged:            |   Dependencies:                              
------------------------+---------------------------------------------------

Comment(by jhpalmieri):

 When I install the spkg on a Mac OS X box, I see this
 {{{
 Processing PyYAML-3.10.zip
 Running PyYAML-3.10/setup.py -q bdist_egg --dist-dir
 /var/folders/JV/JVYCpshdHd4FFoThuUgD8k+++TI/-Tmp-/easy_install-
 e_csNv/PyYAML-3.10/egg-dist-tmp-KAUGDh
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:2:18: error: yaml.h: No
 such file or directory
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c: In function ‘main’:
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:5: error: ‘yaml_parser_t’
 undeclared (first use in this function)
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:5: error: (Each undeclared
 identifier is reported only once
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:5: error: for each
 function it appears in.)
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:5: error: expected ‘;’
 before ‘parser’
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:6: error: ‘yaml_emitter_t’
 undeclared (first use in this function)
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:6: error: expected ‘;’
 before ‘emitter’
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:8: warning: implicit
 declaration of function ‘yaml_parser_initialize’
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:8: error: ‘parser’
 undeclared (first use in this function)
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:9: warning: implicit
 declaration of function ‘yaml_parser_delete’
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:11: warning: implicit
 declaration of function ‘yaml_emitter_initialize’
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:11: error: ‘emitter’
 undeclared (first use in this function)
 build/temp.macosx-10.6-i386-2.6/check_libyaml.c:12: warning: implicit
 declaration of function ‘yaml_emitter_delete’

 libyaml is not found or a compiler error: forcing --without-libyaml
 (if libyaml is installed correctly, you may need to
  specify the option --include-dirs or uncomment and
  modify the parameter include_dirs in setup.cfg)
 zip_safe flag not set; analyzing archive contents...
 Adding PyYAML 3.10 to easy-install.pth file
 }}}
 Are these errors important?  The installation proceeds, apparently
 successfully, after this.

 Second, would it be better to have three separate spkgs, one each for
 pybtex, PyYAML, and pyparsing?

 Third, should the file `patches/pybtex-doc_tree.patch.org` be deleted?  I
 see a reference to it in SPKG.txt, but why do we need it?  It might be
 better just to give the link to the original patch and then say that it
 has been rebased.  Rebasing is the only change, right?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11851#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to