Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1
  • 2

TOPIC:

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16332

  • xiaomajia52
  • xiaomajia52's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
Hello,I am installing CT 7.6 on Mac Intel based Monterey.
it shows some errors
any idea and suggestion?
best regards.
2 -godwarfsets -gl -l -vewnhibq -gw -Fu. -Fu../../../fpcsrc/rtl -FE. -FU../units/x86_64-darwin -dx86_64 fcllaz.pas
Hint: (11030) Start of reading config file /usr/local/codetyphon/fpc/fpc64/bin/x86_64-darwin/fpc.cnf
Hint: (11031) End of reading config file /usr/local/codetyphon/fpc/fpc64/bin/x86_64-darwin/fpc.cnf
Free Pascal Compiler version 3.3.1 [2021/10/31] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Darwin for x86_64
(3104) Compiling fcllaz.pas
Fatal: (10022) Can't find unit system used by fcllaz
Fatal: (1018) Compilation aborted

gmake[1]: *** [Makefile:3295:fcllaz.ppu] error 1
gmake[1]: leave dir “/usr/local/codetyphon/typhon/packager/registration”
gmake: *** [Makefile:3693:registration] error 2
mv: rename typhon to /usr/local/codetyphon/typhon/bin64/typhon: No such file or directory
mv: rename typhonstart to /usr/local/codetyphon/typhon/bin64/typhonstart: No such file or directory
mv: rename typhonbuild to /usr/local/codetyphon/typhon/bin64/typhonbuild: No such file or directory
mv: rename tools/ctres to /usr/local/codetyphon/typhon/bin64/ctres: No such file or directory
mv: rename tools/ctlrstofrm to /usr/local/codetyphon/typhon/bin64/ctlrstofrm: No such file or directory
   
 
   
[INFO]: Clean Tools Directory
   
   
??????????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon64 Small IDE x86_64-darwin-cocoa NOT Build
??????????????????????????????????????????????????????????
   
==============================================================
   Build Typhon64 BIG IDE x86_64-darwin-cocoa for Darwin
==============================================================
   
   
[ERROR]: Sorry, Typhon64 from Small-IDE NOT Build
         please remove and build Typhon again...
   
   

 

Please Log in or Create an account to join the conversation.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16333

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Did you follow this tutorial ?

We build CT to MacOS Monterey (Intel) 2-5 times per day,
without problem.
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16335

  • xiaomajia52
  • xiaomajia52's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
yes,i followed the tut

i removed XQuartz.
installed Xcode Command Line
disabled Gatekeeper
set my account with nopassword
installed MacPorts
run install.sh
Environment Libraries were installed successfully.
but press 8.it stucked here
(1002) Target OS: Darwin for x86_64
(3104) Compiling fcllaz.pas
Fatal: (10022) Can't find unit system used by fcllaz
Fatal: (1018) Compilation aborted

i am continuing find out what's wrong with this issue,it looks like missing something on my OS

Please Log in or Create an account to join the conversation.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16336

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Can you open CTCenter ?
If yes,
try to build FPC with CTCenter, zip and attach here the Action Log of CTCenter info
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16337

  • xiaomajia52
  • xiaomajia52's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
yes,i opened CTCenter ver 7.60 ,
can i find any manual for CTCenter?
i need learn how to use this tool to compile fpc at first
it's strange,i cant start up CTCenter in command line by press1.
i can open it from launchbar named CodeTyphon

Please Log in or Create an account to join the conversation.

Last edit: by xiaomajia52.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16338

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Yes, from Launch bar exec "CodeTyphon" app is the CTCenter

CTCenter => Compiler => FreePascal Remove and Build All


 
PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16339

  • xiaomajia52
  • xiaomajia52's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
thanks ,here is my log file
 

File Attachment:

File Name: mylog.txt.zip
File Size:138 KB
Attachments:

Please Log in or Create an account to join the conversation.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16340

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
The problem start from line 5379 of your log
ld: warning: pointer not aligned at address 0x2F29EB (_RTTI_$SYSTEM_$$_TDISPDESC + 35 from /usr/local/codetyphon/fpcsrc/rtl/units/x86_64-darwin/system.o)

Which XCode version have your PC ?
Here we have the latest Version 13.1 (13A1030d)
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16341

  • xiaomajia52
  • xiaomajia52's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
me too
 
Attachments:

Please Log in or Create an account to join the conversation.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16342

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Command Line Tools ver ?
xcode-select --version

Here is 2392
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16343

  • xiaomajia52
  • xiaomajia52's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
yes
CodeTyphonIns % xcode-select --version
xcode-select version 2392.

↑↑↑↑↑↑↑↑↑↑↑↑↑↑
it's mine

Please Log in or Create an account to join the conversation.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16344

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Do you have other FPC installation ?

And the last trick

CTCenter => HostPC => Get System Info



 
PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16345

  • xiaomajia52
  • xiaomajia52's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
the difference is
gcc
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 13.0.0 (clang-1300.0.29.3)
Target: x86_64-apple-darwin21.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

i'll correct this path and try again..

Please Log in or Create an account to join the conversation.

Last edit: by xiaomajia52.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16346

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Ok

Your MAC GCC use OLD  Command Line Tools from Xcode.app.
On MacOS 11 and 12,
MAC GCC use Command Line Tools from  /Library/Developer/CommandLineTools/

My suggestion is:
totally remove XCode, Command Line Tools and
Reinstall All again.
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16355

  • xiaomajia52
  • xiaomajia52's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
it's sad,

after my test,reinstalled XCode Command Line Tools is version 13,it doesn't support to install CT 7.6,and I downgrade the system to Big Sur and replace the Command Line Tools to 12.5,it's okay,and then ,upgrade the system to Monterey,the Command Line Tools is still 12.5 ,use this version ,install CT 7.6 is no problem,but use the newest Command Line Tools Version Clang Version 13,the installition crashed.
BTW,newest monterey doesn't support install cmdtools version 12.5 anymore.

Please Log in or Create an account to join the conversation.

Last edit: by xiaomajia52.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16358

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
For you info
In MacOS 11 and 12, Command Line Tools are NOT part of XCode
and installed to /Library/Developer/CommandLineTools/ directory.
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16359

  • xiaomajia52
  • xiaomajia52's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
are there any advice to install on new monterey?

Please Log in or Create an account to join the conversation.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16360

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Try this
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install

and CTCenter => CodeTyphon => "Remove and Build ALL"

If the above NOT work, try and
sudo xcode-select -switch /Library/Developer/CommandLineTools
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16364

  • xiaomajia52
  • xiaomajia52's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
i'v tried.
even i reinstalled the whole Monterey 12.0.1 OS.
the default cmdlineis /Library/Developer/CommandLineTools,
the same error again

Please Log in or Create an account to join the conversation.

install CT 7.6 failed on Mac Monterey intel amd64 2 years 11 months ago #16365

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Open CTCenter and Update ( info ) to LAB CT 7.70
and test
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2