在 OSX 上编译 pezip 时出现问题

发布于 2024-09-03 08:54:46 字数 2237 浏览 4 评论 0原文

我在 OSX (10.6) 上编译 Peazip 时遇到一些问题。我给 Peazip 开发人员发了电子邮件,他说他可能帮不了我太多,因为该错误似乎是 OSX 特定的,而且他无法再访问 OSX 机器。

我使用的编译器是Lazarus,因为源代码是Pascal。

实际的编译过程似乎顺利,但是当我运行peazip.app程序启动器时,出现以下错误: http://img.photobucket.com/albums/v215/thegooddale/Screen-shot-2010-05-22-at- 71907-PM.png

这是编译生成的应用程序启动器: http:// /forboden.com/coding/peazip.app.zip - 您可以使用解压缩程序查看里面的文件(即解压缩两次)。

我还尝试运行从终端编译后生成的 pezip unix 文件可执行文件,我得到了: http://img.photobucket.com/albums/v215/thegooddale/Screen-shot-2010-05-22-at-72148- PM.png

以下是编译 Peazip 时来自 Lazarus 的编译日志的消息: http://pastebin.com /qK4bdncL

(我在 Lazarus 论坛上询问,他们说我可以忽略那些“ld:警告:未知的刺伤类型”警告)。

以下是来自 project_peach.compiled 文件的信息:

<?xml version="1.0"?>
<CONFIG>
  <Compiler Value="/usr/local/bin/ppc386" Date="1238949773"/>
  <Params Value=" -MObjFPC -Sgi -O1 -gl  -k-framework -kCarbon -k-framework -kOpenGL -k'-dylib_file' -k'/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib' -WG -vewnhi -l -Fu/Users/yansky/Desktop/peazip-3.1.src/res/themes/crystalc/ -Fu/Developer/lazarus/components/synedit/units/i386-darwin/ -Fu/Developer/lazarus/ideintf/units/i386-darwin/ -Fu/Developer/lazarus/lcl/units/i386-darwin/ -Fu/Developer/lazarus/lcl/units/i386-darwin/carbon/ -Fu/Developer/lazarus/packager/units/i386-darwin/ -Fu/Users/yansky/Desktop/peazip-3.1.src/ -Fu. -opeazip -dLCL -dLCLcarbon project_peach.lpr"/>
</CONFIG>

我想这里的任何人都不太可能有 Pascal 和 Lazarus 的经验,因为它不是那么流行的语言,而且编译器仍处于测试阶段,但我想我会在这里发布希望有人可能会向我指出有关 pezip.app 启动器在何处/如何损坏的正确总体方向。

I'm having some problems with compiling Peazip on OSX (10.6). I emailed the Peazip developer and he said he probably couldn't help me too much as the error seems to be OSX specific and he doesn't have access to an OSX machine any more.

The compiler I'm using is Lazarus as the source is in Pascal.

The actual compile process seems to go ok, but when I run the peazip.app program launcher, I get the following error: http://img.photobucket.com/albums/v215/thegooddale/Screen-shot-2010-05-22-at-71907-PM.png

Here is the app launcher that the compile made: http://forboden.com/coding/peazip.app.zip - you can use an unzip program to look at the files inside (i.e. unzip it twice).

I also tried just running the peazip unix file executable that was produced after the compile from the terminal and I got this: http://img.photobucket.com/albums/v215/thegooddale/Screen-shot-2010-05-22-at-72148-PM.png

Here are the messages from the compile log from Lazarus while compiling Peazip: http://pastebin.com/qK4bdncL

(I asked on the Lazarus forums and they said I can just ignore those "ld: warning: unknown stabs type" warnings).

Here is the info from the project_peach.compiled file:

<?xml version="1.0"?>
<CONFIG>
  <Compiler Value="/usr/local/bin/ppc386" Date="1238949773"/>
  <Params Value=" -MObjFPC -Sgi -O1 -gl  -k-framework -kCarbon -k-framework -kOpenGL -k'-dylib_file' -k'/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib' -WG -vewnhi -l -Fu/Users/yansky/Desktop/peazip-3.1.src/res/themes/crystalc/ -Fu/Developer/lazarus/components/synedit/units/i386-darwin/ -Fu/Developer/lazarus/ideintf/units/i386-darwin/ -Fu/Developer/lazarus/lcl/units/i386-darwin/ -Fu/Developer/lazarus/lcl/units/i386-darwin/carbon/ -Fu/Developer/lazarus/packager/units/i386-darwin/ -Fu/Users/yansky/Desktop/peazip-3.1.src/ -Fu. -opeazip -dLCL -dLCLcarbon project_peach.lpr"/>
</CONFIG>

I guess there's little chance that anyone here has experience with Pascal and Lazarus since it's not that popular a language and the compiler is still in beta, but I thought I would post here in the hopes that someone might point me in the right general direction about where/how the peazip.app launcher is breaking.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

泪冰清 2024-09-10 08:54:46

IIRC 必须在包内的某个位置创建符号链接。

IIRC somewhere inside the bundle a symlink must be made.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文