Results 1 to 10 of 13

Thread: Proper install and configuration of Lazarus on Mac OS X

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    The command lines can similar functionality, but there is no package manager on Mac OS X pre-installed, so any apt-get tricks wouldn't work. (And this has nothing to do with XCode. )
    There are Fink and DarwinPorts if you want or need to install a package manager system on Mac OS X. But this isn't really recommended since any application created with Fink-/Darwinport-Lazarus links against absolute filenames of the used libraries and requires Fink or DarwinPort installed on the user's system.
    Freeze Development | Elysion Game Framework | Twitter: @Stoney_FD
    Check out my new book: Irrlicht 1.7.1 Realtime 3D Engine Beginner's Guide (It's C++ flavored though)

    Programmer: A device for converting coffein into software.

  2. #2
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    I'm not a huge fan of package managers to be honest. They are messy and too Linux-like. Yeah I know Mac OS X is a Linux-a-like, but it's only built on top of a Linux-a-like core made to be simple, yet powerful and easy to use. Linux is not. Save partially for Ubuntu, nice distro...

    That aside; The folks at Blaise Pascal Magazine are developing a Lazarus on a stick for Mac OS X and Linux, which I'm eagerly interested in. That could be a later solution, however that doesn't excuse the Laz Team from making their distribution for Mac better.

    That said, I have an OLD copy of the Lazarus configuration file(s) and I need to nuke it all completely in order to get Laz working properly on my Mac. Does anyone know how to A) get rid of Lazarus, FPC and it's source completely (ALL FILES) or B) nuke the configuration files of Lazarus and/or replace them with the newer ones for the latest LAz and the FPC version it supports?

    If it's as simple as, what version of FPC are you using, then go to these fields in the Laz menus and put in these file paths, awesome, give me a list, but I'm finding that the old documentation is garbage and doesn't apply to any of what the current versions are like now at all. So I need someone who knows what they are doing to walk me through this as existing docs are worthless.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  3. #3
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    Lazarus on a stick
    Now I do like that idea... Might be quite useful considering I Use windows (all colours of it from DOS based 98SE to win7) and a few flavours of linux (netbooks that dont ship propper oses grrrr) and I have even used a mac before (waaat??). I must say, that moving all my code onto one fpc + laz (once i get to learn how to use it) would be quite nice...

    But coming from a windows only environment; A package manager is HEAVEN on earth. And peronsally, I find the whole .deb and software sources approach quite nice Especially since I can get 80% of all the stuff I need by just sudo apt-get installing everything. Its sooo nice. Maybe I'll get a mac one day. Come on hardware - just one small temporary screwup to justify the me getting a mac. pleaaaase? Darn, it's all working 100% for the first time ever.
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  4. #4
    I don't know what a problem do you have, and how you get it, but I just have downloaded the latest snapshot of Lazarus 0.9.29(lazarus-0.9.29.28159-20101109-i386-macosx.dmg) and installed it from dmg. All works fine after that, without any problems. About uninstall under Linux - there is no problem with it, and never been. But under MacOS X I didn't find something like package manager under Linux or Install/Uninstall under Windows. Here your path's:
    - compiler path - /usr/local/bin/ppc386
    - fpc source - /usr/local/share/fpcsrc/

    You can find FPC in /usr/local/lib/fpc. But you can't go there using Finder...
    Last edited by Andru; 09-11-2010 at 06:07 PM.

  5. #5
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Quote Originally Posted by Andru View Post
    I don't know what a problem do you have, and how you get it, but I just have downloaded the latest snapshot of Lazarus 0.9.29(lazarus-0.9.29.28159-20101109-i386-macosx.dmg) and installed it from dmg. All works fine after that, without any problems. About uninstall under Linux - there is no problem with it, and never been. But under MacOS X I didn't find something like package manager under Linux or Install/Uninstall under Windows. Here your path's:
    - compiler path - /usr/local/bin/ppc386
    - fpc source - /usr/local/share/fpcsrc/

    You can find FPC in /usr/local/lib/fpc. But you can't go there using Finder...
    See thats the problem if you've installed it from scratch, fresh, no other previous Lazarus installed then you're probably ok. But I already installed the older "stable" 0.9.28.0 before and the config files are stuck there. I have to reset them or remove it all and install this new snapshot of Laz from scratch.

    I can't figure out where the config files for Laz are...
    Jason McMillen
    Pascal Game Development
    Co-Founder





  6. #6
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    It's sort of working now...

    I fixed the file paths and I have FPC 2.4.0 and it's source installed.

    I can generate applications, however the debugger crashes on me after a successful build and the app won't run after. (via pressing the 'Run' icon to compile and test your app)

    Anyone know what might be up with my debugger?
    Jason McMillen
    Pascal Game Development
    Co-Founder





Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •