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

TOPIC:

[Solved]problems with "unit system used by fcllaz" 9 years 2 weeks ago #8477

  • hanair
  • hanair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 0
I have seen this issue myself and reported by many others.

While I never had any issues with CT installation up until 5.40, I could never install 5.40 and later in its entirety on any Linux box. I always tried to install it on brand new Linux Mint Virtual Boxes. Linux installation fails while building Typhon32 with the error "Can't find unit system used by fcllaz". But the installation works just fine as usual on Windows 64bit OS.

Anyways, what is this unit? Is this a Pascal unit that will be built only for certain CPU architecture such as 32bit?
Since all source code files are in compressed format, I could not locate that file using find command in Linux. Any one knows in which archive I can find the related files?

Thanks,

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

Last edit: by hanair.

Why problems with "unit system used by fcllaz"? 9 years 2 weeks ago #8478

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
we need more info
VM Memory-Hard Disk etc...

open CTCenter
-install system Libraries
-build Typhon IDE

and post here (ZIP FIRST) the building log file info
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Why problems with "unit system used by fcllaz"? 9 years 2 weeks ago #8479

  • hanair
  • hanair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 0
I am having this problem only with Typhon32 and its build log from CT Center is attached. I did install system libraries before the build via "HostPC -> Install System Libraries"

The machine is a VMWare virtual machine running Linux Mint 17.2 MATE 64bit.
/dev/sda1 mounted as / with 103GB available
4 GB memory allocated to the virtual machine from a total of 8GB on the host.

Thanks!

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

Last edit: by hanair.

Why problems with "unit system used by fcllaz"? 9 years 2 weeks ago #8480

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
The problem is in FPC build
please try to build FPC32 with CTCenter
and post here the building log
PilotLogic Architect and Core Programmer

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

Why problems with "unit system used by fcllaz"? 9 years 2 weeks ago #8481

  • hanair
  • hanair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 0
FPC-32bit build failed. Please review the log:

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

Last edit: by hanair.

Why problems with "unit system used by fcllaz"? 9 years 2 weeks ago #8482

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
Line 6266
/usr/bin/ld
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -ldl
/usr/bin/ld: cannot find -lc
Error: Error while linking

-lpthread=-libpthread.so
-ldl=libdl.so
-lc=libc.so

Which CT ver do you use?
Which Linux Mint ver do you use?
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Why problems with "unit system used by fcllaz"? 9 years 2 weeks ago #8483

  • hanair
  • hanair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 0
Linux Mint 17.2
CT 5.50

My Linux Box was installed with just default options.
Can I install them manually?

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

Last edit: by hanair.

Why problems with "unit system used by fcllaz"? 9 years 2 weeks ago #8484

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
MintLinux is one of our "main" LAB Linux distribution
Please,
-Open CTCenter =>Settings and set MultiArch enable
-From CTCenter =>HostPC=>Install System Libraries
-Finally rebuild FPC32 and Typhon32

and please check your Mint installation

if you want, I can post many screens
PilotLogic Architect and Core Programmer

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

Why problems with "unit system used by fcllaz"? 9 years 2 weeks ago #8486

  • hanair
  • hanair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 0

Sternas Stefanos wrote: Sir
MintLinux is one of our "main" LAB Linux distribution
Please,
-Open CTCenter =>Settings and set MultiArch enable
-From CTCenter =>HostPC=>Install System Libraries
-Finally rebuild FPC32 and Typhon32

and please check your Mint installation

if you want, I can post many screens


You don't have to post your screens, I trust you!!

Currently I am switching between VMs at my work and at home. So that might create discrepancies as well.
Tonight I will create a new VM based on Linux Mint 17.2 and try step by step and save all log files. I usually build/install directly from the terminal by selecting option 8. But you always recommend building it from within CT Center. What is the preferred way, anyways?

I never had any problems with older versions of CT. I have been trying CT from its very old days (I work with Delphi on a daily basis at work!).
I think things started changing from Mint 17.x onwards. (When I tried to install CT 5.5 on Windows 10 Enterprise Virtual Box that also failed even after installing DirectX, but that is a different topic!)

Thanks for maintaining such a fantastic cross platform development package!!

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

Why problems with "unit system used by fcllaz"? 9 years 2 weeks ago #8487

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
My suggestion for your new installation is to use
VM with minimum: 4G RAM - 2xCPU and 60 G bytes Hard Disk and with
Lab CT 5.6 download from here
has many changes

and have fun... :)
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Why problems with "unit system used by fcllaz"? 9 years 2 weeks ago #8488

  • hanair
  • hanair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 0

Sternas Stefanos wrote: My suggestion for your new installation is to use
Lab CT 5.6 download from from here
has many changes

and have fun... :)


