Recent

Author Topic: Lazarus 0.9.27 for PortableApps  (Read 39727 times)

BlueIcaro

  • Hero Member
  • *****
  • Posts: 792
    • Blog personal
Re: Lazarus 0.9.27 for PortableApps
« Reply #15 on: May 23, 2009, 05:51:24 pm »
Do you think add your lazarus portable to Portable Apps distro?
/BLueIcaro

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Lazarus 0.9.27 for PortableApps
« Reply #16 on: May 25, 2009, 07:59:06 am »

Nix

  • Newbie
  • Posts: 5
    • Waze Srbija
Re: Lazarus 0.9.27 for PortableApps
« Reply #17 on: June 03, 2009, 12:53:39 am »
Great job :)  ;D
In scientia veritas, in arte honestas :)

PhilipCopeman

  • Newbie
  • Posts: 6
    • http://www.turbocash.net
Re: Lazarus 0.9.27 for PortableApps
« Reply #18 on: January 19, 2010, 05:36:55 pm »
Juan have you got anywhere wiht this. I run the TurboCASH Accountin porject. I am looking at porting from Delphi 7 to Lazarus. It woudl eb a massive plud for me to have a movabel IDE and project data. IE you dpoanlaod the whjoel; thing and jsut press the gree button to compile - no package installation.

Have you been able to get thsi right wth Lazarus?

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Lazarus 0.9.27 for PortableApps
« Reply #19 on: January 19, 2010, 09:08:33 pm »
I've tested portable Lazarus several times. It is a real pain to install additional components because of problems with the compiler paths.

The developer is aware of this because I kept him updated with my test results.

It is great if you use only the basic Lazarus components but if you're like me & you install/use a lot of third party components, you're in for a hard time.

I hope the compiler path problems will be corrected because it'll be very interesting to have a fully working portable version of Lazarus.
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

MisterKode

  • New Member
  • *
  • Posts: 33
    • Stuff I like, yeh
Re: Lazarus 0.9.27 for PortableApps
« Reply #20 on: February 25, 2010, 11:31:07 am »
It is great if you use only the basic Lazarus components but if you're like me & you install/use a lot of third party components, you're in for a hard time.

I hope the compiler path problems will be corrected because it'll be very interesting to have a fully working portable version of Lazarus.

I'm looking forward to a new version with these problems fixed. :)
It's not a bug...just an undocumented feature ;)
Carl Kruck :: www.graphicdreamz.net
Intel Core 2 Quad, 8Gb RAM, Nvidia Geforce GTX 260, Windows 7 HP SP1 64-Bit

timmermanj

  • New Member
  • *
  • Posts: 39
Re: Lazarus 0.9.27 for PortableApps
« Reply #21 on: July 08, 2010, 12:49:58 pm »
Anybody any results for a portable Lazarus with 3rd party components?

Thanks!

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Lazarus 0.9.27 for PortableApps
« Reply #22 on: July 08, 2010, 03:21:07 pm »
Quote
Anybody any results for a portable Lazarus with 3rd party components?
X-Lazarus from winpenpack and my own build (can't upload, I don't bring the source) can do that :D

timmermanj

  • New Member
  • *
  • Posts: 39
Re: Lazarus 0.9.27 for PortableApps
« Reply #23 on: July 08, 2010, 03:37:12 pm »
I've tried X-lazarus but from the moment Lazarus has 3rd party components it can't find the lpk's and starts making dummy packages.

Could you please tell me how you solved this?

Thanks!
« Last Edit: July 08, 2010, 03:39:25 pm by timmermanj »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Lazarus 0.9.27 for PortableApps
« Reply #24 on: July 09, 2010, 09:14:35 am »
Ensure the 3rd party components lie under components folder and copy your: <windows drive>\Documents and Settings\Local Settings\Application Data\lazarus to <X-Lazarus dir>\User\<I forgot till this point, if you've ever run it once, you should a notice a directory containing the same set of files as the one I told to copy>.

If the problem persists, that means the package links are hardcoded (C:\lazarus\components instead of $(LazarusDir)\components for instance). Try reinstalling the packages.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Lazarus 0.9.27 for PortableApps
« Reply #25 on: July 09, 2010, 11:30:40 am »
Re: portable apps :

For 0.9.29+ I've added a commandline --lazarusdir parameter to startlazarus/lazarus to specify the lazarusdir.

If the laz configuration has everything relative to lazarusdir, and is configured with

If people then execute lazarus over a simple batchfile that detects the driveletter, and passes a corrected lazarusdir and --primary-config-dir to startlazarus(I used driveletter\lazarus\config for that), one would already be pretty close with a portable apps installation.

Unfortunately, this hasn't been tested to well yet. For older lazarus versions I used the following script/program:

http://www.stack.nl/~marcov/fixxml.zip, which uses the FPC XML package to fix the lazarusdir in the xml directly


 

TinyPortal © 2005-2018