Difference between revisions of "Lazarus Can't find unit system used by fcllaz"
(→Lazarus Can't find unit system used by fcllaz: new section) |
|||
Line 1: | Line 1: | ||
− | + | [[ Lazarus Can't find unit system used by fcllaz ]] | |
You typically see this error message following a fresh install or when trying to build FreePascal and Lazarus from source code. The error means literally that the pre-compiled units of FreePascal for one reason or another are simply not being found by the compiler. There are generally 2 sources for these errors -- left over remnants from old install and environment problems. | You typically see this error message following a fresh install or when trying to build FreePascal and Lazarus from source code. The error means literally that the pre-compiled units of FreePascal for one reason or another are simply not being found by the compiler. There are generally 2 sources for these errors -- left over remnants from old install and environment problems. | ||
Line 11: | Line 11: | ||
== Finding Dangling Files == | == Finding Dangling Files == | ||
+ | |||
+ | If you have had previous installations of FreePascal or Lazarus |
Revision as of 20:56, 28 June 2016
Lazarus Can't find unit system used by fcllaz
You typically see this error message following a fresh install or when trying to build FreePascal and Lazarus from source code. The error means literally that the pre-compiled units of FreePascal for one reason or another are simply not being found by the compiler. There are generally 2 sources for these errors -- left over remnants from old install and environment problems.
Program Placement
There are currently at least 2 views of where FreePascal and Lazarus are to be installed on Linux, Unix and similar systems. The first is a more security conscious thought pattern where the executables are placed in either /root/bin or /usr/bin, libraries are placed in /root/lib or /usr/lib, shared files are placed in /usr/share, and configuration files in /home/username. The other favors control by the user by placing executables in /home/username/FreePascal, libraries and pre-compiled units in /home/username/FreePascal/lib/fpc/3.0.0/units and configuration files in /home/username. The word 'username' is typically the users name or handle. FreePascal could be a higher directory with lower directories for fpc-3.0.0 and lazarus. I follow this latter paradigm keeping all of my FreePascal files in one convenient location.
Finding Dangling Files
If you have had previous installations of FreePascal or Lazarus