在 OSX 上编译 pezip 时出现问题
我在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
IIRC 必须在包内的某个位置创建符号链接。
IIRC somewhere inside the bundle a symlink must be made.