OS X 10.11上的PDFtk服务器 [英] PDFtk Server on OS X 10.11

查看:88
本文介绍了OS X 10.11上的PDFtk服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在OSX pre 10.11上使用PDFTK服务器已有一年多了,在命令行上运行命令没有任何问题.

I've been using PDFTK Server on OSX pre 10.11 for over a year without any issues running commands on the command line.

在安装OSX 10.11 beta之后,我不能再在命令行上运行任何PDFTK服务器命令.它不会引发任何错误,我尝试执行的所有命令都会无限期地挂起.

After installing OSX 10.11 beta, I can no longer run any PDFTK Server commands on the command line. It does not throw any error, all the commands I try to execute just hang indefinitely.

我是从一如既往从PDFTK服务器网站下载的pkg安装的:

I installed from a pkg I downloaded from the PDFTK Server website as always:

https://www.pdflabs.com/tools/pdftk-server/

我也尝试过使用Homebrew从源代码进行安装.安装有效,但是得到的结果相同,命令只是挂在终端上:

I've also tried installing from source with Homebrew. The installation works, but I get the same results, the commands just hang in the terminal:

自制水龙头

我已通过其反馈助手"应用程序将投诉发送给Apple,该应用程序是在两个月前安装测试版时安装的,没有任何答复.

有人告诉我有关Apple反馈助手的信息:

I've been told regarding the Apple Feedback Assistant:

您可能永远不会收到回复.苹果只回信 反馈助手,用于查找操作系统中的主要错误 需要其他信息.这不是获得支持的方法,甚至 对于第三方应用程序则更少.

You likely won't ever receive a response. Apple only replies through Feedback Assistant for major bugs of the operating system where they need additional information. It is not a way to obtain support, even less so for a third-party application.

我还联系了包装制造商 PDF实验室,没有回应.

MacPorts 上,他们在OS X 10.11上的构建存在问题,是否表示在软件级别上与PDFtk和10.11是否存在兼容性问题?

On MacPorts they're having an issue with the build on OS X 10.11, does this mean that there is a compatibility issue with PDFtk and 10.11 at the software level?

我已经在网络上搜索了有关可能导致此问题的原因以及如何解决该问题的线索,但没有发现任何实质性内容.

I've searched the web for a clue as to what might be causing the issue and how to fix it, but have found nothing tangible.

在OS X上,我不知道如何确定升级后是否存在权限,路径甚至Java问题.

On OS X, I don't know how to go about figuring out if there is now a permission or path or even a Java issue after the upgrade.

感谢帮助解决根本原因或提供修复的任何帮助.

Any help either trouble shooting the root cause or offering a fix is appreciated.

更新1:

我收到了PDF Labs的 Sid Steward的回复:

I heard back from Sid Steward at PDF Labs:

我们几乎一直在为此付出努力,直到Beta发行了. 出去.我们仍在努力.似乎有一个 与pdftk使用的(非Apple)库之一不兼容 和OS X 10.11.目前,我正在安装另一个更新 苹果公司的开发人员工具希望能够解决该问题. 我将向您介绍我们的进展.

We have been wrestling with this almost as long as the beta has been out. We are still working on it. There appears to be an incompatibility with one of the (non-Apple) libraries that pdftk uses and OS X 10.11. Presently I am installing yet another update to Apple's developer tools with the hope that it will solve the problem. I will update you with our progress.


更新2:

PDF实验室的Sid Steward :

似乎有两个线程在pdftk下运行,并且它们 陷入僵局.这意味着每个线程都在等待另一个 完成.我不是这里的专家,但这是我的印象.这里有一个 Mac的活动监视器中的屏幕截图,用于说明:

It looks like there are two threads running under pdftk, and that they are deadlocked. That means that each thread is waiting for the other to finish. I'm not an expert here, but that's my impression. Here is a screenshot from Mac's Activity Monitor to illustrate:

上面的快照来自尝试运行当前运行的pdftk二进制文件 我们在OS X 10.11上的网站.上面提到的libgcj库随附 pdftk,其他都是OS X库.

The above snapshot is from trying to run the pdftk binary currently on our site on OS X 10.11. The libgcj library noted above comes with pdftk, where the others are OS X libraries.

