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

TOPIC:

Can't compile IDE in Mac OS X El Captain 8 years 3 weeks ago #9345

  • cookie
  • cookie's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Hi, if i try to compile the IDE I always get this error message. Any Ideas why?
CTCenter 5.70
for i386-darwin-carbon
 
Start Action at 24-3-16 17:16:25
_______________________________________________________________
=============================================================
          Build Typhon32 Small IDE for Darwin
=============================================================
   
--------------------------------------------
       Clean Typhon IDE Setings
--------------------------------------------
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
[INFO]: Clean Typhon64 IDE Setings finish
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
[INFO]: Clean Typhon32 IDE Setings finish
   
sudo: no tty present and no askpass program specified
   
--------------------------------------------
   Restore Typhon Default IDE Setings
--------------------------------------------
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
[INFO]: Restore Typhon64 Settings finish
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
[INFO]: Restore Typhon32 Settings finish
   
sudo: no tty present and no askpass program specified
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C packager/registration
/bin/rm -f ../units/i386-darwin/fcllaz.ppu
/usr/local/codetyphon/fpc/fpc32/bin/i386-darwin/ppc386 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -gw -Fu. -Fu../../../fpcsrc/rtl -FE. -FU../units/i386-darwin -g- -di386 fcllaz.pas
Hint: (11030) Start of reading config file /usr/local/codetyphon/fpc/fpc32/bin/i386-darwin/fpc.cfg
Hint: (11031) End of reading config file /usr/local/codetyphon/fpc/fpc32/bin/i386-darwin/fpc.cfg
Free Pascal Compiler version 3.1.1 [2016/03/02] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Darwin for i386
(3104) Compiling fcllaz.pas
Fatal: (10022) Can't find unit system used by fcllaz
Fatal: (1018) Compilation aborted
make[1]: *** [fcllaz.ppu] Error 1
make: *** [registration] Error 2
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
   
 ------------------------------------------------------
   
[INFO]: Clean Tools Directory
   
   
??????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon32 Small IDE NOT Build
??????????????????????????????????????????????????????
==============================================================
         Build Typhon32 BIG IDE for Darwin
==============================================================
   
   
[ERROR]: Sorry, Typhon32 from Small-IDE NOT Build
         please remove and build Typhon again...
   
_______________________________________________________________
 
Terminate Action at 24-3-16 17:16:28
Total time: 00:00:03.446
ExitCode : 0              

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

Can't compile IDE in Mac OS X El Captain 8 years 3 weeks ago #9347

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Sir
you must give to installation User sudo root privileges

