Recent

Author Topic: [solved] OPM - LAMW installation failed  (Read 865 times)

Handoko

  • Hero Member
  • *****
  • Posts: 4160
  • My goal: build my own game engine using Lazarus
[solved] OPM - LAMW installation failed
« on: February 27, 2021, 10:27:39 am »
I cannot install LAMW using Online Package Manager. It said: Cannot download package: "LAMW.zip". Error message: "Error reading data from socket". But actually it almost finished downloading it: 55,0/56,7 MB. I tested it twice.

Tested on a fresh installed virtual machine:
Ubuntu 18.04.5
Lazarus 2.0.10 64-bit GTK2

Was it a temporary connection issue or a bug in the installation script?
« Last Edit: March 01, 2021, 07:48:31 am by Handoko »

GetMem

  • Hero Member
  • *****
  • Posts: 3998
Re: OPM - LAMW installation failed
« Reply #1 on: February 27, 2021, 12:10:44 pm »
I cannot install LAMW using Online Package Manager. It said: Cannot download package: "LAMW.zip". Error message: "Error reading data from socket". But actually it almost finished downloading it: 55,0/56,7 MB. I tested it twice.

Tested on a fresh installed virtual machine:
Ubuntu 18.04.5
Lazarus 2.0.10 64-bit GTK2

Was it a temporary connection issue or a bug in the installation script?
It works fine at my side, however LAMW from OPM is old. I will update it soon. Please also note that LAMW does not support Lazarus trunk.
Nowadays the best way to install LAMW is via LAMW Manager v0.3.1, you can find it here: https://github.com/DanielOliveiraSouza/LAMW4Windows-installer. Linux is also supported. LAMW Manager install everything for you jdk, sdk included. I tested a few weeks ago on window, the install was flawless.

PS: I updated LAMW in OPM. Tested with Lazarus 2.0.10(windows),  works fine.

« Last Edit: February 27, 2021, 12:31:58 pm by GetMem »

Handoko

  • Hero Member
  • *****
  • Posts: 4160
  • My goal: build my own game engine using Lazarus
Re: OPM - LAMW installation failed
« Reply #2 on: February 28, 2021, 03:27:04 pm »
Thank you for telling me there is a LAMW Manager for Linux.

Today I set a virtual machine for Ubuntu 18.04.5 and had Lazarus 2.0.10 properly installed. Download and run that script. Everything seemed okay but after about 10 minutes I got a "Unknown Host dl.google.com: Name or service not known". This Sunday is not my lucky day.

Does anyone have suggestion to fix it?

Handoko

  • Hero Member
  • *****
  • Posts: 4160
  • My goal: build my own game engine using Lazarus
Re: OPM - LAMW installation failed
« Reply #3 on: March 01, 2021, 07:48:02 am »
This thread should considered as solved.

I started a new thread for the problem, which is not OPM related.
https://forum.lazarus.freepascal.org/index.php/topic,53519.msg395966.html#msg395966

 

TinyPortal © 2005-2018