正如我所说,我刚刚安装了昨天发布的Xcode 7.0.1. 在App Store上.我现在将尝试使用这些工具来构建 pdftk.

As I say, I just installed Xcode 7.0.1, which was released yesterday on the App store. I will now attempt to use these tools to build pdftk.


更新3:

在该线程上更新(注意:这与PDFtk Labs无关):

MacPorts is working the build issue with PDFtk, this is an update on that thread (Note: this is unrelated to PDFtk Labs):

这是由于使用Apple在10.11中重新编译了libunwind Clang 7产生了新的有效优化(根据Apple) 标记FSF boehm-gc中一个未知的错误.

This is due to the recompilation of libunwind in 10.11 using Apple Clang 7 producing new valid optimizations (according to Apple) that tickle an unknown bug in FSF boehm-gc.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66848

不要指望Apple提供任何修复程序,因为它们无法触及GPLv3代码 查看FSF boehm-gc问题(除非他们使用了gcc43 包,但仍应为GPLv2).该问题是由以下原因触发的 事实证明,libunwind的重新编译 从10.10代替libunwind.dylib消除了 boehm-gc和gcj失败.

Don't expect any fixes from Apple as they can't touch the GPLv3 code to look at the FSF boehm-gc problem (unless they used the gcc43 package which should still be GPLv2). That this issue is triggered by the recompilation of libunwind is demonstrated by that fact that substituting the libunwind.dylib from 10.10 eliminates both the boehm-gc and gcj failures.

请注意,该文件归档为radr://21372179,"FSF boehm-gc库 建立在10.10上的版本无法通过其在10.11英寸上的测试,但由于被关闭 FSF boehm-gc错误.

Note that is was filed as radr://21372179, "the FSF boehm-gc library built on 10.10 fails to pass its tests on 10.11" but closed as being an FSF boehm-gc bug.


更新4:

MacPorts 找到了一种解决构建问题的方法,这是

MacPorts found a way to solve the build issue, this is an update on that thread

附加的Portfile.diff(与建议的gcc5更新一起使用时) 修复gcj的#49227 解决了pdftk的构建问题.

The attached Portfile.diff (when used with the proposed gcc5 update on #49227 which fixes gcj) solves the build issue with pdftk.


更新5:

PDF实验室的Sid Steward 构建成功,他的反馈是:

Sid Steward at PDF Labs has a successful build, his feedback:

针对MacPorts gcc5的修复程序使我可以构建可运行的pdftk 合并El Capitan上的PDF.该修复程序已添加到您拥有的票证中 发布到:

A fix for MacPorts gcc5 allowed me to build a working pdftk that merges PDFs on El Capitan. The fix was added to the ticket you had posted to:

MacPorts

在打包成pdftk文件之前,我将继续对其进行全面测试. 安装程序.此过程可能需要几天时间.

I will proceed to fully test this pdftk before packing it up into an installer. This process could take a couple days.


推荐答案

感谢您的耐心配合.我已经在OS X 10.11 El Capitan上成功测试了该pdftk安装程序和二进制文件:

Thank you for your patience. I have successfully tested this pdftk installer and binary on OS X 10.11, El Capitan:

https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg

我将尽快更新我们的PDF Labs网站,以反映此更新.

I will update our PDF Labs site soon to reflect this update.

如果您已经从旧的安装程序中安装了pdftk,则应将其安装在其顶部而没有问题-在安装此pdftk之前,不必删除它.

If you already have pdftk installed from the old installer, this should install right on top of it without a problem -- it shouldn't be necessary to remove the old pdftk before installing this one.

请注意,此安装程序/二进制文件尚未在旧版OS X上进行过测试.

Note that this installer/binary has not yet been tested on older versions of OS X.

请让我知道它如何为您工作.

Please let me know how this works for you.

我要感谢Aaron打开此线程,并感谢我们对构建工具遇到的问题给予了有帮助的关注.我还要感谢MacPorts团队的专业及时的工作!

I want to thank Aaron for opening this thread and for bringing helpful attention to the problem we were having with the build tools. I also want to thank the MacPorts team for their professional and timely work!

最好的问候-

Sid Steward,PDF实验室

Sid Steward, PDF Labs

这篇关于OS X 10.11上的PDFtk服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