Recent

Author Topic: LAMW Manager  (Read 3173 times)

DanielTimelord

  • New Member
  • *
  • Posts: 18
LAMW Manager
« on: May 10, 2019, 11:20:56 pm »
LAMW Manager
   version 0.3.0 

"A  installer  to  generate Lazarus IDE [and all equirements!] ready to develop for Android!"

(I) LAMW4Linux-installer

   A complete installer and manager of LAMW for Linux
      ref. https://github.com/DanielOliveiraSouza/LAMW4Linux-installer

   1) Download [and unzip]:
      https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/archive/master.zip

   2) Install LAzarus + LAMW and all dependencies:

      Go to directory lamw_manager and run:
         ./lamw_manager
   
   3) Install LAzarus + LAMW and dependencies and Run Android  GUI SDK Manager

      Go to directory lamw_manager and run:      
         ./lamw_manager --sdkmanager

   4) Update LAMW framework from github   [warning: close the Lazarus IDE]
      Go to directory lamw_manager and run:
         ./lamw_manager --update_lamw


   Important Note:

      Always launcher  Lazarus IDE using the icon LAMW4Linux on Start Menu.


   For more info read "LAMW Manager v0.3.0 Manual"
        https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/man.md

(II) LAMW4Windows-installer

   A complete installer and manager of LAMW for Windows
      ref https://github.com/DanielOliveiraSouza/LAMW4Windows-installer

   1) Download "lamw_manager_setup.exe" here:

      https://raw.githubusercontent.com/DanielTimelord/Laz4LAMW-win-installer/master/lamw_manager/lamw_manager_setup.exe

      [Optional]
      https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/archive/master.zip

   2) Install Laz4Android + LAMW and all dependencies:
   
          Double-click "lamw_manager_setup.exe"

          [Optional]
          Go to folder C:\lamw_manager
          Right-click "lamw_manager.bat" and "Run as administrator"

   3) Update LAMW from github [warning: close the Lazarus IDE]
       
      Go to folder C:\lamw_manager
          Right-click "lamw_manager.bat" and "Run as administrator"

   Important Note:
      Always launcher  Lazarus IDE using the icon LAMW4Windows on Start Menu.


Congratulations!!

   You are now a Lazarus for Android developer!
      Building Android application with LAMW is RAD!

Have fun!
« Last Edit: May 21, 2019, 03:24:58 am by DanielTimelord »

nouzi

  • Full Member
  • ***
  • Posts: 140
Re: LAMW Manager
« Reply #1 on: May 11, 2019, 12:15:02 am »
Thank for all nice job
my english is  bad
Lazarus 2.0 free pascal 3.0.4
Lazarus trunk  free pascal trunk 
System : windows 7 64bit

jmpessoa

  • Hero Member
  • *****
  • Posts: 1470
Re: LAMW Manager
« Reply #2 on: May 11, 2019, 06:40:37 pm »
Hi, DanielTimelord!

You solved a central problem to reach the goal of taking the lazarus programming for android  a possibility for all!

LAMW Manager is "LAMW for the masses"!

Thanks for your great job!
« Last Edit: May 11, 2019, 06:45:32 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

WayneSherman

  • Jr. Member
  • **
  • Posts: 58
Re: LAMW Manager
« Reply #3 on: May 20, 2019, 02:19:01 am »
      Go to directory lamw_manager and run:
         ./lamw_manager

Thanks for your work on this.  I tested on a Xubuntu 16.04.  lamw_manager runs to completion, but when I launch Lazarus, I get several error messages of "Package file not found".  Example attached.

Saylo_49

  • New Member
  • *
  • Posts: 34
Re: LAMW Manager
« Reply #4 on: May 20, 2019, 03:10:53 am »
Hello
Is it possible to create a self contained installation of (LAMW+Laz4android) on Windows
to not corrupt my current lazarus windows-targeting installation
Lazarus 2.0.2 - FPC 3.0.4 - Win32

jmpessoa

  • Hero Member
  • *****
  • Posts: 1470
Re: LAMW Manager
« Reply #5 on: May 20, 2019, 03:30:51 am »

Hi, Saylo_49!

Yes!

The section

"(II) LAMW4Windows-installer"  above is just about  fresh  "LAMW+Laz4android" install...
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Saylo_49

  • New Member
  • *
  • Posts: 34
Re: LAMW Manager
« Reply #6 on: May 20, 2019, 03:35:42 am »
Hi, jmpessoa

