Welcome, Guest
Username: Password: Remember me
CodeTyphon FreeBSD, OpenBSD, NetBSD and DragonFly OSes Development, discussions and problems
  • Page:
  • 1

TOPIC:

[LAB News] CT on FreeBSD 12.1 4 years 4 months ago #14065

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
We update LAB CodeTyphon 7.00 support for FreeBSD 12.1
more info

System: Entry level PC with 1 CPU (4-Cores) / 8 Gbyte RAM / 120 Gbytes Hard Disk / 1680x1050 pixels Monitor
OS : FreeBSD 12.1 64Bits with Mate Desktop



Typhon IDE for QT5 API




PS: FreeBSD 12.1 don't have support for QT4 API
PilotLogic Architect and Core Programmer
Attachments:

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

Last edit: by Sternas Stefanos.

[LAB News] CT on FreeBSD 12.1 3 years 4 months ago #15285

  • Brian
  • Brian's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Hi Sternas,

Thanks for sharing your installation for CT on FreeBSD12.
I'm also trying this same work, but I cannot install the fpc64 so I cannot run CT as well because of this reason.
The icon for CT has been created but there is nothing for Typhoon64.
The error message is "Bad system call" and I'm not sure why I cannot install fpc64 using the script from the package.
My environment is the followings:
1. FreeBSD 12.1-RELEASE-p10 amd64
2. fpc 3.0.4 from quarterly FreeBSD repository
3. Using xfce
4. Installed gtk2 by default
5. CT v7.20

Please let me know how I can resolve this issue.
Thanks.

Clean FreePascal 64
/bin/rm -f build-stamp.*
/bin/rm -f base.build-stamp.*
Build FreePascal 64
gmake compiler_cycle RELEASE=1
gmake[1]: Entering directory '/usr/local/codetyphon/fpcsrc'
gmake -C compiler cycle
gmake[2]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake tempclean
gmake[3]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
/bin/rm -f ppcross ppc ppc1.exe ppc2.exe ppc3.exe ./msg2inc.exe pp1.wpo pp2.wpo
gmake[3]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake ppc3.exe
gmake[3]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake 'OLDFPC=' next CYCLELEVEL=1
gmake[4]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake rtlclean
gmake[5]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake -C clean
gmake[6]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[6]: *** clean: No such file or directory. Stop.
gmake[6]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[5]: *** [Makefile:5073: rtlclean] Error 2
gmake[5]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[4]: *** [Makefile:4916: next] Error 2
gmake[4]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[3]: *** [Makefile:4923: ppc1.exe] Error 2
gmake[3]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[2]: *** [Makefile:4939: cycle] Error 2
gmake[2]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[1]: *** [Makefile:3059: compiler_cycle] Error 2
gmake[1]: Leaving directory '/usr/local/codetyphon/fpcsrc'
gmake: *** [Makefile:3084: build-stamp.-] Error 2

Install FreePascal 64
gmake compiler_cycle RELEASE=1
gmake[1]: Entering directory '/usr/local/codetyphon/fpcsrc'
gmake -C compiler cycle
gmake[2]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake tempclean
gmake[3]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
/bin/rm -f ppcross ppc ppc1.exe ppc2.exe ppc3.exe ./msg2inc.exe pp1.wpo pp2.wpo
gmake[3]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake ppc3.exe
gmake[3]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake 'OLDFPC=' next CYCLELEVEL=1
gmake[4]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake rtlclean
gmake[5]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake -C clean
gmake[6]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[6]: *** clean: No such file or directory. Stop.
gmake[6]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[5]: *** [Makefile:5073: rtlclean] Error 2
gmake[5]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[4]: *** [Makefile:4916: next] Error 2
gmake[4]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[3]: *** [Makefile:4923: ppc1.exe] Error 2
gmake[3]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[2]: *** [Makefile:4939: cycle] Error 2
gmake[2]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[1]: *** [Makefile:3059: compiler_cycle] Error 2
gmake[1]: Leaving directory '/usr/local/codetyphon/fpcsrc'
gmake: *** [Makefile:3084: build-stamp.-] Error 2

Clean FreePascal 64
/bin/rm -f build-stamp.*
/bin/rm -f base.build-stamp.*

Copy FreePascal 64
cp: /usr/local/codetyphon/fpc/newfpc/bin/*: No such file or directory
cp: /usr/local/codetyphon/fpc/newfpc/share/*: No such file or directory
cp: /usr/local/codetyphon/fpc/newfpc/lib/fpc/3.3.1/*: No such file or directory
cp: /usr/local/codetyphon/fpc/newfpc/lib/fpc/*: No such file or directory
mv: rename /usr/local/codetyphon/fpc/fpc64/ppcx64 to /usr/local/codetyphon/fpc/fpc64/bin/x86_64-freebsd/ppcx64: No such file or directory

???????????????????????????????????????????????????
[ERROR]: FreePascal 64 NOT build
???????????????????????????????????????????????????


==============================================================
Build Typhon64 Small IDE x86_64-freebsd-qt5 for FreeBSD
==============================================================


Extract Typhon Source From Zip File

[INFO]: Clean Tools Directory


??????????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon64 Small IDE x86_64-freebsd-qt5 NOT Build
??????????????????????????????????????????????????????????

==============================================================
Build Typhon64 BIG IDE x86_64-freebsd-qt5 for FreeBSD
==============================================================


[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.

Last edit: by Brian.

[LAB News] CT on FreeBSD 12.1 3 years 4 months ago #15288

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Thanks Sir
<<fpc 3.0.4 from quarterly FreeBSD repository>>

CodeTyphon NOT need "Vanilla" FreePascal

Please remove "Vanilla" FreePascal from you OS and try to Install CT again
for GTK2 Like this Tutorial
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

[LAB News] CT on FreeBSD 12.1 3 years 4 months ago #15289

  • Brian
  • Brian's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Thanks for your reply in advance.
But I've never installed any packages related to vanilla. Could you let me know what you mean? By the way, FreeBSD12.x is officially supporting fpc 3.0.4. How did you install the development version for 3.3.1?
I tried to install CT several times but I'm looking the same errors. I'm a bit confused.
Without installation for fpc3.0.4, I also tried it but I could not install the fpc 64bit, so I met the error from the CT installation script.
Thank you.

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

Last edit: by Brian.

[LAB News] CT on FreeBSD 12.1 3 years 4 months ago #15290

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
CodeTyphon has in the Installation Zip CodeTyphonIns.zip ALL you need

Please start CT installation like this please follow the steps.
CT-FPC it's NOT the same with Vanilla FPC.

I drink my first coffee of the day (4.17 am), so I have a lot of time :)
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

[LAB News] CT on FreeBSD 12.1 3 years 4 months ago #15291

  • Brian
  • Brian's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
I'm still meeting the same error [Error]: FreePascal 64 NOT build.
It seems your makefile/makefile.fpc does not have option for "amd64". But I'm not sure this is a rood cause.
I need to understand firstly why I cannot install Free Pascal 64, but I have no idea.
FYI, there is no issue till installing system libs.

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

Last edit: by Brian.

[LAB News] CT on FreeBSD 12.1 3 years 4 months ago #15292

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Did you follow the Tutorial steps ?
PilotLogic Architect and Core Programmer

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

[LAB News] CT on FreeBSD 12.1 3 years 4 months ago #15293

  • Brian
  • Brian's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Yes, I did. As I mentioned, I met the error in the phase of installing FPC 64.

>>> Select an action (press 0..9 key): 4
==============================================================
Remove and Build ALL
==============================================================
Please Wait... Removing FreePascal 64
[INFO]: FreePascal Bin Directory NOT EXIST, nothing to do ...
[INFO]: FreePascal Source Directory NOT EXIST, nothing to do ...
[INFO]: LLDB Directory NOT EXIST, nothing to do ...
Please Wait... Removing CrossBuild Engine Directory
[INFO]: CrossBuild Engine Directory NOT EXIST, nothing to do ....
Please Wait... Removing Toolchains Library Directory
[INFO]: Toolchains Library Directory NOT EXIST, nothing to do ...
[INFO]: Libraries Directory NOT EXIST, nothing to do ...

[INFO]: All FreePascal parts removed from disk

==============================================================
Build FreePascal 64 for FreeBSD
==============================================================

[INFO]: FPC64 Source files not exists, extracting...
Extract FreePascal From Zip File

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,1 CPU x64)

Scanning the drive for archives:
1 file, 25169897 bytes (25 MiB)

Extracting archive: ../allzips/src/fpc_src.7z
--
Path = ../allzips/src/fpc_src.7z
Type = 7z
Physical Size = 25169897
Headers Size = 254791
Method = Delta LZMA2:26 LZMA:20 BCJ2
Solid = +
Blocks = 3

Everything is Ok

Folders: 1552
Files: 19469
Size: 302705929
Compressed: 25169897

Extract freebsd64 Toolchains Library...

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,1 CPU x64)

Scanning the drive for archives:
1 file, 927458 bytes (906 KiB)

Extracting archive: ../allzips/cross/bincross-common.7z
--
Path = ../allzips/cross/bincross-common.7z
Type = 7z
Physical Size = 927458
Headers Size = 311
Method = LZMA:21
Solid = +
Blocks = 1

Everything is Ok

Folders: 3
Files: 6
Size: 2068952
Compressed: 927458

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,1 CPU x64)

Scanning the drive for archives:
1 file, 8507035 bytes (8308 KiB)

Extracting archive: ../allzips/cross/bincross-x86_64-freebsd.7z
--
Path = ../allzips/cross/bincross-x86_64-freebsd.7z
Type = 7z
Physical Size = 8507035
Headers Size = 1203
Method = LZMA:24
Solid = +
Blocks = 5

Everything is Ok

Folders: 6
Files: 70
Size: 56915394
Compressed: 8507035

Extract Libraries...

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,1 CPU x64)

Scanning the drive for archives:
1 file, 945475 bytes (924 KiB)

Extracting archive: ../allzips/libraries/android-2.2-api8-arm.7z
--
Path = ../allzips/libraries/android-2.2-api8-arm.7z
Type = 7z
Physical Size = 945475
Headers Size = 537
Method = LZMA:6m
Solid = +
Blocks = 1

Everything is Ok

Folders: 1
Files: 20
Size: 5539828
Compressed: 945475

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,1 CPU x64)

Scanning the drive for archives:
1 file, 949031 bytes (927 KiB)

Extracting archive: ../allzips/libraries/android-2.3-api9-arm.7z
--
Path = ../allzips/libraries/android-2.3-api9-arm.7z
Type = 7z
Physical Size = 949031
Headers Size = 579
Method = LZMA:6m
Solid = +
Blocks = 1

Everything is Ok

Folders: 1
Files: 23
Size: 5577984
Compressed: 949031

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,1 CPU x64)

Scanning the drive for archives:
1 file, 949540 bytes (928 KiB)

Extracting archive: ../allzips/libraries/android-4.0-api14-arm.7z
--
Path = ../allzips/libraries/android-4.0-api14-arm.7z
Type = 7z
Physical Size = 949540
Headers Size = 602
Method = LZMA:6m
Solid = +
Blocks = 1

Everything is Ok

Folders: 1
Files: 24
Size: 5585637
Compressed: 949540
[INFO]: Extract FreePascal source finish

[INFO]: FPC64 Binary files not exists, extracting...

Install FPC64 Binary Files


7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,1 CPU x64)

Scanning the drive for archives:
1 file, 5337196 bytes (5213 KiB)

Extracting archive: /usr/local/codetyphon/allzips/binfpc/x86_64-freebsd.7z
--
Path = /usr/local/codetyphon/allzips/binfpc/x86_64-freebsd.7z
Type = 7z
Physical Size = 5337196
Headers Size = 1017
Method = LZMA2:26 LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Files: 60
Size: 55662206
Compressed: 5337196

Clean FreePascal 64
/bin/rm -f build-stamp.*
/bin/rm -f base.build-stamp.*
Build FreePascal 64
gmake compiler_cycle RELEASE=1
gmake[1]: Entering directory '/usr/local/codetyphon/fpcsrc'
gmake -C compiler cycle
gmake[2]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake tempclean
gmake[3]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
/bin/rm -f ppcross ppc ppc1.exe ppc2.exe ppc3.exe ./msg2inc.exe pp1.wpo pp2.wpo
gmake[3]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake ppc3.exe
gmake[3]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake 'OLDFPC=' next CYCLELEVEL=1
gmake[4]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake rtlclean
gmake[5]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake -C clean
gmake[6]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[6]: *** clean: No such file or directory. Stop.
gmake[6]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[5]: *** [Makefile:5073: rtlclean] Error 2
gmake[5]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[4]: *** [Makefile:4916: next] Error 2
gmake[4]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[3]: *** [Makefile:4923: ppc1.exe] Error 2
gmake[3]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[2]: *** [Makefile:4939: cycle] Error 2
gmake[2]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[1]: *** [Makefile:3059: compiler_cycle] Error 2
gmake[1]: Leaving directory '/usr/local/codetyphon/fpcsrc'
gmake: *** [Makefile:3084: build-stamp.-] Error 2

Install FreePascal 64
gmake compiler_cycle RELEASE=1
gmake[1]: Entering directory '/usr/local/codetyphon/fpcsrc'
gmake -C compiler cycle
gmake[2]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake tempclean
gmake[3]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
/bin/rm -f ppcross ppc ppc1.exe ppc2.exe ppc3.exe ./msg2inc.exe pp1.wpo pp2.wpo
gmake[3]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake ppc3.exe
gmake[3]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake 'OLDFPC=' next CYCLELEVEL=1
gmake[4]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake rtlclean
gmake[5]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake -C clean
gmake[6]: Entering directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[6]: *** clean: No such file or directory. Stop.
gmake[6]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[5]: *** [Makefile:5073: rtlclean] Error 2
gmake[5]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[4]: *** [Makefile:4916: next] Error 2
gmake[4]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[3]: *** [Makefile:4923: ppc1.exe] Error 2
gmake[3]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[2]: *** [Makefile:4939: cycle] Error 2
gmake[2]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[1]: *** [Makefile:3059: compiler_cycle] Error 2
gmake[1]: Leaving directory '/usr/local/codetyphon/fpcsrc'
gmake: *** [Makefile:3084: build-stamp.-] Error 2

Clean FreePascal 64
/bin/rm -f build-stamp.*
/bin/rm -f base.build-stamp.*

Copy FreePascal 64
cp: /usr/local/codetyphon/fpc/newfpc/bin/*: No such file or directory
cp: /usr/local/codetyphon/fpc/newfpc/share/*: No such file or directory
cp: /usr/local/codetyphon/fpc/newfpc/lib/fpc/3.3.1/*: No such file or directory
cp: /usr/local/codetyphon/fpc/newfpc/lib/fpc/*: No such file or directory
mv: rename /usr/local/codetyphon/fpc/fpc64/ppcx64 to /usr/local/codetyphon/fpc/fpc64/bin/x86_64-freebsd/ppcx64: No such file or directory

???????????????????????????????????????????????????
[ERROR]: FreePascal 64 NOT build
???????????????????????????????????????????????????

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

[LAB News] CT on FreeBSD 12.1 3 years 4 months ago #15294

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Can you open CTCenter ?
PilotLogic Architect and Core Programmer

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

[LAB News] CT on FreeBSD 12.1 3 years 4 months ago #15295

  • Brian
  • Brian's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
No I cannot open it. It has an error message like this
./setup.sh: line 544: 2614 Bad system call ./codetyphon

I also met this error when I installed Lazarus before.
That is the reason why I'm trying to install CT as well.

Thanks.

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

[LAB News] CT on FreeBSD 12.1 3 years 4 months ago #15296

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Sir
you FreeBSD installation has Problem
My suggestion is to reinstall FreeBSD 12.2

We build CT on FreeBSD 2-5 times per day (current version in our LAB is 12.2)

and a screen for our FreeBSD installation now.
PilotLogic Architect and Core Programmer

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

  • Page:
  • 1