That is not a stand alone download, correct?

Sorry, I got the link when I logged in!

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

Last edit: by hanair.

Why problems with "unit system used by fcllaz"? 9 years 2 weeks ago #8489

  • hanair
  • hanair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 0
Finally I found the problem I was having since 5.40 and Linux Mint 17.x.

I always install my CT using the command line menu as shown below. I always go by the order as shown in the menu and install System Libraries before doing anything else!
Actually the next option (12) for Mutli Architecture Setup has some influence on the required system libraries!

So you must select "Option 12" and set the Multi Architecture option and only after that you should install system libraries, "Option 0".

Big thanks to Sternas for helping me out!


Attachments:

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

Last edit: by hanair.

Why problems with "unit system used by fcllaz"? 9 years 2 weeks ago #8490

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
only Windows 64 bits and Solaris 64 bits are true MultiArch "Ready" OSes
all others try to find the way....

and just have fun...
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Why problems with "unit system used by fcllaz"? 1 year 7 months ago #17726

  • Vital
  • Vital's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 80
  • Thank you received: 0
My OS: openSUSE Tumbleweeth 20230420 (KDE, 64bit)
I'm installing CT-8.0 Qt5 (only 64-bit)
On Fix System Libraries:
[INFO] OS Libraries Dir for 64 : /usr/lib64
..........................................
   [ OK ] /usr/lib64/libdl.so Exists
   [ OK ] /usr/lib64/libdl.so Exists
   [ OK ] /usr/lib64/libc.so Exists
   [ OK ] /usr/lib64/libpthread.so Exists
   [ OK ] /usr/lib64/libpthread.so Exists
   [ OK ] /usr/lib64/libX11.so Exists
   [ OK ] /usr/lib64/libgobject-2.0.so Exists
   [ OK ] /usr/lib64/libglib-2.0.so Exists
   [ OK ] /usr/lib64/libgthread-2.0.so Exists
   [ OK ] /usr/lib64/libgmodule-2.0.so Exists
   [ OK ] /usr/lib64/libatk-1.0.so Exists
   [ OK ] /usr/lib64/libXtst.so Exists
   [ OK ] /usr/lib64/libfreetype.so Exists
   [ OK ] /usr/lib64/libXxf86vm.so Exists
   [ OK ] /usr/lib64/libz.so Exists
   [ OK ] /usr/lib64/libGL.so Exists
   [ OK ] /usr/lib64/libGLU.so Exists
----------------------------------------------------
CodeTyphon Fix Links for SysLibraries
Finish !!!
On Remove and Build BigIDE:
Copyright (c) 1993-2022 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling fcllaz.pas
Fatal: (10022) Can't find unit system used by fcllaz
Fatal: (1018) Compilation aborted

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

Why problems with "unit system used by fcllaz"? 1 year 7 months ago #17727

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Please
-Open CTCenter
-Do CTCenter => CodeTyphon =>"Remove and build ALL"
-Save the log of CT Center action  more info
-Zip or 7zip this log file and post here as attach.
PilotLogic Core Programmer

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

Why problems with "unit system used by fcllaz"? 1 year 7 months ago #17728

  • Vital
  • Vital's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 80
  • Thank you received: 0

Please
-Open CTCenter
-Do CTCenter => CodeTyphon =>"Remove and build ALL"
-Save the log of CT Center action  more info
-Zip or 7zip this log file and post here as attach.

 

File Attachment:

File Name: log.zip
File Size:2 KB
Attachments:

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

Why problems with "unit system used by fcllaz"? 1 year 7 months ago #17729

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
NO This is only TyphonIDE build Log
your problem is in FreePascal build

-Do CTCenter => CodeTyphon =>"Remove and build ALL"

 
 
PilotLogic Core Programmer
Attachments:

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

Last edit: by Matis A..

Why problems with "unit system used by fcllaz"? 1 year 7 months ago #17730

  • Vital
  • Vital's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 80
  • Thank you received: 0

NO This is only TyphonIDE build Log
your problem is in FreePascal build

-Do CTCenter => CodeTyphon =>"Remove and build ALL"

 
 


 

File Attachment:

File Name: log_2023-04-22.zip
File Size:68 KB
Attachments:

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

Why problems with "unit system used by fcllaz"? 1 year 6 months ago #17731

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
We have the same problem on
openSUSE Tumbleweeth


 


We must make more tests to solve this  ...
PilotLogic Core Programmer
Attachments:

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

Why problems with "unit system used by fcllaz"? 1 year 6 months ago #17736

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
We final fix the FreePascal fpcm tool problem on 
openSUSE Tumbleweeth


 
PilotLogic Core Programmer
Attachments:

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

  • Page:
  • 1
  • 2