On Jan 23, 2008, at 9:40 PM, Hess, Philip J wrote:

Hi Albert,

According to http://wiki.lazarus.freepascal.org/Carbon_interface_FAQ
here is the normal way to rebuild the Lazarus IDE on OS X:

make all LCL_PLATFORM=carbon OPT="-k-framework -kcarbon"

You might change your wiki addition to be consistent with this page.

Do you have the correct version of Lazarus and FPC installed? It looks
like you have a MacBook, which would be an Intel-based Mac. But the
error messages you're getting mention "PowerPC".

Indeed. It seems you use the PPC version of Lazarus instead of the MacIntel one (i386)

I use my own shell script just because I am lazy to compile lazarus under OS X, but paths are set for a regular snapshot install.
You can change the path and the user and it will make the job.




#!/bin/sh

path="/usr/local/share/lazarus"
widgetset="$1"

if [ ! "$widgetset" = 'qt' -a ! "$widgetset" = 'gtk2' -a ! "$widgetset" = 'gtk' -a ! "$widgetset" = 'carbon' ]; then
    echo " Specify the widgetset : gtk, gtk2, carbon"
    exit 1
fi

sudo chown -R milipili:wheel "${path}"
sudo chown -R milipili:wheel "/usr/local/share/fpcsrc/"
cd "${path}"

if [ "$widgetset" = 'gtk2' ]; then
make clean all LCL_PLATFORM=gtk2 FPC=fpc OPT="@/Users/milipili/ Projects/lazarus/gimplib.cfg"
    exit 0
fi
if [ "$widgetset" = 'gtk' -o "$widgetset" = 'gtk1' ]; then
    make clean all LCL_PLATFORM=gtk FPC=fpc
    exit 0
fi
if [ "$widgetset" = 'carbon' ]; then
make clean all LCL_PLATFORM=carbon FPC=fpc OPT="-k'-framework' - k'carbon'"
    exit 0
fi
if [ "$widgetset" = 'qt' ]; then
make clean all LCL_PLATFORM=qt FPC=fpc OPT="-k'-framework' - k'Qt4Intf' -k'-lobjc'"
    exit 0
fi




--
Damien Gerard
[EMAIL PROTECTED]

Le temps n'a pas d'importance. Seul le code est important
   -- (f00ty)




_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to