Forum > LCL

GTK2Int of package LCL does not find xlib.

<< < (2/4) > >>

Thanks TRon, now I am more confused than before... I understand that the Linux way is not for the faint of hearth...
Frankly don't know which package(s) I have to install to make that error go away...
And the fact that this processor is an ARM and not an AMD or Intel does not make things easy...

Issuing the command  apt search xlib I get four or five pages of output, not much useful...


xlib (actually libx) is a bit of a tricky one (it doesn't really adheres to what I just wrote).

--- Code: ---apt-get install libx11-dev

--- End code ---

should be able to do the trick for you.

Note that for linux it doesn't really matter if you are running on arm, powerpc or intel/amd. Most found instructions can be copied 1:1 unless it is specific for your hardware (kernel/driver firmware for example).

Thanks again TRon. Unfortunately that command did not help....
I get this :

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libx11-dev is already the newest version (2:1.7.2-1+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.



ahem..  :-[

My apologies.

Must have been drinking thee with some drug in them. It is the unit that it can't find, not the library (as per my previous responses).

are you sure you configured Lazarus correctly when you started it for the first time  ? e.g. was it able to locate the fpc executable ? How did you install fpc and what distribution file did you use to install (or did you use PFCUpDeluxe or another tool to install it) ?

Free Pascal not being able to locate its packages usually means that the fpc.cfg file is not setup correctly.

I installed both fpc and lazarus by compiling from the sources obtained from gitlab.
When the lazarus IDE started for the first time it declared OK for all the four boxes that were shown, bar what written below...

Maybe I will use the find command to locate all the instances of fpc and lazarus files, then remove them with rm -r .....  and at this point restart the installation process.... why this ? Because as a matter of facts, gitlab made me install fpc 3.3.1, and lazarus compiled without problems with this, but when lazarus started it complained that it wanted the sources of fpc 3.2.2 and not 3.3.1....
So i downloaded fpc 3.2.2 and pointed lazarus to that directory for the fpc source...

All of this is way above my head, so probably this is the reason of the error...



[0] Message Index

[#] Next page

[*] Previous page

Go to full version