Forum > Packages and Libraries

[SOLVED]How do you install package(s)?

(1/3) > >>

Awesome Programmer:
Seriously, I am just beating my head against a wall trying to figure this out. How do you install a third-party tool or component to Lazarus IDE? or What are the steps for installing package(s)? No matter how I try or how many time I stupidly repeat the process, I end up with the same result - not being able to install the package. Maybe it just me. I don't know. I come from Delphi Environment. So, I know little bit about how IDE supposed to work.

Very first time once the Lazarus IDE was installed I kept trying to install a package. IDE kept telling me that it successfully installed the package but when I go to check on the tab(s), it was not found. There were other component(s) that wouldn't even compile at all. So, I thought maybe because I don't have full permission under User Account. Then, I switched to Root user. Tried to do exactly the samething - install package(s). Although in the beginning IDE acted the same way, I somehow got the IDE to display the third-party tools on the tabs after I installed and rebuild Lazarus. Then, I thought I was home free. The excitement was short lived when I started to get GDB DEBUGGER ERROR from which I could never recover at all. So, I updated Linux system thinking it should fix my GDB problem with Lazarus. Unbeknown to me, the update also updated my Lazarus IDE. Well, the updated Lazarus did not display any of the thrid-party component on its tabs. I thought, I needed to reinstall the packages again. This is where I am for the last 2 days now. Trying to re-install these packages back into Lazarus but have been very very unsuccessful. Although IDE is telling me it successfully installed the package(s), I don't see them on the Tabs PERIOD under root or user account. I even logged into Root and tried the same thing. It is acting exactly the same way.

I am working with PCLinuxOS linux system, Lazarus 1.0.8 and fpc 2.6.2.

I know there are self-help tutorials and wiki links on this problem, but I need someone from here to give me clear steps that they took to install packages. Thank you.

Leledumbo:
Just exactly as the wiki explains:
for packages already known to the IDE

* Package->Install/uninstall package
* Save and rebuild IDEfor other packages:

* Package->Open package file
* Install
* Confirm rebuildDistribution shouldn't matter much, except when the filesystem is not standard (some distros, but I believe PCLinuxOS is not one of them).

How do you get Lazarus anyway?

Awesome Programmer:

                                    GOD
I get my Lazarus from  ;D. Just kidding  :D. I get it from repository. Mark it for installation and apply. Viola! It is install after few seconds. Then, I download the third party tools.

Does 64 bit or 32 bit OS effect Lazarus in any way shape or form?

JuhaManninen:

--- Quote from: reltek on May 15, 2013, 07:52:17 pm ---Does 64 bit or 32 bit OS effect Lazarus in any way shape or form?

--- End quote ---

No, it works in both.
Installing a package compiles the whole IDE. The new version is placed in your home dir when you don't have enough rights for the original dir.
Start it with "startlazarus", it finds the right executable.

Awesome Programmer:
Okay, I just re-installed PCLinuxOS and installed fresh copy of Lazarus. I try to install lcluniqueinstance.lpk package. It compiles and installs when you click on install. After that it says, "Make: Leaving Directory '/usr/lib64/lazarus." That's it. Nothing more nothing less and I still don't see the icon on the tab.

So, my question to you is this. How do you rebuild Lazarus after installing a package? Please, don't just say "confirm new build." Tell me how you get to that menu option or what not. As Leledumbo pointed for other packages, I don't get "Confirm Rebuild" option at all after clicking on pulldown menu Use---->Install.

I am using Lazarus 1.0.8, fpc 2.6.2 and PCLinuxOS distribution.

The picture attached is what I get to see after I click on installing it. So, Where in the world is "Confirm Rebuild" option?

Navigation

[0] Message Index

[#] Next page

Go to full version