Forum > macOS / Mac OS X
Lazarus on OSX
Sebyno:
Hi to all,
only a litle and may be stupid question....
I downloaded
fpc-2.0.2-macosx.dmg (installed)
fpcsrc-2.0.2-macosx.dmg (installed)
lazarus-0.9.12-macosx.dmg (installed)
and now?
I can't see any icon under programs and also under tools or dev.
Thank's in advance for help
Sebyno:
Following this step I solved
--- Quote ---
Gianni,
Lazarus appears to be getting more stable with each passing day. If you can identify the precise conditions that cause the IDE to crash or display an access violation, please log it as a bug.
As a benefit other potential Mac users of Lazarus, here's a quick and dirty review of the basic steps to getting the current Lazarus snapshot installed and running under OS X:
(1) For now, ignore out-of-date installation instructions elsewhere.
(2) Make sure X11 is installed. X11 is optionally installed with OS X and comes on OS X CD's or can be downloaded from Apple.
(3) Download and install the correct version of fink for your version of OS X and let it download and install the additional 29 GTK and related packages needed. Note that instructions elsewhere contained a typo for the fink command. Here's the command that I used (all on one line):
sudo fink install gdk-pixbuf gtk+ gtk+-data gtk+-shlibs gtk-doc-1.2-13 gtkglarea gtk-engines
URL: http://fink.sourceforge.net/download
(4) Download and install all 3 .dmg files from the Lazarus snapshot page. I doubt if the order of installation matters, but this is the order I installed them:
- fpc .dmg
- fpcsrc .dmg
- lazarus .dmg
URL: http://www.ca.freepascal.org/Lazarus/
(5) Open X terminal window.
(6) In the X terminal, type:
sh
PATH=$PATH:/usr/local/bin
tcsh
cd /usr/local/share/lazarus
./lazarus
Typing "open lazarus" also works instead of "./lazarus".
(7) I usually "uninstall" everything manually before installing a new snapshot. I don't know that this is really necessary, but it makes me feel better:
- Delete /usr/local/share/lazarus folder
- Delete /usr/local/share/fpcsrc folder
- Delete /usr/local/share/doc/FPC folder
- Delete /usr/local/share/examples/FPC folder
- Delete /usr/local/lib/fpc folder
- Delete FPC programs from usr/local/bin folder. Note that there might be files from other programs in this folder, so be careful about what you delete.
- Empty trash.
Please point out any errors or steps that I might have overlooked.
Thanks.
-Phil
--- End quote ---
Thanks to Phil H.
mattias:
The gtkglarea and gtk-engines are not needed and can make problems.
Please update the wiki with whatever you think is missing:
http://wiki.lazarus.freepascal.org/index.php/Installing_Lazarus_on_MacOS_X
guestghost:
trying to start lazarus with ./startlazarus or ./lazarus gives me
aclocal doc fpcsrc locale
bakefile examples lazarus
dialup-ras26-221:/usr/local/share beavis$ cd lazarus
dialup-ras26-221:/usr/local/share/lazarus beavis$ ls
COPYING designer lazarus
COPYING.GPL doceditor lcl
COPYING.LGPL docs localize.bat
COPYING.modifiedLGPL examples localize.sh
Makefile ide packager
Makefile.fpc ideintf startlazarus
README images tools
components install units
debugger languages
dialup-ras26-221:/usr/local/share/lazarus beavis$ ./lazarus
GLib-ERROR **: could not allocate -1 bytes
aborting...
Abort trap
dialup-ras26-221:/usr/local/share/lazarus beavis$ ./startlazarus
GLib-ERROR **: could not allocate -1 bytes
aborting...
Abort trap
dialup-ras26-221:/usr/local/share/lazarus beavis$
OK whats up????
I've installed all of the gtk and crap (sorry this is why i left Linux and switched to MacOsX.)!
Anonymous:
--- Quote from: "guestghost" ---trying to start lazarus with ./startlazarus or ./lazarus gives me
aclocal doc fpcsrc locale
bakefile examples lazarus
dialup-ras26-221:/usr/local/share beavis$ cd lazarus
dialup-ras26-221:/usr/local/share/lazarus beavis$ ls
COPYING designer lazarus
COPYING.GPL doceditor lcl
COPYING.LGPL docs localize.bat
COPYING.modifiedLGPL examples localize.sh
Makefile ide packager
Makefile.fpc ideintf startlazarus
README images tools
components install units
debugger languages
dialup-ras26-221:/usr/local/share/lazarus beavis$ ./lazarus
GLib-ERROR **: could not allocate -1 bytes
aborting...
Abort trap
dialup-ras26-221:/usr/local/share/lazarus beavis$ ./startlazarus
GLib-ERROR **: could not allocate -1 bytes
aborting...
Abort trap
dialup-ras26-221:/usr/local/share/lazarus beavis$
OK whats up????
I've installed all of the gtk and crap (sorry this is why i left Linux and switched to MacOsX.)!
--- End quote ---
I llike Pascal after dealing with Java (gee, I wonder) and I would like to get this working. But all this work to get this (Lazarus) working makes Java look a lot better!! C'mon, this should be a no brainer at a .9 level!!
(Sorry for the "negative" post, you guys kick ass to get Pascal to a "Working" Level!!)
Navigation
[0] Message Index
[#] Next page