Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-01

How to install LNet package in Lazarus 1.6RC2?

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

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 <lazarus>components. Contrary to directions there was no lnet-<version> 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

Reply by email

Mattias Gaertner
to Bo Berglund
Show quoted text 5 lines
[...] 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

Reply by email

Bo Berglund
to Mattias Gaertner
Mattias Gaertner wrote 17 lines
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

Reply by email

Bo Berglund
to Bo Berglund
Bo Berglund wrote 11 lines
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

Reply by email