Recent

Author Topic: No Application File in Applications folder  (Read 13295 times)

derder

  • New Member
  • *
  • Posts: 10
No Application File in Applications folder
« on: July 21, 2008, 01:22:31 pm »
Hello,
I Installed Lazarus 0.9.25 via an DMG-Image I downloaded and the installation was successfull but I can't start Lazarus except via terminal by typing "lazarus". Lazur starts via terminal but I can't click anything and Lazerus isn't shown in the Dock or if I press cmd+Tab. In the Applications folder there isn't a Lazerus symbol (the folder is called "Programme" because I'm using the german mac OS X). I have no Idea how to solve this problem and I would thank you for any pointer.

Kindly Regards
derder

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: No Application File in Applications folder
« Reply #1 on: July 21, 2008, 03:40:15 pm »
Quote from: "derder"
Hello,
I Installed Lazarus 0.9.25 via an DMG-Image I downloaded and the installation was successfull but I can't start Lazarus except via terminal by typing "lazarus". Lazur starts via terminal but I can't click anything and Lazerus isn't shown in the Dock or if I press cmd+Tab. In the Applications folder there isn't a Lazerus symbol (the folder is called "Programme" because I'm using the german mac OS X). I have no Idea how to solve this problem and I would thank you for any pointer.

Kindly Regards
derder


Assuming you installed a recent snapshot, Lazarus is now a native Mac app. Start it from terminal like this:

open lazarus.app

Or double-click lazarus.app in Finder to launch it. You can also drag and drop lazarus.app to the Dock.

Let me know if that doesn't work.

Thanks.

-Phil

derder

  • New Member
  • *
  • Posts: 10
RE: Re: No Application File in Applications folder
« Reply #2 on: July 21, 2008, 04:08:24 pm »
The file /usr/bin/lazarus.app does not exist.

and i also can't find lazarus.app with the finder ; ( that is my problem

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: RE: Re: No Application File in Applications folder
« Reply #3 on: July 21, 2008, 04:39:22 pm »
Quote from: "derder"
The file /usr/bin/lazarus.app does not exist.

and i also can't find lazarus.app with the finder ; ( that is my problem


It should be in /usr/local/share/lazarus folder. I find it useful just to copy the entire lazarus folder to my home folder and work with it there since /usr/local/share/lazarus is read-only normally.

Thanks.

-Phil

derder

  • New Member
  • *
  • Posts: 10
RE: Re: RE: Re: No Application File in Applications folder
« Reply #4 on: July 21, 2008, 04:59:55 pm »
I found it and can start it but he complained that there's no free pascal compiler... but I installed fpc and fpc-src via the snapshots

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: RE: Re: RE: Re: No Application File in Applications fold
« Reply #5 on: July 21, 2008, 05:06:37 pm »
Quote from: "derder"
I found it and can start it but he complained that there's no free pascal compiler... but I installed fpc and fpc-src via the snapshots


I'm not at my Mac right now, but check the environment options and see if anything is entered for compiler path and FPC source directory. The compiler should be something like /usr/local/bin/fpc.

Lazarus should remember this for future versions that you install.

Thanks.

-Phil

derder

  • New Member
  • *
  • Posts: 10
RE: Re: RE: Re: RE: Re: No Application File in Applications
« Reply #6 on: July 21, 2008, 05:20:53 pm »
ok, working so far... but i made a project wich should just change the form's caption and if i tried to hit run this message appears: project1.lpr(8,7) Fatal: Can't find unit Interfaces used by Project1

what can I do?

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: RE: Re: RE: Re: RE: Re: No Application File in Applicati
« Reply #7 on: July 21, 2008, 06:08:00 pm »
Quote from: "derder"
ok, working so far... but i made a project wich should just change the form's caption and if i tried to hit run this message appears: project1.lpr(8,7) Fatal: Can't find unit Interfaces used by Project1

what can I do?


That usually means that you're trying to compile with a widgetset that hasn't been compiled yet. The carbon widgetset is already compiled and included in recent snapshots, so make sure you're selecting carbon as the target.

Also, check the environment options and make sure something is entered for the Lazarus directory. I'm not sure why this isn't filled in automatically. You can post a bug report for this if it's blank.

Once you have your first app compiled, remember that to run an app on Mac, you have to click Create Application Bundle in project options to create the the app bundle (folder) structure. You only have to do this once for an app.

Thanks.

-Phil

derder

  • New Member
  • *
  • Posts: 10
RE: Re: RE: Re: RE: Re: RE: Re: No Application File in Appli
« Reply #8 on: July 21, 2008, 06:19:52 pm »
carbon is selected and the lazarus directory is filled in correctly ; (

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: RE: Re: RE: Re: RE: Re: RE: Re: No Application File in A
« Reply #9 on: July 21, 2008, 07:00:49 pm »
Quote from: "derder"
carbon is selected and the lazarus directory is filled in correctly ; (


Not sure what to suggest.

Are you using today's snapshot? Maybe something got broken. That happens quite often with the snapshots since they're not stable builds.

Check to see if the carbon widgetset has even been compiled. Normally this is included with the snapshot. Look in your lazarus folder under lcl/units/i386-darwin/carbon (or lcl/units/powerpc-darwin/carbon with older Macs). If the interfaces.o/.ppu files don't exist, you'll have to compile the carbon widgetset. (Tools | Configure. Set everything to None except LCL, then click Build.)

Also, check to make sure you're really pointing to the correct lazarus location. If you moved it, this might have changed.

Thanks.

-Phil

derder

  • New Member
  • *
  • Posts: 10
RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: No Application File
« Reply #10 on: July 21, 2008, 07:03:06 pm »
those files are there and the lazarus location is correct

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: No Application F
« Reply #11 on: July 21, 2008, 08:12:04 pm »
Quote from: "derder"
those files are there and the lazarus location is correct


What does it say for the Lazarus location? It sounds as though it's not looking in the right place for the interfaces files.

Also, did you try compiling the LCL for Carbon - this will compile the LCL files and the files in the carbon subfolder. See if this works and whether it puts them in some other location.

You could also try compiling your test project from the command line as follows:

  pathtolaz/lazbuild yourproject.lpi

If none of this works I would suggest that you file a bug report.

Thanks.

-Phil

derder

  • New Member
  • *
  • Posts: 10
RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: No Applicati
« Reply #12 on: July 22, 2008, 12:13:47 pm »
Lazarus path is /Users/derder/lazarus

how do I compile the LCL for carbon?

compiling via terminal fails and it says that he can't find the unit interfaces...

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: No Appli
« Reply #13 on: July 22, 2008, 04:13:43 pm »
Quote from: "derder"
Lazarus path is /Users/derder/lazarus

how do I compile the LCL for carbon?

compiling via terminal fails and it says that he can't find the unit interfaces...


See note above about Tools | Configure.

I still think there's something else wrong with your setup, or maybe even a new bug that's been introduced.

Thanks.

-Phil

derder

  • New Member
  • *
  • Posts: 10
RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: No A
« Reply #14 on: July 23, 2008, 06:29:46 am »
seems to work right now, thank you

 

TinyPortal © 2005-2018