Recent

Author Topic: Lazarus Release 2.0.8  (Read 65498 times)

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • http://www.lazarus.freepascal.org
Re: Lazarus Release 2.0.8
« Reply #60 on: April 26, 2020, 10:31:02 pm »
PATH=/usr/bin:/bin:/usr/sbin:/sbin

This PATH is missing /usr/local/bin . That's why fpc can't find fpcres.
How do you start Lazarus?

papillon33

  • New Member
  • *
  • Posts: 21
Re: Lazarus Release 2.0.8
« Reply #61 on: April 27, 2020, 10:00:32 am »
Bonjour

Comment mettre ce chemin dans le path ?
Lazarus est démarré par le dossier application ou l'icone de Lazarus s'est installée.

Hello

How to put this path in the path?
Lazarus is started by the application folder where the Lazarus icon is installed.

Thank you

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • http://www.lazarus.freepascal.org
Re: Lazarus Release 2.0.8
« Reply #62 on: April 27, 2020, 10:26:41 am »
Lazarus is started by the application folder where the Lazarus icon is installed.

I just tried this and indeed the PATH is missing when the IDE is started this way. But fpc can find fpcres anyway. So there must be something else wrong on your system.

Just to be sure:
Did you execute the following lines:
https://wiki.freepascal.org/Installing_Lazarus_on_macOS#Step_2:_Xcode_Command_Line_Tools
?

papillon33

  • New Member
  • *
  • Posts: 21
Re: Lazarus Release 2.0.8
« Reply #63 on: April 27, 2020, 02:52:24 pm »
Ca donne çà : (It gives that :)
jeanhunter@MacAlliance / % sudo xcode-select --install
Password:
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

jeanhunter@MacAlliance / % sudo xcodebuild -license accept
jeanhunter@MacAlliance / %

wittbo

  • Full Member
  • ***
  • Posts: 150
Re: Lazarus Release 2.0.8
« Reply #64 on: April 27, 2020, 03:58:17 pm »
@trev, mattias:

The described problem also occurred on macOS Mojave. A new installation with the latest versions was successful. One small note: The FPC sources are now in /usr/local/share/fpcsrc/3.0.4; you have to adjust this at IDE-startup  This is new.
-wittbo-
MBAir with MacOS 10.14.6 / Lazarus 2.2.4
MacStudio with MacOS 13.0.1 / Lazarus 2.2.4

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • http://www.lazarus.freepascal.org
Re: Lazarus Release 2.0.8
« Reply #65 on: April 27, 2020, 11:28:53 pm »
The described problem also occurred on macOS Mojave. A new installation with the latest versions was successful.

Are you talking about the "can't find fpcres" problem?
Are you saying, that some old files are causing this problem?

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Lazarus Release 2.0.8
« Reply #66 on: April 28, 2020, 09:12:15 am »
@trev, mattias:

The described problem also occurred on macOS Mojave.

Which problem?

Quote
A new installation with the latest versions was successful. One small note: The FPC sources are now in /usr/local/share/fpcsrc/3.0.4; you have to adjust this at IDE-startup  This is new.

Maybe this is related to installations where you already have a copy installed? For new installations on a "clean system" (ie newly installed operating system) I've not had to change anything for it to work.

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • http://www.lazarus.freepascal.org
Re: Lazarus Release 2.0.8
« Reply #67 on: April 28, 2020, 10:14:30 am »
jeanhunter@MacAlliance / % sudo xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

ok.

After compile, there is a green line in the Messages window. Please right click it to open the popup menu, About Compile Project. This shows a window how the compiler was called. Please post the output.

papillon33

  • New Member
  • *
  • Posts: 21
Re: Lazarus Release 2.0.8
« Reply #68 on: April 28, 2020, 09:34:59 pm »
Bon, la catastrophe pour rien. Installation d'une version vierge de Catalina, puis installation dans l'ordre de :
fpc-3.0.4-macos-x86_64-laz-2.pkg
fpc-src-3.0.4-laz.pkg
LazarusIDE-2.0.8-macos-x86_64.pkg

Compilation Lazarus profil normal Cocoa -- Darwin -- x86_64

Résultat :

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • http://www.lazarus.freepascal.org
Re: Lazarus Release 2.0.8
« Reply #69 on: April 28, 2020, 10:52:34 pm »
It seems your /etc/fpc.cfg is wrong:

https://wiki.freepascal.org/Installing_Lazarus_on_macOS#Upgrading_from_Mojave_.2810.14.29_to_Catalina_.2810.15.29

Do you have the
-Fl/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/

?

papillon33

  • New Member
  • *
  • Posts: 21
Re: Lazarus Release 2.0.8
« Reply #70 on: April 29, 2020, 10:06:46 am »
Bonjour

Dans le fichier fpc.cfg, je n'ai :
ni -->-Fl/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/

ni --> #ifdef cpux86_64

J'ai fait l'installation de Lazarus sur une machine Catalina vierge. Ce n'est pas une mise à jour, mais un disque complètement réinstaller.

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1106
Re: Lazarus Release 2.0.8
« Reply #71 on: April 29, 2020, 11:21:28 am »
Ca donne çà : (It gives that :)
jeanhunter@MacAlliance / % sudo xcode-select --install
Password:
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

jeanhunter@MacAlliance / % sudo xcodebuild -license accept
jeanhunter@MacAlliance / %

Bon, la catastrophe pour rien. Installation d'une version vierge de Catalina, puis installation dans l'ordre de :
fpc-3.0.4-macos-x86_64-laz-2.pkg
fpc-src-3.0.4-laz.pkg
LazarusIDE-2.0.8-macos-x86_64.pkg

Compilation Lazarus profil normal Cocoa -- Darwin -- x86_64

Résultat :

Bonjour

Dans le fichier fpc.cfg, je n'ai :
ni -->-Fl/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/

ni --> #ifdef cpux86_64

J'ai fait l'installation de Lazarus sur une machine Catalina vierge. Ce n'est pas une mise à jour, mais un disque complètement réinstaller.
Bien que certains d'entre nous puissent communiquer en français, nous ne devrions pas le faire ici.
S'il vous plaît, veuillez vous exprimer en anglais.

Although some of us can communicate in French, we should not do it here.
Please, express yourself in English.

papillon33

  • New Member
  • *
  • Posts: 21
Re: Lazarus Release 2.0.8
« Reply #72 on: April 29, 2020, 11:24:12 am »
Il suffit de faire un click droit sur le bord gauche de la page pour que google fasse une traduction automatique. Quand vous écrivez en Anglais, c'est ce que je fais. La politesse doit être réciproque.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Lazarus Release 2.0.8
« Reply #73 on: April 29, 2020, 01:27:07 pm »
I have attached a correct fpc.cfg from a new FPC install on Catilina. Copy the fpc.txt file to /etc/fpc.cfg

papillon33

  • New Member
  • *
  • Posts: 21
Re: Lazarus Release 2.0.8
« Reply #74 on: April 29, 2020, 02:54:10 pm »
Merci beaucoup.
J'ai donc remplacer le fpc.cfg dans le répertoire et Lazarus démarre. Il accepte de compiler un exemple de programme qui se compile très bien et marche normalement avec la version Windows. J'ai installé la version windows sous windows 7 dans une machine Parallel Desktop.
La version windows marche normalement, la version Mac ne marche pas, pas d'accès au fichier comme sur la vue d'écran.

Donc suite à cela je recompile Lazarus et la problème Id Warning: building for mac os 10.5 deprecated

Je persiste car je pense que cela peut servir à la communauté.

 

TinyPortal © 2005-2018