Directory: /usr/lib/lazarus/1.0.10/ Warning: directory rtl not found lazarus / 1-Linux ---------------------------------------------------------------------- daniel_legrand · 2014-07-18 12:30 Hi, I call myself a beginner with Linux and also with Lazarus. I have tried to install the lazarus into my 64bit Linux Mint KDE environment with no results after about 20 install/remove process. Can someone please explain how to fix the path issue? Here is what i have: Lazarus:  /usr/lib/lazarus/1.0.10/ --> this is okay Compiler: /usr/bin/fpc --> this is okay FPC Sources: THIS IS NOT OKAY and here is the trouble: Directory: /usr/lib/lazarus/1.0.10/ Warning: directory rtl not found Please help me out to fix this! many thanks in advance -daniel ---------------------------------------------------------------------- Rails · 2014-07-18 15:08 Welcome to the forum. You appear to be missing the FPC source, among other things. You are also trying to install an old version of Lazarus. You should either use the current production version, Laz 1.2.4/FPC 2.6.4 at the moment, or the development version. I strongly suggest sticking with the production version until you are comfortable with both Linux and Lazarus. You need to completely remove any trace of the old Lazarus installations from your system prior to installing anything else. I suggest the following procedure. Install a graphical package manager if you don't already have on your system, especially if you are not fully familiar with the command line package management tools. I use synaptic. Using the package manager, search for and remove all traces of Lazarus on your system. Make sure the locate and updatedb utilities are installed. If not install them. Run updatedb, then run locate lazarus. Delete every reference you find except those you may find in /var/cache/apt/archives. They aren't needed if present, but it is best to delete them with the proper package management tools. They won't hurt anything be being there. Just don't try to install them. Now you need to make a decision. You have to decide what source you are going to use to get your Lazarus and FPC packages. Most distributions carry both in their repositories, but many tend to be out of date with the Lazarus packages, sometimes very out of date. I recommend you get them from the Download link on the left of this page. You will have to install them with the dpkg utility, as in  Code: [Select]sudo dpkg -i lazarus_1.2.4-0_amd64.deb You will also have to install the FPC packages -OR- you can use the FPC packages provided in your distro's repositories if they are up to date, meaning 2.6.4 or newer.  If you get stuck or have other issues, please don't try random stuff. You may end up back where you are now. Instead, post and someone will help you. ---------------------------------------------------------------------- daniel_legrand · 2014-07-18 17:54 Quote from: Rails on July 18, 2014, 05:08:01 pmWelcome to the forum. You appear to be missing the FPC source, among other things. You are also trying to install an old version of Lazarus. You should either use the current production version, Laz 1.2.4/FPC 2.6.4 at the moment, or the development version. I strongly suggest sticking with the production version until you are comfortable with both Linux and Lazarus. You need to completely remove any trace of the old Lazarus installations from your system prior to installing anything else. I suggest the following procedure. Install a graphical package manager if you don't already have on your system, especially if you are not fully familiar with the command line package management tools. I use synaptic. Using the package manager, search for and remove all traces of Lazarus on your system. Make sure the locate and updatedb utilities are installed. If not install them. Run updatedb, then run locate lazarus. Delete every reference you find except those you may find in /var/cache/apt/archives. They aren't needed if present, but it is best to delete them with the proper package management tools. They won't hurt anything be being there. Just don't try to install them. Now you need to make a decision. You have to decide what source you are going to use to get your Lazarus and FPC packages. Most distributions carry both in their repositories, but many tend to be out of date with the Lazarus packages, sometimes very out of date. I recommend you get them from the Download link on the left of this page. You will have to install them with the dpkg utility, as in  Code: [Select]sudo dpkg -i lazarus_1.2.4-0_amd64.deb You will also have to install the FPC packages -OR- you can use the FPC packages provided in your distro's repositories if they are up to date, meaning 2.6.4 or newer.  If you get stuck or have other issues, please don't try random stuff. You may end up back where you are now. Instead, post and someone will help you. Hello, thanks for the reply! I am still out because i simply don't understand what you are saying because i thought my question was clear. Does anyone has any clear guide of how to install? I have now cleaned everything as you adviced but i still have no idea of where to get a working package because none of the available packages does work! I have installed by using synaptic as well and the result is simply the same. It keeps asking for FPC or giving about million errors of missing lpk (or whatever they were) files. It is very nice to have Lazarus, i just wish there would be some clear instructions of how to install too. ---------------------------------------------------------------------- Leledumbo · 2014-07-18 18:43 Quote from: daniel_legrand on July 18, 2014, 07:54:26 pmHello, thanks for the reply! I am still out because i simply don't understand what you are saying because i thought my question was clear. Does anyone has any clear guide of how to install? I have now cleaned everything as you adviced but i still have no idea of where to get a working package because none of the available packages does work! I have installed by using synaptic as well and the result is simply the same. It keeps asking for FPC or giving about million errors of missing lpk (or whatever they were) files. It is very nice to have Lazarus, i just wish there would be some clear instructions of how to install too. Your question was clear and so is the answer (well, somewhat). Grab all .deb-s from this page and install all of them manually from terminal (unless you have an application that supports installing more than 1 deb at a time). If you download them into the same folder (and no other .deb there), you can simply: Code: [Select]sudo dpkg -i *.debfpcsrc should be installed to /usr/share/fpc if I'm not mistaken (I haven't used the deb version for a looong time). ---------------------------------------------------------------------- Rails · 2014-07-18 18:44 I gave you the link to the packages. It is labeled Download on the left side of the page. Specifically, go to  http://sourceforge.net/pro jects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/. I also gave you the command to install the package manually using the command line. Generically, it is dpkg -i as root. Or you can install as an ordinary user by prefixing it with the sudo command. You cannot use synaptic to install the 1.2.4 package unless you can find a compatible repository hosting it. You will need some way to verify the repository as trustworthy if it isn't run by a major distro or other known entity. The alternative is the manual command line install using dpkg as mentioned above.. It works fine and provides copious messages during the process. What is your level of experience with Linux? If you don't have at least some command line experience, Lazarus should probably wait until you have attained something beyond beginner status. Trying to learn a complex integrated development environment and a new operating system all at once is quite challenging even for development professionals. ---------------------------------------------------------------------- Rails · 2014-07-18 18:49 Quote from: Leledumbo on July 18, 2014, 08:43:17 pm Your question was clear and so is the answer (well, somewhat). It's a dilema. Provide too much information and you confuse the OP. Provide too little and the same thing happens. ---------------------------------------------------------------------- daniel_legrand · 2014-07-18 19:23 Quote from: Leledumbo on July 18, 2014, 08:43:17 pmQuote from: daniel_legrand on July 18, 2014, 07:54:26 pmHello, thanks for the reply! I am still out because i simply don't understand what you are saying because i thought my question was clear. Does anyone has any clear guide of how to install? I have now cleaned everything as you adviced but i still have no idea of where to get a working package because none of the available packages does work! I have installed by using synaptic as well and the result is simply the same. It keeps asking for FPC or giving about million errors of missing lpk (or whatever they were) files. It is very nice to have Lazarus, i just wish there would be some clear instructions of how to install too. Your question was clear and so is the answer (well, somewhat). Grab all .deb-s from this page and install all of them manually from terminal (unless you have an application that supports installing more than 1 deb at a time). If you download them into the same folder (and no other .deb there), you can simply: Code: [Select]sudo dpkg -i *.debfpcsrc should be installed to /usr/share/fpc if I'm not mistaken (I haven't used the deb version for a looong time). THANKS A LOT!!  Manual installation was the key. It works very nicely now. Thanks a lot to all for the answers.