[Lazarus] How to install LNet package in Lazarus 1.6RC2?
Want to install LNet into the Lazarus component palette in order to create a GUI program with TCPIP socket communications. I have already installed the lnet package in FPC 3.0.0 using the fppkg command line function. Then I could use lnet in a console program. Now I need the visual components for lnet in Lazarus 1.6RC2, but I could not find how to install them. I have only found this on the Internet: http://wiki.freepascal.org/lNet#Installation and its description does not work... 1) I have extracted the lnet-0.6.5.zip file into components. Contrary to directions there was no lnet- dir created, just a lnet dir without any version number. 2) Next I am supposed to open the lnetvisual.lpk package file in Lazarus "Component/Open", but there is no such "Component" menu command in my Lazarus! The closest I get is "Package/Open package file", so I tried that. 3) Next step is "Click on Install", but there exists no such button or function! Since already at the first step the instruction was incorrect I might have wandered totally off track here. Please supply a correct instruction to install lnet components in Lazarus 1.6RC2 (maybe not possible?) (And update the wiki page above.) -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to install LNet package in Lazarus 1.6RC2?
On Thu, 21 Jan 2016 14:29:14 +0100 Bo Berglundwrote: >[...] > 2) Next I am supposed to open the lnetvisual.lpk package file in > Lazarus "Component/Open", but there is no such "Component" menu > command in my Lazarus! > The closest I get is "Package/Open package file", so I tried that. Yes. It was renamed some years ago. I updated the wiki. > 3) Next step is "Click on Install", but there exists no such button or > function! It's under "Use". Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to install LNet package in Lazarus 1.6RC2?
On Thu, 21 Jan 2016 15:19:42 +0100, Mattias Gaertnerwrote: >On Thu, 21 Jan 2016 14:29:14 +0100 >Bo Berglund wrote: > >>[...] >> 2) Next I am supposed to open the lnetvisual.lpk package file in >> Lazarus "Component/Open", but there is no such "Component" menu >> command in my Lazarus! >> The closest I get is "Package/Open package file", so I tried that. > >Yes. It was renamed some years ago. I updated the wiki. > > >> 3) Next step is "Click on Install", but there exists no such button or >> function! > >It's under "Use". > Thanks, what I did meanwhile was this: - Clicked the Compile button - Nothing seemed to happen so: - I clicked the Use/Install function - Then it said something about already busy or similar - Still there appeared to be nothing going on, but I went for afternoon tea - Came back and saw nothing changed so I assumed the Compile part was done and again activated Use/Install. - But as before there is no indication that something is actually going on - It would be nice with a status message "Building package - Rebuilding Lazarus - Done" While writing this post I suddenly saw some blinkings happening on the background window where VNC shows my RPi2 desktop, so I had a look and it looks exactly as when I left off. However, I now have an lNet tab on my component palette! Question: Is there supposed to be some indication towards the user that something is going on when a package is being compiled or installed? If not then I suggest that it is added to Lazarus. If thers is a message then I certainly saw nothing, so could it be platform dependent (Raspberry Pi2/Raspbian Jessie in my case) or display dependent (tightvnc server on RPi2 and VNC client on Win7 laptop)? I installed FPC 3.0.0 and Lazarus 1.6RC2 from svn sources. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to install LNet package in Lazarus 1.6RC2?
On Thu, 21 Jan 2016 17:22:51 +0100, Bo Berglundwrote: > >Question: >Is there supposed to be some indication towards the user that >something is going on when a package is being compiled or installed? >If not then I suggest that it is added to Lazarus. > >If there is a message then I certainly saw nothing, so could it be >platform dependent (Raspberry Pi2/Raspbian Jessie in my case) or >display dependent (tightvnc server on RPi2 and VNC client on Win7 >laptop)? > Found the problem: The output goes to the Messages pane, which was hidden by a form belonging to the currently loaded project. So I did not see a thing. I started to suspect this but when I tried to minimize or close the form it did not work (maybe because Lazarus was busy). I managed to move it though and saw the Messages pane with the activity. Nice if the loaded project would have been closed or hidden while installing the package... -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus