- Posts: 18
- Thank you received: 0
Question install CT 7.6 failed on Mac Monterey intel amd64
- xiaomajia52
- Topic Author
- Offline
- New Member
-
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.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
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.
- xiaomajia52
- Topic Author
- Offline
- New Member
-
- Posts: 18
- Thank you received: 0
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.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
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.
- xiaomajia52
- Topic Author
- Offline
- New Member
-
- Posts: 18
- Thank you received: 0
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.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
CTCenter => Compiler => FreePascal Remove and Build All
PilotLogic Architect and Core Programmer
Attachments:
Please Log in or Create an account to join the conversation.
- xiaomajia52
- Topic Author
- Offline
- New Member
-
- Posts: 18
- Thank you received: 0
Attachments:
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
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.
- xiaomajia52
- Topic Author
- Offline
- New Member
-
- Posts: 18
- Thank you received: 0
Attachments:
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
xcode-select --version
Here is 2392
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- xiaomajia52
- Topic Author
- Offline
- New Member
-
- Posts: 18
- Thank you received: 0
CodeTyphonIns % xcode-select --version
xcode-select version 2392.
↑↑↑↑↑↑↑↑↑↑↑↑↑↑
it's mine
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
PilotLogic Architect and Core Programmer
Attachments:
Please Log in or Create an account to join the conversation.
- xiaomajia52
- Topic Author
- Offline
- New Member
-
- Posts: 18
- Thank you received: 0
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.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
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.
- xiaomajia52
- Topic Author
- Offline
- New Member
-
- Posts: 18
- Thank you received: 0
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.
- Matis A.
-
- Offline
- Moderator
-
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.
- xiaomajia52
- Topic Author
- Offline
- New Member
-
- Posts: 18
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Matis A.
-
- Offline
- Moderator
-
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.
- xiaomajia52
- Topic Author
- Offline
- New Member
-
- Posts: 18
- Thank you received: 0
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.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
and test
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.