Hi Warren, The Lazarus snapshots for OS X include an app bundle (lazarus.app) but the Lazarus executable is still compiled for and dependent on GTK so you can't launch from it the bundle until you've recompiled the IDE for the Carbon widgetset.
See this link for more information, including an uninstall script that gives the location of all FPC and Lazarus files installed by the snapshot installers: http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips The Lazarus folder is read-only. To get to it with Finder, choose Go | Go to Folder and enter /usr, then navigate to /usr/local/share. Damien's script should work to recompile the IDE because it changes the ownership of the Lazarus folder to make it writeable. You can also do what I do which is simply to use Finder to copy the Lazarus folder into my user area and recompile it there. I would hope that within a couple months or so we'll have a stable, functional Carbon-based IDE and we can just forget all the GTK, X11 stuff for OS X and have a normal app bundle that's ready to go out of the box. Thanks. -Phil -----Original Message----- From: Warren Postma [mailto:[EMAIL PROTECTED] Sent: Thursday, November 29, 2007 9:11 PM To: [email protected] Subject: [lazarus] Building Lazarus (first time ever) on Mac OS X 10.5 (Leopard) fails - fink's apt-get sources has no glib or other packages. I couldn't get the pre-built binary of Lazarus to run on Mac OS X 10.5 (Leopard). First the installer put the files somewhere invisible to the finder, so I couldn't start up by clicking any mac App icon. Secondly, even when I found lazarus.app and did "open lazarus.app" from terminal, it crashed saying it can't find some resources. I tried all different kinds of paths and working folders with no luck. So then I tried to install from subversion. I got the svn stuff checked out and it builds up until it dies linking, missing library glib. So then I tried to get fink onto my system, because I realized I need glib. Fink built and installed, and apt-get is there and works but there's no glib package in apt-get. Do I have to edit my sources.list or something, to find whatever fink-repository it is that contains the glib packages? I had to build fink using the bootstrap from source shell script because according to the finkmeisters, the binary fink releases available on the web don't work with leopard. Ain't it fun being on the bleeding edge? Cheers. Warren P.S. The instructions for building that I was using were here: http://wiki.lazarus.freepascal.org/Installing_Lazarus_on_MacOS_X _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
