简体   繁体   English

在OSX上编译peazip时出现问题

[英]Problems compiling peazip on OSX

I'm having some problems with compiling Peazip on OSX (10.6). 我在OSX(10.6)上编译Peazip时遇到一些问题。 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. 我给Peazip开发人员发送了电子邮件,他说他可能不能为我提供太多帮助,因为该错误似乎是OSX特定的,并且他再也无法访问OSX机器。

The compiler I'm using is Lazarus as the source is in Pascal. 我使用的编译器是Lazarus,因为源在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 实际的编译过程似乎还可以,但是当我运行peazip.app程序启动器时,出现以下错误: http ://img.photobucket.com/albums/v215/thegooddale/Screen-shot-2010-05- 22 at 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 (ie unzip it twice). 这是编译生成的应用程序启动器: http : //forboden.com/coding/peazip.app.zip-您可以使用解压缩程序查看其中的文件(即,将其解压缩两次)。

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 我还尝试仅运行从终端进行编译后生成的peazip unix文件可执行文件,并且得到了以下信息: 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 以下是编译Peazip时来自Lazarus编译日志的消息: http : //pastebin.com/qK4bdncL

(I asked on the Lazarus forums and they said I can just ignore those "ld: warning: unknown stabs type" warnings). (我在拉撒路论坛上询问,他们说我可以忽略那些“ ld:警告:未知刺类型”警告)。

Here is the info from the project_peach.compiled file: 这是来自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>

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. 我猜这里的人很少有使用Pascal和Lazarus的经验,因为它不是一种流行的语言,而且编译器仍处于beta版,但我想我会在这里发布,希望有人能为我指出正确的方向peazip.app启动器在哪里/如何断开。

IIRC必须在捆绑包内的某个位置进行符号链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM