Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Development and Darwin (http://www.mac-forums.com/forums/os-x-development-darwin/)
-   -   Help Installing Lazarus (http://www.mac-forums.com/forums/os-x-development-darwin/84790-help-installing-lazarus.html)

musicvortex 11-15-2007 03:06 AM

Help Installing Lazarus
 
Hi,

I just switched from Windows a few weeks ago, love my Mac Pro!! I'm learning Pascal at my school, and they are using Borland's Turbo Pascal on Windows. Obvioiusly, it's not available on mac.

So I did some research and came up with something called Lazarus which uses FreePascal.

So I downloaded the 3 DMG files. Got out my OS 10.5 disk, installed X11. Also installed something called fink. Then got the fink GUI called "fink commander". I also installed GTK+ , as well as cairo, Glib, Pango, and ATK.

So I think I did everything I had to. Took me awhile to figure out why it wasn't in my apps folder. Then i went looking around for /usr directory, couldn't figure out why it wasn't showing up in finder. Manually navigated to it.

Under /usr/local/share/lazarus when I double click Lazarus.app it doesn't open! Also I tried entering the following in Terminal, but that didn't work either.

Code:

cd /usr/local/share/lazarus
 ./lazarus

---

Or else, I like a program I just installed called Smultron. Is there any way I could use that to edit the code, and then just run it using Pascal somehow?

I don't really need tons of features, I'm a new programmer. Pascal is only my second language (Turing was my first).

Any help is much appreciated, thanks!

larapinto 01-24-2008 02:03 AM

I noticed that you said in your post that you tried entering the command lines to start lazarus in 'Terminal'. If by that you mean the standard MAC OSX Terminal then you might get an error message about GTK interface not being available. Try opening the X11 interface first, mine can be opened from the Applications folder. You then get access to the X11 command interface called xterm - it should pop open just below the X11 Menu line - else its one of the few standard X11 Applications. If I enter the command lines into that lazarus starts in all of its 'sparse beauty'

Good luck - the first steps are always stumbling - was the same for me :)


All times are GMT -4. The time now is 03:53 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.