-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
159 lines (146 loc) · 9.03 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!DOCTYPE html>
<html lang="en">
<head>
<title>Plone: Buildout Won’t Install Products.OpenXml</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="http://davidjb.com/theme/css/main.css" type="text/css" />
<link href="http://davidjb.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="DavidJB.com Atom Feed" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="http://davidjb.com/css/ie.css"/>
<script src="http://davidjb.com/js/IE8.js" type="text/javascript"></script><![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="http://davidjb.com/css/ie6.css"/><![endif]-->
</head>
<body id="index" class="home">
<header id="banner" class="body">
<h1><a href="http://davidjb.com/">DavidJB.com <strong>Ramblings about Plone, Pyramid, Python, the web, Linux, roses and more, by David Beitey.</strong></a></h1>
<nav><ul>
<li><a href="http://davidjb.com/about.html">About me</a></li>
<li><a href="http://davidjb.com/blog/index.html">Blog</a></li>
<li><a href="http://davidjb.com/projects.html">Projects</a></li>
</ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
<header>
<h1 class="entry-title">
<a href="http://davidjb.com/blog/2008/12/plone-buildout-wont-install-products-openxml/" rel="bookmark"
title="Permalink to Plone: Buildout Won’t Install Products.OpenXml">Plone: Buildout Won’t Install Products.OpenXml</a></h1>
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="davidjb_">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2008-12-22T14:59:00">
Mon 22 December 2008
</abbr>
<address class="vcard author">
By <a class="url fn" href="http://davidjb.com/author/davidjb.html">davidjb</a>
</address>
<p>In <a href="http://davidjb.com/category/plone.html">Plone</a>. </p>
<p>tags: <a href="http://davidjb.com/tag/buildout.html">buildout</a><a href="http://davidjb.com/tag/libxml.html">libxml</a><a href="http://davidjb.com/tag/openxml.html">openxml</a><a href="http://davidjb.com/tag/plone.html">plone</a><a href="http://davidjb.com/tag/problem.html">problem</a><a href="http://davidjb.com/tag/products.html">products</a><a href="http://davidjb.com/tag/xml.html">xml</a></p>
</footer><!-- /.post-info --> <p><strong><span class="caps">UPDATE</span>:</strong> Installation of Products.OpenXml appears to work happily
with buildout when I’m using z3c.recipe.staticlxml to build lxml
separately from having to easy_install or install system-wide packages.</p>
<p>So it’s almost Christmas time and I’m still slaving away working. It’s
all about commitment.</p>
<p>Today in my life I’ve been trying to install the OpenXml product for
Plone (using buildout, of course):</p>
<pre class="literal-block">
david@computer:~/buildout/instance$ ./bin/buildout
Uninstalling zopepy.
Uninstalling instance.
Updating plone.
Updating zope2.
Updating productdistros.
Installing instance.
Getting distribution for 'Products.OpenXml'.
Got Products.OpenXml 1.0.1.
Getting distribution for 'openxmllib'.
Got openxmllib 1.0.3.
Getting distribution for 'lxml>=1.3.0,&amp;lt;2.0.0dev'.
Building lxml version 1.3.6
ERROR: /bin/sh: xslt-config: not found
** make sure the development packages of libxml2 and libxslt are installed
**ERROR: /bin/sh: xslt-config: not found
** make sure the development packages of libxml2 and libxslt are installed
**ERROR: /bin/sh: xslt-config: not found
</pre>
<p>And then 50,000 errors follow, making this message hard to find. Either
way, the end result was that lxml wasn’t able to install.</p>
<p><strong>Solution:</strong> install libxslt and its dev counterpart plus the relevant
Python bindings on your system. In Ubuntu 8.10, that’s libxslt1.1,
libxslt1-dev, and python-libxslt1.</p>
<p>All good now.</p>
<p><strong>Update:</strong> Turns out Centos 5 (Red Hat) is has different package names.
Try <tt class="docutils literal">yum install libxslt <span class="pre">libxslt-devel</span> <span class="pre">libxslt-python</span></tt> as root for Centos.</p>
<p><strong>Future response:</strong> Just use <a class="reference external" href="https://pypi.python.org/pypi/z3c.recipe.staticlxml">z3c.recipe.staticlxml</a> and be done with it all.
No need for system level packages and it all just works.</p>
</div><!-- /.entry-content -->
<div class="comments">
<h2>Comments !</h2>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_identifier = "blog/2008/12/plone-buildout-wont-install-products-openxml/";
var disqus_url = "http://davidjb.com/blog/2008/12/plone-buildout-wont-install-products-openxml/";
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://davidjb.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
</div>
</article>
</section>
<section id="extras" class="body">
<div class="blogroll">
<h2>blogroll</h2>
<ul>
<li><a href="http://planet.plone.org">Planet Plone</a></li>
<li><a href="http://jcu.me">jcu.me Research Porfolio</a></li>
<li><a href="http://xckd.com">XKCD</a></li>
<li><a href="http://appleinsider.com/">Apple Insider</a></li>
<li><a href="http://git.io/djb">Latest coding activity</a></li>
<li><a href="http://www.ozbargain.com.au">OzBargain</a></li>
</ul>
</div><!-- /.blogroll -->
<div class="social">
<h2>social</h2>
<ul>
<li><a href="http://davidjb.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
<li><a href="http://git.io/djb">GitHub</a></li>
<li><a href="http://twitter.com/davidjb_">Twitter</a></li>
<li><a href="http://linkedin.com/in/davidbeitey">LinkedIn</a></li>
<li><a href="http://facebook.com/david.beitey">Facebook</a></li>
<li><a href="https://plus.google.com/u/0/106527454335411502430">Google+</a></li>
</ul>
</div><!-- /.social -->
</section><!-- /#extras -->
<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
</address><!-- /#about -->
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
</footer><!-- /#contentinfo -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24253455-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript">
var disqus_shortname = 'davidjb';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
</body>
</html>