Plone 4.1.4 安装失败:lxml 构建失败:libxml2:

2024-02-21

预期结果:

Successful installtion of Plone 4.1.4 

实际结果:

Installation fails with: libxml2: cmmi failed:

Stack:

Ubuntu  Ubuntu 10.04.4 LT (Lucid)
Apache 2.2.14
Plone-4.1.4-UnifiedInstaller

安装系统库、头文件等

root@li54-28:~#apt-get update
root@li54-28:~#apt-get install g++ python-dev python-setuptools python-lxml python-libxml2 libxml2-dev libxslt1-dev openssl subversion

安装克隆

joeblow@li54-28:~/Plone-4.1.4-UnifiedInstaller$ ./install.sh standalone --target=${HOME} --instance=joeblow.org

Stand-Alone Zope Instance selected

Detailed installation log being written to /home/joeblow/Plone-4.1.4-UnifiedInstaller/install.log

Rootless install method chosen. Will install for use by system user joeblow

Installing Plone 4.1.4 at /home/joeblow

Skipping libjpeg build
Skipping zlib build
Skipping readline build
Installing Python 2.6.7. This takes a while...
Patching for thread size
Installing distribute...
Python build looks OK.
Unpacking buildout cache to /home/joeblow/buildout-cache
Compiling .py files in egg cache
Copying Plone-docs
Generating random password ...
****Your platform's xml2/xslt are missing or out-of-date. We'll need to build them.****
Copying buildout skeleton
Fixing up bin/buildout
Building lxml with static libxml2/libxslt; this takes a while...

lxml build failed. You may wish to clean up and try again
without the lxml build by adding --without-lxml to the
command line.
Buildout returned an error code: 1; Aborting.
Buildout failed. Unable to continue

Installation has failed.
See the detailed installation log at /home/joeblow/Plone-4.1.4-UnifiedInstaller/install.log
to determine the cause.

*请注意安装程序显示: **您平台的 xml2/xslt 丢失或过时然后尝试构建它们。但我已经通过 apt-get install 安装了它们......

故障排除

joeblow@li54-28:~/Plone-4.1.4-UnifiedInstaller$ tail -75 install.log

/

bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls   -o testReader testReader.o ./libxml2.la  -lz  -lm
libtool: link: gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/testReader testReader.o  ./.libs/libxml2.so -ldl -lz -lm -Wl,-rpath -Wl,/home/joeblow/joeblow.org/parts/lxml/libxml2/lib
gcc -DHAVE_CONFIG_H -I. -I./include -I./include  -D_REENTRANT      -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT testapi.o -MD -MP -MF .deps/testapi.Tpo -c -o testapi.o testapi.c
testapi.c: In function âtest_xmlBufferSetAllocationSchemeâ:
testapi.c:18773: warning: comparison of distinct pointer types lacks a cast
testapi.c: At top level:
testapi.c:17989: warning: âgen_xmlSchematronPtrâ defined but not used
testapi.c:17992: warning: âdes_xmlSchematronPtrâ defined but not used
testapi.c:18009: warning: âgen_xmlSchematronParserCtxtPtrâ defined but not used
testapi.c:18012: warning: âdes_xmlSchematronParserCtxtPtrâ defined but not used
testapi.c:34157: warning: âgen_xmlSAXHandlerPtr_ptrâ defined but not used
testapi.c:34160: warning: âdes_xmlSAXHandlerPtr_ptrâ defined but not used
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[2]: *** [testapi.o] Error 1
make[2]: Leaving directory `/tmp/tmp8quJWJbuildout-libxml2/libxml2-2.7.8'
**make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/tmp8quJWJbuildout-libxml2/libxml2-2.7.8'
make: *** [all] Error 2
**libxml2: cmmi failed:** /tmp/tmp8quJWJbuildout-libxml2**
While:
  Installing lxml.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/joeblow/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 1683, in main
    getattr(buildout, command)(args)
  File "/home/joeblow/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 555, in install
    installed_files = self[part]._call(recipe.install)
  File "/home/joeblow/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 1227, in _call
    return f()
  File "/home/joeblow/buildout-cache/eggs/z3c.recipe.staticlxml-0.7.2-py2.6.egg/z3c/recipe/staticlxml/__init__.py", line 169, in install
    self.build_libxml2()
  File "/home/joeblow/buildout-cache/eggs/z3c.recipe.staticlxml-0.7.2-py2.6.egg/z3c/recipe/staticlxml/__init__.py", line 129, in build_libxml2
    loc = self.xml2_cmmi.install()
  File "/home/joeblow/buildout-cache/eggs/zc.recipe.cmmi-1.3.4-py2.6.egg/zc/recipe/cmmi/__init__.py", line 99, in install
    self.build()
  File "/home/joeblow/buildout-cache/eggs/zc.recipe.cmmi-1.3.4-py2.6.egg/zc/recipe/cmmi/__init__.py", line 182, in build
    self.cmmi(dest)
  File "/home/joeblow/buildout-cache/eggs/zc.recipe.cmmi-1.3.4-py2.6.egg/zc/recipe/cmmi/__init__.py", line 208, in cmmi
    system("make")
  File "/home/joeblow/buildout-cache/eggs/zc.recipe.cmmi-1.3.4-py2.6.egg/zc/recipe/cmmi/__init__.py", line 31, in system
    raise SystemError("Failed", c)
SystemError: ('Failed', 'make')

******


通过在 dev.plone.org 提交票证可能可以更好地处理此类问题。

您的系统有 libxml2,但 libxslt 可能不够;除了最新版本之外的所有版本都是如此。

不幸的是,install.log 报告不是很有帮助。相关行是:

gcc: Internal error: Killed (program cc1)

但这并没有说明它被杀的原因。然而,这确实告诉我们 gcc 是被外部进程杀死的,而不是被编译错误之类的东西杀死的。您的系统日志可能会告诉您更多信息(例如,由于 YYY 原因杀死了进程 XXX)。

您的用户限制是否可能设置得如此保守以至于不允许内存/CPU 密集型构建?如果是这样,请咨询您的系统管理员。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Plone 4.1.4 安装失败:lxml 构建失败:libxml2: 的相关文章

  • 控制对未来内容的访问

    这主要是关于未来的公共内容 但不仅如此 在标准 Plone 站点中 如果您创建的顶级内容未显示在导航上 仍然是私有的 那么您将其公开 通过工作流程 并显示在导航上 但稍后您会在将来计时它再次从导航中消失 不过 此时 如果匿名 登录用户知道
  • 无法在 Centos 上使用 Diazo (plone.app.theming)

    我使用 plone4 1 和 Diazo 在我的 mac 上制作了一个门户网站 现在 我正在尝试将其部署在我的服务器 CentOs 上 其中还有另一个带有 plone4 0 5 Collectivexdv 的站点 当我使用我的重氮主题运行该
  • 构建可以创建内容作为 Plone 安装的一部分吗?

    我正在尝试为站点实现 Plone 的可重复部署 并使用构建 基本上遵循 Martin Aspeli 的书专业Plone 4开发 我可以使用我的源产品设置系统
  • 如何确定 Python 类的每个属性和方法的定义位置?

    给定 Python 中某个类的实例 能够确定源代码的哪一行将很有用defined每个方法和属性 例如实现1 例如 给定一个模块 ab py class A object z 1 q 2 def y self pass def x self
  • Plon 4.3 默认编辑器未显示

    我有一个 Plone 4 3 站点 它是从 Plone 2 5 站点迁移而来的 它一直工作得很好 但由于某种原因 编辑任何页面或内容项时显示的默认编辑器是直接的 HTML 视图 我已经在 Firefox Chrome 和 Safari 中对
  • 安装plone时不支持的哈希类型

    我尝试安装plone但是当我运行脚本 install sh 时遇到问题 以下是错误详细信息 raise ValueError unsupported hash type s name ValueError unsupported hash
  • tinyMCE 编辑栏未显示

    我正在运行 Plone 4 1 4 当我尝试编辑用于显示tinyMCE 编辑器的文本区域时 我得到的只是一个列出 有效元素 字典的对话框 我安装了 kupu 编辑器并且工作正常 但我更喜欢tinyMCE 有人遇到过这个问题吗 任何帮助将不胜
  • Plon:如何对文件夹项目进行排序

    我有一个名为myfolder 里面有一些项目 例如 item1 item2 item3 等等 当我添加 portlet 时Navigation到页面左栏 并输入到文件夹中myfolder 它向我展示了 portlet 上的链接 如下所示 i
  • Apache 重写或代理

    我的机器上运行着一个 Apache 服务器 端口 80 我的机器上运行着 Zope 服务器 端口 8080 我希望所有用户 无论域如何 现在使用 www example com 都无缝地推送到 zope 实例 IE 如果我在浏览器中输入ht
  • 使用Plone的认证机制登录其他站点

    我正在使用 Plone 和 Sugar CRM 我希望允许用户在两 个系统上仅拥有一个用户名和密码 当他们在 Plone 中更改密码时 他们不必在 Sugar CRM 中更改密码 有没有一种简单的方法可以做到这一点 如果您想要单点登录 您还
  • 如何在Plone 5上自定义folder_contents?

    我在 Plone 5 上 我想修改默认显示的列数 folder contents 如果我没记错的话 整个table是一种在相应标签上使用相当大的 JSON data xxx 参数进行初始化的模式 那么 我应该深入研究 JSON 还是将注意力
  • 标题和描述未使用 Collective.dexteritytextindexer 建立索引

    我有很多 Dexterity 内容类型 其中一些只是容器 只留下标题和描述 来自 plone app dexterity behaviors metadata IBasic 行为 我可以通过搜索标题或描述中的文本来找到它们 但对于我正在使用
  • 如何在 Plone 中定义默认视图

    我已经有一个用于 Plone 站点 主页 的默认视图的页面模板 如何定义文件夹的默认视图 此默认视图应使用页面模板 尝试这个 导航到所需的文件夹 在网址末尾添加 manage propertiesForm in the resulting
  • 阻止用户将BMP、TIFF等图像上传到Plone中的ImageField

    用户这样做是因为他们可以 但是 图像自动调整大小等功能会出现故障 这让我成为一个悲伤的男孩 如何限制全站图像上传为 GIF PNG 和 JPEG 对于原型 为了灵巧 使用原型 您可以覆盖图像内容类或使用以下架构创建您自己的自定义图像内容类
  • 将 Archetype 新闻项目迁移到 Dexterity 内容类型

    我正在尝试将新闻项目中的内容复制到我编写的其他内容类型 在我的脚本中我有news项目和project物品 第二 project 是使用 Dexterity 定义的内容类型 如果我可以复制图像和正文 那就太好了news to project在
  • 新主题产品给出“ValueError:主题 my.theme 不可用”

    我使用这些说明通过 zopeskel 创建了一个新主题http docs plone org adapt and extend theming theme product with diazo html http docs plone or
  • 如何仅为自定义类型覆盖模板“folder_full_view_item.pt”?

    这个问题的演变方式令人困惑 不过 它的某些部分 特别是一些答案 可能对某人有用 因此 我将不修改这个问题 并尝试重新表述这个问题here https stackoverflow com q 23809810 1659599 覆盖模板fold
  • 克隆代码更改在开发站点中不可见

    我对克隆很陌生 我在 eclipse 中有一个项目文件夹 我是从cvs项目导入的 我有 zope 作为服务器 我启动 zope bin instance restart 当我在文件夹中进行更改时 我无法在开发网站中看到更改 我似乎无法发现发
  • IE7 和 TinyMCE 与 Plone

    在 Windows 服务器上开箱即用的 Plone 4 1 4 4113 中 IE7 上会出现一些客户端问题 我知道 访问主站点 没问题 登录 IE 引发运行时错误 第 505 行 扩展标识符 字符串或数字 添加内容 IE 引发运行时错误
  • 在 Plone 上使用 Dexterity 按文件类型或 mimetype 限制上传

    我有一个灵活构建的自定义内容类型 在架构中 架构如下所列 我使用 plone namedfile field NamedFile 用于附件 上传 我想限制上传 以便只有 mp3 文件可以附加到我的内容类型 实现这一目标的最佳方法是什么 这是

随机推荐

  • JBOSS WEB-INF/lib 内容排序

    我有一个ear 文件 其中包含一个war 文件 war 的 WEB INF lib 目录中包含许多 jar 文件 其中一些 jar 包含相同类的冲突 或至少不同 版本 有没有办法可以影响 JBOSS 将这些 jar 文件添加到类路径的顺序
  • firebase-admin 是否会覆盖 firestore 安全规则?

    如果读 写访问的安全规则设置为需要身份验证 firebase admin 是否能够在没有身份验证的情况下读 写 Firebase Admin SDK 使用服务帐户访问您的数据库 服务帐号会忽略 Cloud Firestore 安全规则 类似
  • Git:添加、推送、提交

    git 和 git 有什么区别add push and commit 只是来自 SVN 的有点困惑 其中 更新 将 添加 内容 而提交则执行 推送 并且也会 添加 git 中有各种不同的功能 希望根据您的经验给出一些解释 git add将修
  • 使用 AutoMapper 动态映射包括数组在内的对象

    我正在尝试构建一种从一种类型映射到另一种类型的方法 因为我知道它们将 应该 具有相同的结构 相关问题 https stackoverflow com questions 2622003 call webservice without add
  • 调用 window.print() 时会触发什么事件?

    我正在努力解决这个问题 但今晚收效甚微 我想如果我只知道当window print 函数被调用 var browser name navigator appName if browser name Microsoft Internet Ex
  • Symfony 表单值缺失

    我正在编写一个简单的登录表单 一切正常 验证等 但我无法获取值 这是我的代码 public function executeIndex sfWebRequest request this gt getUser gt clearCredent
  • 计算时间序列中的运行和/衰减值

    我正在寻找计算时间序列内特定类型的 递减 总和或衰减值 例如 假设我有一些简单的数据 thedata lt data frame magicseeds c 30 20 10 40 20 week seq from 1 to 5 by 1 我
  • Android Kotlin:从目录中获取图像

    我正在使用 Kotlin 前端 Python 后端构建一个应用程序 我的 python 脚本在 getFilesDir 目录 data user 0 com example myproject files mygraph png 下创建一个
  • 如何在 Talend 中动态猜测 Mysqlinput 中的架构

    我已经构建了一个将数据从 mysql db 表复制到 b mysql 表的作业 表列是相同的 只是有时可以在表数据库中添加新列 我想检索从 a 到 b 的所有列 但只检索表 b 中存在的那些列 我能够放入表 b 中存在的查询特定选择列语句
  • 如果我将 extern "C++" 与 C 工具链一起使用会发生什么?

    我的问题主要是关于 C 工具链 理解 C 和 C 的事实 所以如果我用extern C 对于 C 工具链 我认为它可以理解如何处理它 但是如果我用以下代码提供代码怎么办extern C 到 C 工具链 预期的行为是什么 如果编译器也理解 C
  • 使用 Daper.Net 和 NPGSQL 将数据插入 PostgreSQL jsonb 列

    我正在尝试使用 Dapper Net 将 JSON 数据插入到 JSONB PostgreSQL 列中 The JSONB 的 NPGSQL 文档 http www npgsql org doc faq html给出了具体的使用说明Npgs
  • 尝试将隐藏的输入值发送到下一页

    我正在尝试根据客户的需求调整 Wordpress Jigoshop 但遇到了一些困难 我需要的是 当选择产品变体时 一些附加选项以单选按钮的形式出现 客户必须选择 我已经设法让一切正常工作 但我现在需要的是在单击提交按钮时将选定的单选按钮发
  • 是否可以对最小化的应用程序进行屏幕截图

    我知道可以捕获另一个应用程序后面的应用程序的屏幕 但我似乎找不到任何有关捕获最小化应用程序屏幕的信息 有人知道这是否可能吗 我不想很快就涉及最大化和最小化应用程序之类的事情 正如 ziplin 所说 对于较新版本的 Windows 这可能是
  • iPhone/iOS 中 viewDidAppear 和 viewDidLoad 之间的区别? [复制]

    这个问题在这里已经有答案了 最重要的是 我一直在开发一个应用程序 似乎如果我放置一个UIAlert in viewDidLoad 它被调用两次 从委托方法UIImagePickerController 如果我把它放进去viewDidAppe
  • python 中的导入是否被视为动态链接?

    用 posix 和通用技术软件开发的话说 是否有import一个纯粹的python 不是cython或c编译的库 模块构成动态链接 不 加载纯 Python 模块不被视为动态链接的一种形式 传统的动态链接将机器代码加载到新的内存块中 并且可
  • 如何将更改的文件添加到 Git 中较旧的(不是最后一次)提交

    在过去的一个小时里 我改变了几件事 并一步步提交它们 但我刚刚意识到我忘记在一些提交之前添加更改的文件 日志看起来像这样 GIT TidyUpRequests u 1 d 0 gt git log commit fc6734b6351f6c
  • 抽象类型集合的获取策略

    所以情况是这样的 假设我有一个用于表示灵活搜索的类结构 public class SearchDefinition public virtual string Name get set public virtual IEnumerable
  • 活动目录属性

    在 stackoverflow 上两个人的帮助下 我已经弄清楚如何使用下面的代码设置 用户无法更改密码 我现在正在想办法如何删除该财产 我认为将拒绝标志设置为 允许 会起作用 但它似乎没有任何作用 如果可能的话 我希望代码使用 Direct
  • iOS:使用 playInputClick 与使用音频工具箱的 (1104) 声音文件之间是否存在性能差异?

    苹果建议使用playInputClick在自定义键盘中模拟点击声 更容易实施AudioServicesPlaySystemSound 1104 所以我的问题就变成了playInputClick提供更好的性能还是同一件事 苹果推荐这样做的原因
  • Plone 4.1.4 安装失败:lxml 构建失败:libxml2:

    预期结果 Successful installtion of Plone 4 1 4 实际结果 Installation fails with libxml2 cmmi failed Stack Ubuntu Ubuntu 10 04 4