can you show me how to create a self contained installation

P.s: I have already the Android SDK tools and platforms installed
Lazarus 2.0.2 - FPC 3.0.4 - Win32

jmpessoa

  • Hero Member
  • *****
  • Posts: 1470
Re: LAMW Manager
« Reply #7 on: May 20, 2019, 03:46:09 am »
Quote
can you show me how to create a self contained installation...

A monolithic "bundle"?  No,  but "lamw_manager_setup.exe"  will take care of all install process...

   https://raw.githubusercontent.com/DanielTimelord/Laz4LAMW-win-installer/master/lamw_manager/lamw_manager_setup.exe

alternatively, you can try the original/ordinary LAMW "how to":

https://github.com/jmpessoa/lazandroidmodulewizard/blob/master/LAMW%20Getting%20Started.txt
« Last Edit: May 20, 2019, 03:49:24 am by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

jmpessoa

  • Hero Member
  • *****
  • Posts: 1470
Re: LAMW Manager
« Reply #8 on: May 20, 2019, 04:47:13 am »

Hi,  WayneSherman!

You can try

./lamw_manager   

again! 

so, "lamw_manager" will try auto-repair your system ....

otherwise: 

./lamw_manager --reset

[from  ./lamw_manager --help ]

will do a new "clean up" install....
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

WayneSherman

  • Jr. Member
  • **
  • Posts: 58
Re: LAMW Manager
« Reply #9 on: May 20, 2019, 09:02:15 pm »

...try ./lamw_manager again
so, "lamw_manager" will try auto-repair your system ....

otherwise:  ./lamw_manager --reset
will do a new "clean up" install....

Thanks for the suggestions.  I tried both, but had the same problem.  The LAMW Lazarus packages are not installed.

DanielTimelord

  • New Member
  • *
  • Posts: 18
Re: LAMW Manager
« Reply #10 on: May 20, 2019, 10:04:32 pm »
Hi, Mr. Wayne,

What version [tag] of Lamw_Manager did you use?
« Last Edit: May 21, 2019, 12:16:08 am by DanielTimelord »

WayneSherman

  • Jr. Member
  • **
  • Posts: 58
Re: LAMW Manager
« Reply #11 on: May 21, 2019, 12:13:41 am »
What version of LAMW did you use?

The installer didn't ask to choose a version.  Assuming lamw_manager downloads LAMW trunk from GIT then it was the latest version since I tried a couple hours ago.
My first attempt was on May 19 which had the same result.  I tested with both Xubuntu 16.04 and 18.04 with same result.

Thanks

DanielTimelord

  • New Member
  • *
  • Posts: 18
Re: LAMW Manager
« Reply #12 on: May 21, 2019, 12:42:17 am »
What version of LAMW did you use?

The installer didn't ask to choose a version.  Assuming lamw_manager downloads LAMW trunk from GIT then it was the latest version since I tried a couple hours ago.
My first attempt was on May 19 which had the same result.  I tested with both Xubuntu 16.04 and 18.04 with same result.

Thanks
Wayne, have you started applying the LAMW 4Linux launcher (start menu)?
I just ran ./lamw_manager on a virtual machine (virgin) with ubuntu 16.04 and it ran normally!

WayneSherman

  • Jr. Member
  • **
  • Posts: 58
Re: LAMW Manager
« Reply #13 on: May 21, 2019, 01:35:43 am »
Wayne, have you started applying the LAMW 4Linux launcher (start menu)?

That was the problem.  I wasn't launching it correctly.  I saw the lamw4linux symlink in the lazarus folder (which points directly to the lazarus binary) and it doesn't launch correctly.  But after searching in my program menu, I found the LAMW4Linux launcher which starts Lazarus without any errors. (sorry I didn't read your instructions carefully  :-[ ) Thank you for your help.
« Last Edit: May 21, 2019, 01:45:18 am by WayneSherman »

PeterEvans

  • New member
  • *
  • Posts: 5
Re: LAMW Manager
« Reply #14 on: May 21, 2019, 01:59:12 am »
How does the LAMW Manager work under the hood?
There is the third party tool Fpcupdeluxe which "It will ease the install of FPC and Lazarus.".

Does LAMW Manager do everything Fpcupdeluxe does plus do the Android side of things as well?

Is it possible to use Fpcupdeluxe, which has been tried and tested over more than two years, and then  run LAMW Manager?

Is that even a viable option?

I just need to clarify how LAMW manager is intended to be used.