Good Morning,

Not sure if this is the right Group to post this request to, but it is part 
of a Trac installation on SUSE 11 SP3.

Genshi is required for Trac and when I install Gensh I get the errors below.

How important is the "An optional C extension"?

The errors look like I am missing a dependence?

Thank you,

David J.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

subtrac2:/ # easy_install Genshi
Searching for Genshi
Reading https://pypi.python.org/simple/Genshi/
Reading http://genshi.edgewall.org/
Reading http://genshi.edgewall.org/wiki/Download
Best match: Genshi 0.7
Downloading 
https://pypi.python.org/packages/source/G/Genshi/Genshi-0.7.zip#md5=90e156dd50fb902c0d334692405a94e4
Processing Genshi-0.7.zip
Writing /tmp/easy_install-S0IrIH/Genshi-0.7/setup.cfg
Running Genshi-0.7/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-S0IrIH/Genshi-0.7/egg-dist-tmp-Vm970I
/tmp/easy_install-S0IrIH/Genshi-0.7/setup.py:72: DeprecationWarning: 
Features are deprecated and will be removed in a future version. See 
http://bitbucket.org/pypa/setuptools/65.
  Extension('genshi._speedups', ['genshi/_speedups.c']),
/usr/lib/python2.6/distutils/core.py:113: DeprecationWarning: Features are 
deprecated and will be removed in a future version. See 
http://bitbucket.org/pypa/setuptools/65.
  _setup_distribution = dist = klass(attrs)
warning: no previously-included files matching '*' found under directory 
'doc/logo.lineform'
warning: no previously-included files found matching 'doc/2000ft.graffle'
warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
genshi/_speedups.c:14:20: error: Python.h: No such file or directory
genshi/_speedups.c:15:26: error: structmember.h: No such file or directory
genshi/_speedups.c:30: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c:31: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c: In function âinit_constantsâ:
genshi/_speedups.c:36: error: âPyObjectâ undeclared (first use in this 
function)
genshi/_speedups.c:36: error: (Each undeclared identifier is reported only 
once
genshi/_speedups.c:36: error: for each function it appears in.)
genshi/_speedups.c:36: error: âutilâ undeclared (first use in this function)
genshi/_speedups.c:36: warning: implicit declaration of function 
âPyImport_ImportModuleâ
genshi/_speedups.c:37: error: âstripentitiesâ undeclared (first use in this 
function)
genshi/_speedups.c:37: warning: implicit declaration of function 
âPyObject_GetAttrStringâ
genshi/_speedups.c:38: error: âstriptagsâ undeclared (first use in this 
function)
genshi/_speedups.c:39: warning: implicit declaration of function âPy_DECREFâ
genshi/_speedups.c:41: error: âamp1â undeclared (first use in this function)
genshi/_speedups.c:41: warning: implicit declaration of function 
âPyUnicode_DecodeASCIIâ
genshi/_speedups.c:41: error: âNULLâ undeclared (first use in this function)
genshi/_speedups.c:42: error: âamp2â undeclared (first use in this function)
genshi/_speedups.c:43: error: âlt1â undeclared (first use in this function)
genshi/_speedups.c:44: error: âlt2â undeclared (first use in this function)
genshi/_speedups.c:45: error: âgt1â undeclared (first use in this function)
genshi/_speedups.c:46: error: âgt2â undeclared (first use in this function)
genshi/_speedups.c:47: error: âqt1â undeclared (first use in this function)
genshi/_speedups.c:48: error: âqt2â undeclared (first use in this function)
genshi/_speedups.c: At top level:
genshi/_speedups.c:53: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before âMarkupTypeâ
genshi/_speedups.c:56: error: expected â)â before string constant
genshi/_speedups.c:59: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c:173: error: expected â)â before string constant
genshi/_speedups.c:193: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c:218: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c:226: error: expected â)â before string constant
genshi/_speedups.c:241: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c:293: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c:322: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c:399: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c:428: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c:462: error: expected â)â before string constant
genshi/_speedups.c:472: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c:491: error: expected â)â before string constant
genshi/_speedups.c:503: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c:529: error: expected â)â before string constant
genshi/_speedups.c:536: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before â*â token
genshi/_speedups.c:556: error: expected specifier-qualifier-list before 
âPyUnicodeObjectâ
genshi/_speedups.c:559: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before âMarkup_methodsâ
genshi/_speedups.c:572: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before âMarkup_as_numberâ
genshi/_speedups.c:582: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before âMarkupTypeâ
genshi/_speedups.c:673: error: expected â=â, â,â, â;â, âasmâ or 
â__attribute__â before âinit_speedupsâ
**********************************************************************
WARNING:
An optional C extension could not be compiled, speedups will not be
available.
**********************************************************************
command 'gcc' failed with exit status 1
zip_safe flag not set; analyzing archive contents...
/usr/local/lib/python2.6/site-packages/setuptools-5.4.1-py2.6.egg/setuptools/command/bdist_egg.py:395:
 
UnicodeWarning: Unicode equal comparison failed to convert both arguments 
to Unicode - interpreting them as being unequal
Adding Genshi 0.7 to easy-install.pth file
Installed 
/usr/local/lib/python2.6/site-packages/Genshi-0.7-py2.6-linux-i686.egg
Processing dependencies for Genshi


Finished processing dependencies for Genshi

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to