Recent

Author Topic: How to get started on Linux  (Read 11108 times)

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
How to get started on Linux
« on: April 13, 2004, 11:34:28 am »
I plan to port a project from Delphi/Windows to Linux using Lazarus.

In the Borland Kylix forum and on other resources I found encouraging messages about Lazarus now standing up from the dead and getting up to speed as a recue for the frustated kylix users.

I d/l ed the Windows Binary and did a small test which was encouraging.

OTOH I see that the latest binary for Lazarus/Linux is exacty one year old.

Is Lazarus sleeping since then or is there a more advanced source code version I should uinstall ?

-Michael

theos

  • Guest
Re: How to get started on Linux
« Reply #1 on: April 13, 2004, 12:50:26 pm »
Is Lazarus sleeping since then or is there a more advanced source code version I should uinstall ?

Download from here http://sourceforge.net/projects/lazarus/

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: How to get started on Linux
« Reply #2 on: April 13, 2004, 12:52:49 pm »
Quote from: "mschnell"

I d/l ed the Windows Binary and did a small test which was encouraging.

You did it the right way, first see the windows version and then the linux version. If you do it the  other way around, you might end up disapointed.
Quote

OTOH I see that the latest binary for Lazarus/Linux is exacty one year old.

Is Lazarus sleeping since then or is there a more advanced source code version I should uinstall ?

No, not sleeping at all. See for the latest downloads at: http://sourceforge.net/project/showfiles.php?group_id=89339.

The latest version is available via cvs: http://www.lazarus.freepascal.org/modules.php?op=modload&name=StaticPage&file=index&sURL=cvs

HTH,
Vincent.

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
How to get started on Linux
« Reply #3 on: April 13, 2004, 01:09:00 pm »
Thanks. I found the new versions on sourceforge. It's quite misleading that on lazarus.org we see the old versions under "download".

I d/l ed the windows binary and installed it.

Unfurtunately that did not work.  When executing the setup.exe I get "source file corrupted" with two files.

Nonetheless Lazarus does start and identifies as "0.9.1 beta"

I can compile my (multi-thread-) testing progect.

But whan I  start it it  I get nothinig but a (German) windows error window "Project1 illegal request" .

I can't set any breakpoints, either. With the 0.9.0 version I got breakpoint indicators, but the program did not break whan reaching one. With the 0.9.1 version I even don't get indicators.

Using the 0.9.0.1  version from the Lazarus web site this project did run fine.

Anything I can do

-Michael

mhess

  • Administrator
  • New Member
  • *
  • Posts: 18
    • http://www.miraclec.com
How to get started on Linux
« Reply #4 on: April 13, 2004, 03:32:59 pm »
Quote from: "mschnell"
Thanks. I found the new versions on sourceforge. It's quite misleading that on lazarus.org we see the old versions under "download".


Thanks for pointing that out. I updated the various pieces of info inthe downloads section.

Quote from: "mschnell"
Unfurtunately that did not work.  When executing the setup.exe I get "source file corrupted" with two files.


We aware of this one thanks. The down and dirty is to write down the names of the two files and then go pull them from the webcvs of the fpc source. Sourceforge corrupted the file. Hopefully we can get a new version uploaded soon.

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
How to get started on Linux
« Reply #5 on: April 14, 2004, 08:18:04 am »
Thanks.

Any comment on the other questions ?

(1)  Multi Threadded test project crashes with the new version (I tested a test project that came with the d/l and it did work)

(2) Can't set Breakpoints.

Thanks again, Michael

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2512
How to get started on Linux
« Reply #6 on: April 14, 2004, 10:31:43 am »
Quote from: "mschnell"

(2) Can't set Breakpoints.

Is this on Linux or Win32 ?
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
How to get started on Linux
« Reply #7 on: April 14, 2004, 01:44:07 pm »
Win32. I did not yet start with Linux.

I'm intending to start with installing Suse 9.1 (with Kernal 2.6) when it's available and then try to get Lazarus running.

-Michael

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2512
How to get started on Linux
« Reply #8 on: April 15, 2004, 12:25:14 pm »
Debugger support is limited on win32 at the moment
I've to look atr it someday.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Anonymous

  • Guest
How to get started on Linux
« Reply #9 on: April 15, 2004, 11:23:32 pm »
FYI,

There is also a problem with the listviews in win32. They show up empty (or better without text), so you can't view breakpoints in the win32 interface.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
How to get started on Linux
« Reply #10 on: April 15, 2004, 11:40:42 pm »
Previous post was by me.

Vincent.

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
How to get started on Linux
« Reply #11 on: April 19, 2004, 11:36:34 am »
I'm going to do a test on Linux next week.

-Michael

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
How to get started on Linux
« Reply #12 on: April 20, 2004, 11:58:10 am »
BTW. I kept waiting till now as I wanted to start cleanly with a _current_ Linux. So I'm going to do delete my old Linux installaetion and use Suse 9.1 with Kernel 2.6 as soon as I can get  it (supposedly next week).

I just read that Kylix debugging does not work on Kernel 2.6. Are there similar issues with Lazarus ?

-Michael

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2512
How to get started on Linux
« Reply #13 on: April 26, 2004, 01:30:40 pm »
Debugging is not kernel dependent as long as it can be done with gdb.  
Lazarus internally used gdb for debugging, si if gdb can debug on a platforn, Lazarus can.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018