follow these steps
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Can't compile IDE in Mac OS X El Captain 8 years 3 weeks ago #9348

  • cookie
  • cookie's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Still not working after following the steps I got this. What's wrong now? :(
CTCenter 5.70
for i386-darwin-carbon
 
Start Action at 24-3-16 18:35:39
_______________________________________________________________
==============================================================
                 Remove and Build Typhon 
==============================================================
---SubStep 1/2
----------------------------------------------
    Please Wait... Removing CodeOcean Samples
----------------------------------------------
[INFO]: All CodeOcean Samples removed from disk
----------------------------------------------
    Please Wait... Removing CodeOcean Samples
----------------------------------------------
[INFO]: CodeOcean Directory NOT EXIST, nothing to do ...
---SubStep 2/2
----------------------------------------------
    Please Wait... Removing Typhon 64
----------------------------------------------
[INFO]: Remove Typhon Directory Removed OK
[INFO]: typhonTemp Directory Removed OK
   
--------------------------------------------
       Clean Typhon IDE Setings
--------------------------------------------
[INFO]: Clean Typhon64 IDE Setings finish
[INFO]: Clean Typhon32 IDE Setings finish
   
---SubStep 1/2
----------------------------------------------
    Please Wait... Removing CodeOcean Samples
----------------------------------------------
[INFO]: CodeOcean Directory NOT EXIST, nothing to do ...
----------------------------------------------
    Please Wait... Removing CodeOcean Samples
----------------------------------------------
[INFO]: CodeOcean Directory NOT EXIST, nothing to do ...
---SubStep 2/2
----------------------------------------------
    Please Wait... Removing Typhon 32
----------------------------------------------
[INFO]: Remove Typhon Directory NOT EXIST, nothing to do ...
[INFO]: typhonTemp Directory Removed OK
   
--------------------------------------------
       Clean Typhon IDE Setings
--------------------------------------------
[INFO]: Clean Typhon64 IDE Setings finish
[INFO]: Clean Typhon32 IDE Setings finish
   
   
[INFO]: All Typhon parts removed from disk
=============================================================
          Build Typhon32 Small IDE for Darwin
=============================================================
   
---------------------------------------------------------
     Extract Typhon Source From Zip File
---------------------------------------------------------

7-Zip (a) [64] 15.09 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-10-16
p7zip Version 15.09 beta (locale=utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 35259589 bytes (34 MiB)

Extracting archive: ../allzips/src/typhon_src.7z
--
Path = ../allzips/src/typhon_src.7z
Type = 7z
Physical Size = 35259589
Headers Size = 187270
Method = LZMA2:26 LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 946
Files: 15373
Size:       314349500
Compressed: 35259589
---------------------------------------
[INFO]: Extract Typhon source finish
   
   
---------------------------------------------------------
        Extract CodeOcean Samples From Zip File
---------------------------------------------------------

7-Zip (a) [64] 15.09 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-10-16
p7zip Version 15.09 beta (locale=utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 133126971 bytes (127 MiB)

Extracting archive: ../allzips/src/CodeOcean.7z
--
Path = ../allzips/src/CodeOcean.7z
Type = 7z
Physical Size = 133126971
Headers Size = 171010
Method = Delta LZMA2:26 LZMA:20 BCJ2
Solid = +
Blocks = 5

Everything is Ok

Folders: 1823
Files: 13223
Size:       812014749
Compressed: 133126971
---------------------------------------
[INFO]: Extract CodeOcean Samples finish
   
   
--------------------------------------------
       Clean Typhon IDE Setings
--------------------------------------------
[INFO]: Clean Typhon64 IDE Setings finish
[INFO]: Clean Typhon32 IDE Setings finish
   
   
--------------------------------------------
   Restore Typhon Default IDE Setings
--------------------------------------------
[INFO]: Restore Typhon64 Settings finish
[INFO]: Restore Typhon32 Settings finish
   
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C packager/registration
/bin/rm -f ../units/i386-darwin/fcllaz.ppu
/bin/mkdir -p ../units/i386-darwin
/usr/local/codetyphon/fpc/fpc32/bin/i386-darwin/ppc386 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -gw -Fu. -Fu../../../fpcsrc/rtl -FE. -FU../units/i386-darwin -g- -di386 fcllaz.pas
Hint: (11030) Start of reading config file /usr/local/codetyphon/fpc/fpc32/bin/i386-darwin/fpc.cfg
Hint: (11031) End of reading config file /usr/local/codetyphon/fpc/fpc32/bin/i386-darwin/fpc.cfg
Free Pascal Compiler version 3.1.1 [2016/03/02] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Darwin for i386
(3104) Compiling fcllaz.pas
Fatal: (10022) Can't find unit system used by fcllaz
Fatal: (1018) Compilation aborted
make[1]: *** [fcllaz.ppu] Error 1
make: *** [registration] Error 2
mv: rename typhon to /usr/local/codetyphon/typhon/bin32/typhon: No such file or directory
mv: rename typhonstart to /usr/local/codetyphon/typhon/bin32/typhonstart: No such file or directory
mv: rename typhonbuild to /usr/local/codetyphon/typhon/bin32/typhonbuild: No such file or directory
mv: rename tools/lazres to /usr/local/codetyphon/typhon/bin32/lazres: No such file or directory
mv: rename tools/lrstolfm to /usr/local/codetyphon/typhon/bin32/lrstolfm: No such file or directory
   
 ------------------------------------------------------
   
[INFO]: Clean Tools Directory
   
   
??????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon32 Small IDE NOT Build
??????????????????????????????????????????????????????
==============================================================
         Build Typhon32 BIG IDE for Darwin
==============================================================
   
   
[ERROR]: Sorry, Typhon32 from Small-IDE NOT Build
         please remove and build Typhon again...
   
 
----------------------------------------------------
[INFO]: On MacOS Carbon Platform NOT support 64bits
          Typhon64 BIG IDE build Aborted...
----------------------------------------------------
 
_______________________________________________________________
 
Terminate Action at 24-3-16 18:36:26
Total time: 00:00:47.263
ExitCode : 0

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

Can't compile IDE in Mac OS X El Captain 8 years 3 weeks ago #9349

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Sir
use in CTCenter => CodeTyphon => "Remove and build ALL"

you must rebuild and FPC


PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Can't compile IDE in Mac OS X El Captain 8 years 3 weeks ago #9354

  • cookie
  • cookie's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Nope, it does not help. It still does not work. I completeley removed the whole thing, then reinstalled and nothing. :(
[FINAL INFO]: FreePascal 64 Building, finish...
=====================================================================
=============================================================
          Build Typhon32 Small IDE for Darwin
=============================================================
   
---------------------------------------------------------
     Extract Typhon Source From Zip File
---------------------------------------------------------

7-Zip (a) [64] 15.09 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-10-16
p7zip Version 15.09 beta (locale=utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 35259589 bytes (34 MiB)

Extracting archive: ../allzips/src/typhon_src.7z
--
Path = ../allzips/src/typhon_src.7z
Type = 7z
Physical Size = 35259589
Headers Size = 187270
Method = LZMA2:26 LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 946
Files: 15373
Size:       314349500
Compressed: 35259589
---------------------------------------
[INFO]: Extract Typhon source finish
   
   
---------------------------------------------------------
        Extract CodeOcean Samples From Zip File
---------------------------------------------------------

7-Zip (a) [64] 15.09 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-10-16
p7zip Version 15.09 beta (locale=utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 133126971 bytes (127 MiB)

Extracting archive: ../allzips/src/CodeOcean.7z
--
Path = ../allzips/src/CodeOcean.7z
Type = 7z
Physical Size = 133126971
Headers Size = 171010
Method = Delta LZMA2:26 LZMA:20 BCJ2
Solid = +
Blocks = 5

Everything is Ok

Folders: 1823
Files: 13223
Size:       812014749
Compressed: 133126971
---------------------------------------
[INFO]: Extract CodeOcean Samples finish
   
   
--------------------------------------------
       Clean Typhon IDE Setings
--------------------------------------------
[INFO]: Clean Typhon64 IDE Setings finish
[INFO]: Clean Typhon32 IDE Setings finish
   
   
--------------------------------------------
   Restore Typhon Default IDE Setings
--------------------------------------------
[INFO]: Restore Typhon64 Settings finish
[INFO]: Restore Typhon32 Settings finish
   
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C packager/registration
/bin/rm -f ../units/i386-darwin/fcllaz.ppu
/bin/mkdir -p ../units/i386-darwin
/usr/local/codetyphon/fpc/fpc32/bin/i386-darwin/ppc386 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -gw -Fu. -Fu../../../fpcsrc/rtl -FE. -FU../units/i386-darwin -g- -di386 fcllaz.pas
Hint: (11030) Start of reading config file /usr/local/codetyphon/fpc/fpc32/bin/i386-darwin/fpc.cfg
Hint: (11031) End of reading config file /usr/local/codetyphon/fpc/fpc32/bin/i386-darwin/fpc.cfg
Free Pascal Compiler version 3.1.1 [2016/03/02] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Darwin for i386
(3104) Compiling fcllaz.pas
Fatal: (10022) Can't find unit system used by fcllaz
Fatal: (1018) Compilation aborted
make[1]: *** [fcllaz.ppu] Error 1
make: *** [registration] Error 2
mv: rename typhon to /usr/local/codetyphon/typhon/bin32/typhon: No such file or directory
mv: rename typhonstart to /usr/local/codetyphon/typhon/bin32/typhonstart: No such file or directory
mv: rename typhonbuild to /usr/local/codetyphon/typhon/bin32/typhonbuild: No such file or directory
mv: rename tools/lazres to /usr/local/codetyphon/typhon/bin32/lazres: No such file or directory
mv: rename tools/lrstolfm to /usr/local/codetyphon/typhon/bin32/lrstolfm: No such file or directory
   
 ------------------------------------------------------
   
[INFO]: Clean Tools Directory
   
   
??????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon32 Small IDE NOT Build
??????????????????????????????????????????????????????
==============================================================
         Build Typhon32 BIG IDE for Darwin
==============================================================
   
   
[ERROR]: Sorry, Typhon32 from Small-IDE NOT Build
         please remove and build Typhon again...
   
 
----------------------------------------------------
[INFO]: On MacOS Carbon Platform NOT support 64bits
          Typhon64 BIG IDE build Aborted...
----------------------------------------------------
 
_______________________________________________________________
 
Terminate Action at 24-3-16 19:55:18
Total time: 00:04:24.298
ExitCode : 0

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

Can't compile IDE in Mac OS X El Captain 8 years 3 weeks ago #9355

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Sir
the problem is in FPC building

Some questions:
Did you Install Xcode from Apple Store ?
Did you Install XQuartz ?
Did you Install MacPorts ?
Did you install System Libraries ?

My suggestion:
-Reinstall CT (don't build anything)
-with CTCenter install System Libraries
-with CTCenter "Remove and build all"
- zip and attach to a post here the CTCenter action log

We must see and the FreePascal building log, NOT only Typhon IDE building log
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Can't compile IDE in Mac OS X El Captain 8 years 3 weeks ago #9358

  • cookie
  • cookie's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Still not working. Log attached.
Attachments:

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

Can't compile IDE in Mac OS X El Captain 8 years 3 weeks ago #9360

  • cookie
  • cookie's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
I tried to install in Linux. 64 Bit IDE compiles without any problem, in 32 Bit I get the same problem in Linux too. :(

P.S. It's defently because with the pathes does not fit.

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

Last edit: by cookie.

Can't compile IDE in Mac OS X El Captain 8 years 3 weeks ago #9361

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Sir
in your action log
ld: file not found: /usr/lib/crt1.o
An error occurred while linking 
pp.pas(228,1) Error: Error while linking
pp.pas(228,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

/usr/lib/crt1.o file missing from your MacPC

Screen from our Mac



Some questions:
Did you Install Xcode from Apple Store ?
Did you Install XQuartz ?
Did you Install MacPorts ?
Did you install "System Libraries" with CTCenter?
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: cookie

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

Last edit: by Sternas Stefanos.

Can't compile IDE in Mac OS X El Captain 8 years 3 weeks ago #9365

  • cookie
  • cookie's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
That see to fix it. I didn't have these files.
sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/crt1.o /usr/lib/crt1.o

This fixed the problem for me.

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

  • Page:
  • 1