Lazarus

Free Pascal => Beginners => Topic started by: mai on October 16, 2017, 09:31:55 am

Title: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 16, 2017, 09:31:55 am
 :-X   dude, if you install Laz via a Debian package manager (say, synaptic or apt), most likely, you have already set up yourself for total failure in Pascal.    :-\


Laz is nothing like Delphi, which just worked and gave you a powerful RAD/IDE after just one double-click.

With Laz, you have to struggle for days to get anywhere at all.

Is there anyone out there, who actually had a favorable first impression of Laz ? I kinda doubt it ...  ;D
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: segfault on October 16, 2017, 09:43:47 am
I use a debian distro and didn't have any issues installing the latest Lazarus from the download debs. I haven't installed the cross-compiler yet so I may have some issues there but the basic set up was trouble free.

So yes, I'm a newbie and have had a first time favourable impression of Lazarus. I think the developers have done an amazing job.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 16, 2017, 10:13:16 am
:-X   dude, if you install Laz via a Debian package manager (say, synaptic or apt), most likely, you have already set up yourself for total failure in Pascal.    :-\


Laz is nothing like Delphi, which just worked and gave you a powerful RAD/IDE after just one double-click.

With Laz, you have to struggle for days to get anywhere at all.

Is there anyone out there, who actually had a favorable first impression of Laz ? I kinda doubt it ...  ;D
What distro did you install Lazarus with? The Debian package manager is used by several distros, including non-debian based. My experience from the last couple of years is that Lazarus and FPC work great out of the box with Debian 7 to 9 after installation from the repo. No struggle whatsover. With GTK based desktops everything should work right away. With a Qt based desktop you may have to manually install the lcl-qt library (from the repo).

It should be noted that distros based on Debian Testing (like Ubuntu or Mint) may cause problems, often dependency related. In fact, I did try those distros and they weren't as stable as Debian in the long run. Most common problem was broken dependencies. But even there your "struggle for days" sounds exaggerated.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: marcov on October 16, 2017, 10:39:41 am
Is there anyone out there, who actually had a favorable first impression of Laz ? I kinda doubt it ...  ;D

Well, mine was before 2000, so let's just forget that. But my first impression of Delphi was not that great either. I found it overly complicated (compared to TP, with mandatory projects and all), and manual editing in the protected fields made the designer give up, and (still) don't understand why the main program needs a different extension if it is written in the same dialect/language.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Eugene Loza on October 16, 2017, 10:43:30 am
Laz is nothing like Delphi, which just worked and gave you a powerful RAD/IDE after just one double-click.
I switched to Lazarus from Delphi when Lazarus was 0.24 version young (you can't imagine how buggy it was) in Windows (was it 2006?). And those days it was at least comparable to Delphi (I don't remember which Delphi version I used), imho even better.
I've had a few "issues" when I've switched to Debian Linux in 2009 thou, because I didn't know how to use dpkg those days and was forced to use a significantly obsolete repository version by apt-get. As soon as I've became more experienced in Linux, I had only once a serious problem ever since - I've bugged some Lazarus installation parameters and couldn't fix it until I've found out that removing+purging old Lazarus version doesn't remove /home/user/.lazarus folder to eliminate damaged fpc.cfg and the new installation was again using invalid path to gdb.
Except for that. Yes, I had an awful 1st experience with Delphi after Turbo Pascal (was it 2001?). But after Windows denied all direct memory/CPU access in terminal (98 or was it in 95) I had no more reasons to stay behind.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: tudi_x on October 16, 2017, 11:18:23 am
Quote
Laz is nothing like Delphi, which just worked and gave you a powerful RAD/IDE after just one double-click.

Even if you compare apple with oranges as Delphi does not have yet a Linux installation kit after you install Delphi yes you get an IDE. Unfortunately Delphi users cannot be aware of how bad it is as users of Delphi are not aware of the Lazarus user experience. Only when coming from Lazarus you can understand how bad the user experience is in Delphi.
Have to say for myself that I have installed and tried to use the Starter version from Delphi and also been having a Turbo Delphi License.
But I do not use them. Open source software these days tends to be so much better than software produced by companies with a boxed vision.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Thaddy on October 16, 2017, 11:23:59 am
I don't know what you are talking about (except that Debian lags big time) because when you install the latest stable Debian you can install a rather proper Lazarus and FPC.
Can you explain a little? It works out of the box...

As for my own experience with Lazarus: I, like Marco, also tried it around 2000, found it insufficient, tried again about three years ago and found it to be the most pleasant experience to develop on Linux.
(And I do this as a professional that also uses C, C++, Java and scripting since about the late seventies). FPC itself was never an issue: even Delphi used it. It is a proper compiler. If you have issues, you must be doing something very wrong or use a very old version of Debian. So plz explain? Because if you want to be current, then you have to do a lot of work yourself, as with ANY current packages that run on Debian but are not in the distribution yet.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 16, 2017, 12:44:52 pm
I don't know what you are talking about (except that Debian lags big time) because when you install the latest stable Debian you can install a rather proper Lazarus and FPC.
Where does Debian lag? Except for its more conservative nature, it is one of the best operating systems in existence. True, one needs to add drivers if an open-source alternative is not available like with wireless networks. But if I compare a fresh install to Windows (as we're talking Delphi here too), Setting up Debian is more pleasant, easier, cheaper and faster. Unless Windows is a preinstalled OEM, there is a lot of work with installing drivers, tuning and tweaking and going through the now extensive list of services to get it working more optimal. Not to mention the regular cleaning up of the registry and hard drive.

Out of the box Debian is 100% open source at the expense of some default functionality, although one really can't complain: Office is right there, video and audio can be played from internet most of the time (where Windows requires a whole codec pack to be installed due to license issues).

In my experience Lazarus works great out of the box, both with GTK and Qt desktops at least since Debian 7. You can even build perfectly looking GUI apps for KDE 5 plasma using the Qt4 bindings (Qt is doing a much better job here than GTK). Where else do you find such compatibility?

Finally, no operating system is perfect, nor is any RAD tool. But I find Lazarus both on Windows and Linux the best and most versatile tool to quickly build cross-platform software. Last time I used Delphi was with version 7. I stopped using it for the same reason I quit using VisualStudio and Xojo: there's either no Linux support or it is very limited (bad).
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: cpicanco on October 16, 2017, 02:36:31 pm
As you know, you don't have delphi for linux. So I had an excelent first impression, because I have installed a stable version (1.6.x) in my debian based system directly from the site with some clicks.

I was using Lazarus for very basic stuff and even using the wrong command to startup lazarus (you should use startlazarus), I managed to convert a simple delphi project with two clicks. Eventually, I have found the need for packages, and then startlazarus was mandatory. So, please Lazarus Team, if possible, do not expose other ways to start lazarus to the end user.

Also, something that will certainly piss off any beginner. Until today I don't know why I can't get help (pressing F1) from built in constructions like WriteLn, Copy, blah blah blah. Until recently, I didn't know that you could do TSomeArray.Create, because somehow stuff inside TSomeArray (which is of course of an arry type) is not exposed. May I ask what else you can do with an array here? (better in another topic)

I don't have words to express my gratitute to the Lazarus team. That is why I have donated some money to them  :D.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: cpicanco on October 16, 2017, 02:43:59 pm
For FPC 3.0.2, there was a gotcha. Because this version was built against Ubuntu, users on a Debian based system must rebuild the compiler. I think Martin is doing against Debian now, so I expect no more problems to come.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: jacmoe on October 16, 2017, 04:09:58 pm
In my experience, the most pain free installation option for Lazarus on any Linux is fpcupdeluxe (http://"http://forum.lazarus.freepascal.org/index.php/topic,34645.0.html")

I've had problems with the Debian packages, and I wonder how they could ever work, considering that many aspects of Lazarus/FPC requires write access to units (package installation and IDE rebuild).

Fpcupdeluxe is a frontend for building Lazarus/FPC from source, and it is 'installed' in your home directory. I recommend that very warmly!
(And surprised that it hasn't become the default installation method on *nix)
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 16, 2017, 05:03:48 pm
In my experience, the most pain free installation option for Lazarus on any Linux is fpcupdeluxe (http://"http://forum.lazarus.freepascal.org/index.php/topic,34645.0.html")

I've had problems with the Debian packages, and I wonder how they could ever work, considering that many aspects of Lazarus/FPC requires write access to units (package installation and IDE rebuild).

Fpcupdeluxe is a frontend for building Lazarus/FPC from source, and it is 'installed' in your home directory. I recommend that very warmly!
(And surprised that it hasn't become the default installation method on *nix)
Most common problem comes from installing manually downloaded deb packages. Installing Lazarus from the distro's official repository shouldn't give much problems. (I haven't had any with the last few versions of Debian).

Write access also shouldn't be a problem. When rebuilding Lazarus, the rebuild is installed in your home directory and during startup you can choose the version (preinstalled or recompiled). Problems occur when manually adding directories (as root or super user). Again, installing from the repo is the best way.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: bee on October 16, 2017, 05:28:07 pm
:-X   dude, if you install Laz via a Debian package manager (say, synaptic or apt), most likely, you have already set up yourself for total failure in Pascal.    :-\
Not to my experience using FPC and Lazarus since v.1.x. But yes, you gotta know what you're going to do before hand.

Laz is nothing like Delphi, which just worked and gave you a powerful RAD/IDE after just one double-click.
Of course, but Delphi (IDE) only works on Windows, while Lazarus and FPC works (almost) everywhere. And you have to pay thousands of dollars to have Delphi with equal features as Lazarus IDE which comes free. And especially on Linux, I think Lazarus IDE is the best RAD IDE and development tool on Linux.

With Laz, you have to struggle for days to get anywhere at all.
For days? at all? Clearly you're exaggerating. Even for pre-1.0 version, you may only need a few hours to get FPC and Lazarus installed and working correctly. Yes, sometimes it got problem on specific version on some distributions. But overall, it's not that difficult if you know what to do. Just read some tutorials or wikis before starting.

Is there anyone out there, who actually had a favorable first impression of Laz ? I kinda doubt it ...  ;D
I am. I'm using Lazarus since v.0.x. Compare to those old pre-1.0 version, current Lazarus is far more easier and a lot better.

The most difficult thing I've encountered with FPC and Lazarus is installing cross compiler tools. But I think it's now solved by using fpcupdeluxe. I haven't tried it though.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Martin_fr on October 16, 2017, 07:12:48 pm
I think Martin is doing against Debian now, so I expect no more problems to come.
Linux and Mac are build by Mattias.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: RAW on October 16, 2017, 09:25:47 pm
My first LAZARUS experience was 0.9.3 or something like that if I remember right. I couldn't get the IDE to run stable on my computer, I encountered a lot of crashes. On the other side the IDE looked a lot like DELPHI and to get all this for free (OPEN SOURCE) was a little bit unexpected and very nice. It felt like getting a FREE-PHOTOSHOP version...

The next version I tried was 1.2.4 and that was really a total different thing:
1. very fast and stable install
2. no problems at all, but I didn't had much time so I couldn't play around much...

What I like about LAZARUS:
1. Very easy and fast install (WINDOWS). I really like the SECONDARY-Installation...
2. The IDE starts very fast... very nice
3. Very good forum where people tell you a lot of things even if the topic is about something else, very helpful...
4. The moderators are very relaxed if it comes to OFF-TOPIC-POSTS compared to other forums. I like that.
5. There are so much OPEN SOURCE-Libraries out there that I can use with LAZARUS or FREE PASCAL... very nice
6. It's very easy to use DELPHI-Code with LAZARUS, at least in my case...
7. LAZARUS runs fine on my old "P4" and "Celeron M430" computer.  :D
8. I always find something useful inside the IDE that I didn't recognize before...

Of course this is only the point of view of a beginner and always will be like that due to lack of time, but that's ok...
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 02:01:25 am

It should be noted that distros based on Debian Testing (like Ubuntu or Mint) may cause problems, often dependency related. In fact, I did try those distros and they weren't as stable as Debian in the long run. Most common problem was broken dependencies. But even there your "struggle for days" sounds exaggerated.

it is not exaggerated. I installed Laz via synaptic many many times e.g. on various debian derivates and I don't remember even one time where I obtained a workable install.

I always got into "units not found" errors and such or IDE won't recompile etc..

fpcup-deluxe works, but breaks if you install fp and Laz separartely. That is not ideal at all.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 02:07:33 am
In my experience, the most pain free installation option for Lazarus on any Linux is fpcupdeluxe (http://"http://forum.lazarus.freepascal.org/index.php/topic,34645.0.html")

No.

 e.g. if you run "make" or "sudo make install" you will immeditately "enter a world of pain" (Walter of "big Lebowski") and everything will break at once.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 02:12:17 am
In my experience, the most pain free installation option for Lazarus on any Linux is fpcupdeluxe (http://"http://forum.lazarus.freepascal.org/index.php/topic,34645.0.html")

I've had problems with the Debian packages, and I wonder how they could ever work, considering that many aspects of Lazarus/FPC requires write access to units (package installation and IDE rebuild).

Fpcupdeluxe is a frontend for building Lazarus/FPC from source, and it is 'installed' in your home directory. I recommend that very warmly!
(And surprised that it hasn't become the default installation method on *nix)

more often than not, I got error with fpcupdeluxe

if you use all buttons available , most of them will produce huge FAIL !

that is why fpcupdeluxe is not the default installer. only under rare circumstances, fpcupdeluxe will actually work.

Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 02:17:19 am
if Laz is as stable as some cult believers in here claim, then why are there only 6 or 7 notewothy apps written with fpc at all? Should be much more popular !


ugly truth is that BIG Laz FAIL begins with "apt install lazarus"

at which point you sit in the trap already.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: bee on October 17, 2017, 03:01:25 am
if Laz is as stable as some cult believers in here claim, then why are there only 6 or 7 notewothy apps written with fpc at all? Should be much more popular!
That's another different thing to discuss. Popularity today almost doesn't have anything to do with quality. Java sucks, yet many people praise it and using it. D*n*ld Tr*mps sucks, yet he got elected for presidency in a big and developed country. If you think popularity means good quality, perhaps you should use Java instead.

And pleaseā€¦ we're not cults. This is an open source project, not an over-hyped product. There are literally tens of development tools out there, yet here we are. We wouldn't be here if we think FPC/Laz doesn't worth the trouble. You may have bad experiences with FPC/Laz, we could understand that, because FPC/Laz isn't that perfect either. But your personal experience unnecessarily happens to everybody here. Your mile may vary, so to say. Or you think we're all lying to you?
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: RAW on October 17, 2017, 03:22:36 am
@mai
If you've got some problems with LINUX or LAZARUS, then don't use it and the pain goes away immediately. LINUX isn't for everyone... The same applies to LAZARUS...  :P

Or search for someone who is able to and give him/her some bucks to do the job...  :D
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 04:07:33 am
@mai
If you've got some problems with LINUX or LAZARUS, then don't use it and the pain goes away immediately. LINUX isn't for everyone... The same applies to LAZARUS...  :P

Or search for someone who is able to and give him/her some bucks to do the job...  :D

that kind of reaction is pretty typical for suckware. mind you, even the wares by "suckless software" actually sucks quite badly, their usability is next to zero.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Handoko on October 17, 2017, 04:19:43 am
If you have problem with the installation or using Lazarus, just ask. People here are nice. You asked about our 1st time impression, so we gave you. Our first impressions may be different with yours, so I think no need to argue for it.

I personally never have problem installing or running Lazarus on Windows and Linux. First time I used Lazarus was long time ago. It had less features and less stable as now.

Remember if you have any problem using or installing Lazarus, just ask. Simply saying Lazarus is bad, you won't get any good responses. Because here is Lazarus/FPC forum. If you want to say how bad Lazarus is, please use other forums. But if you found problems or bug in Lazarus, we are likely to help you to solve it.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: RAW on October 17, 2017, 04:41:11 am
Quote
that kind of reaction is pretty typical for suckware. mind you, even the wares by "suckless software" actually sucks quite badly, their usability is next to zero.
Ah, ok, I see... In that case you should probably exchange your computer with a television. Believe me it's much easier to handle ... I guess one or two weeks and you understand the concept...

Or be more specific as @Handoko already mentioned...
It's hard to reply anything intelligent to "all crap", "isn't working", "suckware" and so on...
BTW: There is something called error messages... I heard these messages are very helpful from time to time... maybe you can take a look at them...  :)
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 05:12:47 am
this thread is specifically about first impression of Laz,

meaning whether it breaks a lot or no.


I specifically openend a thread about the Makefile breaking, where that issue may or may not be solved :  http://forum.lazarus.freepascal.org/index.php/topic,38629.msg262899/topicseen.html#new
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 05:39:14 am
In my experience, the most pain free installation option for Lazarus on any Linux is fpcupdeluxe (http://"http://forum.lazarus.freepascal.org/index.php/topic,34645.0.html")

I've had problems with the Debian packages, and I wonder how they could ever work, considering that many aspects of Lazarus/FPC requires write access to units (package installation and IDE rebuild).

Fpcupdeluxe is a frontend for building Lazarus/FPC from source, and it is 'installed' in your home directory. I recommend that very warmly!
(And surprised that it hasn't become the default installation method on *nix)

more often than not, I got error with fpcupdeluxe

if you use all buttons available , most of them will produce huge FAIL !

that is why fpcupdeluxe is not the default installer. only under rare circumstances, fpcupdeluxe will actually work.

fpcupdeluxe sources are full of TODO notes saying that stuff is not working.

you are very lucky if u get anyting done with fpcupdeluxe.   thats why itz called  "de luxe" - the luxury of not breaking once in 100 times.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: bee on October 17, 2017, 06:40:04 am
@mai:
If you want a final and perfect development tool without any limitations, bugs, and errors, then you should find another solution. Free Pascal and Lazarus IDE along with its packages, libraries, and tools is a never ending and always on-progress project. There are still many things to do, unfinished and not yet working parts, flaws and bugs, and all the sharp edges that might hurt you here and there. But it doesn't mean it's not working at all. You just need to know how to use it properly and avoid those imperfect parts. If it's really unusable and not working at all, then what do you think we're doing with it all these years? Some of us even use it to develop professional and commercial applications. Do you think we're all that stupid?
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 08:11:29 am
No. But not even properly documenting how to build Laz (I did it for you by now) is pretty gross.

re-building Laz is one of the first steps that one does and it should work right away or "make help" should tell how it can be done. Laz fails here.

If a little-used control crashes, no one cares, but after all these years the basics should be kept in order.

Another "basic" is to get 5-button-mice to work, the patch already exists. Of course, that  is never going to happen in Lazarus !  %)
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: JanRoza on October 17, 2017, 08:32:24 am
My first impression is that Mai already made his choice: Delphi is great and Lazarus is nothing.
Then why keep on complaining in such a negative way, your tone sounds like "We delphi's have it all and know best and you Lazaruses are simple amateurs".
You mean to tell us that Delphi installs great on Linux and Lazarus needs some more work on its Linux install, so what?
For me personal, I dumped Delphi in 2009 and converted all my projects to Lazarus and they are all still developed further and are well catered by Lazarus.
Be positive and try to contribute to make Lazarus better, if you don't like it then why use it?
Just my personal feelings about this thread.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Thaddy on October 17, 2017, 08:43:44 am
I don't know what you are talking about (except that Debian lags big time) because when you install the latest stable Debian you can install a rather proper Lazarus and FPC.
Where does Debian lag? Except for its more conservative nature
You gave the answer yourself.... I exclusively use Debian or Debian derivatives, unless I am instructed to do otherwise.
But I am a pro and can see that beginners or amateurs are not always up to the extra work to have a more current Lazarus/FPC.
They read about features that may not be in the Debian distro.... That's all.
I Actually like the conservative approach of Debian, but that can be misleading in the context of this forum and the online documentation
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 08:56:45 am
My first impression is that Mai already made his choice: Delphi is great and Lazarus is nothing.

Delphi was great in the 1990's and Lazarus consistsently gave me much trouble right out of the box. So I used python + Qt-Designer which was way better to handle.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Leledumbo on October 17, 2017, 09:08:05 am
My first impression is that Mai already made his choice: Delphi is great and Lazarus is nothing.

Delphi was great in the 1990's and Lazarus consistsently gave me much trouble right out of the box. So I used python + Qt-Designer which was way better to handle.
Well then, congratulations. But why are you still here? Not everyone must fit with a tool's philosophy. If you're OK with some other tools, go with them instead of mumbling and whining for nothing. We don't experience your difficulty (nor we know how capable you are) just like many others do, so don't generalize your experience. Contribute or silent, that's all I can say to people like you, because you clearly has no good intention in creating this thread.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: balazsszekely on October 17, 2017, 09:25:06 am
Quote
@Leledumbo
Well then, congratulations. But why are you still here?
Attention whore?  :D

Quote
Attention whore - definition
A person who craves attention to such an extent that they will do anything to receive it.
The type of attention (negative or positive) does not matter.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 17, 2017, 09:49:01 am
I don't know what you are talking about (except that Debian lags big time) because when you install the latest stable Debian you can install a rather proper Lazarus and FPC.
Where does Debian lag? Except for its more conservative nature
You gave the answer yourself.... I exclusively use Debian or Debian derivatives, unless I am instructed to do otherwise.
But I am a pro and can see that beginners or amateurs are not always up to the extra work to have a more current Lazarus/FPC.
They read about features that may not be in the Debian distro.... That's all.
I Actually like the conservative approach of Debian, but that can be misleading in the context of this forum and the online documentation
I agree. It's the one thing that Linux developers are doing against themselves, or against Linux, not just Debian. Every change (including incompatible) is released immediately (the kernel in particular) and because of the immediate availability, people believe they need to update/upgrade to have the latest cutting-edge. This is a mistake and it works against Linux, which is why I believe it never became a prominent desktop OS. I said it for years. If a new Debian comes out, the kernel itself is already considered 'old' being three subversions behind. Still, it doesn't mean that it lacks and it raises the question what is more preferable: a stable system or having the very latest.

A couple of months ago I tried openSUSE Tumbleweed for exactly this reason. It is the most up-to-date rolling release distro and in fact it worked quite well and pretty stable. Unfortunately, the package maintainers don't seem too eager to update Lazarus still being at version 1.6.2. But if one wants to compile the latest Lazarus and FPC, openSUSE Tumbleweed may be a better choice, but I have no experience there.

In any case, knowing that Linux requires more know-how to work with and cannot be compared to Windows or OSX in this respect, I don't understand the negative nature of this thread. Linux is much more a do-it-yourself system. So why bother installing it let alone using it as a development platform. It's either for professionals or professional hobbyists who know how to fix and (re)compile things if necessary.

Maybe the title of this thread should have been "Newbies Impression of Lazarus on Linux)."   :-*
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 17, 2017, 09:55:09 am
My first impression is that Mai already made his choice: Delphi is great and Lazarus is nothing.

Delphi was great in the 1990's and Lazarus consistsently gave me much trouble right out of the box. So I used python + Qt-Designer which was way better to handle.
But it isn't the RAD environment you prefer right? Lazarus works great out of the box. I never had any problems installing or using it developing great software, not on Windows and not on Linux (no OSX experience here).

Either install from Debian's stable repo, or insist on the latest version and take your time. If you know how to use python and Qt Designer you probably aren't a newbie and know your way around in the world of software development. Regarding Lazarus, almost any problem is addressed somewhere on the internet.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 17, 2017, 10:05:59 am

It should be noted that distros based on Debian Testing (like Ubuntu or Mint) may cause problems, often dependency related. In fact, I did try those distros and they weren't as stable as Debian in the long run. Most common problem was broken dependencies. But even there your "struggle for days" sounds exaggerated.

it is not exaggerated. I installed Laz via synaptic many many times e.g. on various debian derivates and I don't remember even one time where I obtained a workable install.

I always got into "units not found" errors and such or IDE won't recompile etc..

fpcup-deluxe works, but breaks if you install fp and Laz separartely. That is not ideal at all.
That quote wasn't from marcov. How did you manage to switch?
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 10:34:52 am
Quote
That quote wasn't from marcov. How did you manage to switch?


switch what?
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 17, 2017, 10:42:44 am
You want me to spell it out for you?  8-)
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 10:50:38 am
keep mumbling cryptically... not sure whether u have anything to say at all
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: molly on October 17, 2017, 11:03:11 am
keep mumbling cryptically... not sure whether u have anything to say at all
I spell it out for you then. The quote made is not from marcov rather from eugene (if not mistaken).

So the question was:how did you manage to switch that. o .... wait  :)
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 17, 2017, 11:08:50 am
No, he quoted from me, but magically it said "Quote from marcov." Well, I guess it's pointless...
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: molly on October 17, 2017, 11:20:58 am
@Munair:
Also the quote from marcov is pointing to some other quote (but that might be due marcov changed his content). Sorry in case i missed that it was originally written by you.

Point: you can manipulate that to your likings, whether it be intentional or not (tiny screens on phones often cause havoc when quoting and a mistake is made without noticing).
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 11:38:23 am
we're getting off-topic a lil bit
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 17, 2017, 11:56:20 am
we're getting off-topic a lil bit
Addressing misquotes within the thread isn't off-topic. If you're as accurate with coding/compiling as with adjusting quotes in your replies, I perfectly understand why you're having so many problems.

Again, advices were given, but you don't seem to follow them. It is making this thread rather useless waiting for it to be locked.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 11:58:20 am
I did run debian stable and also installed Laz there. I don't remember it being significantly less problematic.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 17, 2017, 12:13:20 pm
I did run debian stable and also installed Laz there. I don't remember it being significantly less problematic.
Did you install it from the repo? If so, what problems did you find? It seems to be working with everyone else here. Again, installing manually downloaded deb files can cause problems because of dependency issues. That's Linux. And you have to make sure all development libraries are installed, but Debian will fix that for you too. The only "problem" I found was that I had to install the lcl-qt4 library as it wasn't marked as a dependency by default. And I had to tell Lazarus that I want to compile against the KDE desktop. That's all. Two adjustments fixed within a minute. If you have a GTK based desktop everything should work out of the box. But if you start with unsupported packages or even compiling everything from source, then you really have to know what you're doing.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Thaddy on October 17, 2017, 12:14:30 pm
Then what's the problem?
- installed from Debian stable: works out of the box
- using new features only available in later versions: be my guest, takes effort.
- A noob is perfectly capable of learning Pascal with a recent Debian Lazarus (1.6.2/4, 3.0.2 jessie or later)

There simply isn't any better development environment - any language- for any language available that has the same speed and stability.
Looks to me a troll..
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 17, 2017, 12:24:30 pm
I did run debian stable and also installed Laz there. I don't remember it being significantly less problematic.
It seems to be working with everyone else here.

if that is so, what do you need a help-forum for?
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Thaddy on October 17, 2017, 12:25:24 pm
RTFM
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 17, 2017, 12:36:36 pm
There simply isn't any better development environment - any language- for any language available that has the same speed and stability.
Couldn't agree more.  :-X
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 17, 2017, 12:38:38 pm
I did run debian stable and also installed Laz there. I don't remember it being significantly less problematic.
It seems to be working with everyone else here.

if that is so, what do you need a help-forum for?
Designed for those who want to be helped.  ;D
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Handoko on October 17, 2017, 12:45:57 pm
I did run debian stable and also installed Laz there. I don't remember it being significantly less problematic.
It seems to be working with everyone else here.

if that is so, what do you need a help-forum for?
Designed for those who want to be helped.  ;D

Agree. I ever helped someone who don't want help. I gave up at the end.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: cpicanco on October 17, 2017, 01:28:51 pm
I think Martin is doing against Debian now, so I expect no more problems to come.
Linux and Mac are build by Mattias.

Thank you Martin, and I am sorry about that!
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: cpicanco on October 17, 2017, 02:00:37 pm
I did run debian stable and also installed Laz there. I don't remember it being significantly less problematic.
It seems to be working with everyone else here.

if that is so, what do you need a help-forum for?

The present forum goes beyond help. It is a "social-machine", a tool, that increases the chances of aggregating people with common interests. For example, this very thread is not about help at all. Instead of investing time looking for help, you decided to create a thread to discuss general first impressions AGAINST lazarus. Are you felling yourself (forever) alone? I could not give you a hug, sorry about that, it is all virtual you know. So, now that you know that people in this forum are not against lazarus, what will you do?
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: bee on October 18, 2017, 03:31:00 am
I was about to make a video tutorial about how to install FPC and Lazarus IDE on Linux Mint, but it turns out someone else had already made one before me. So here's the video: https://www.youtube.com/watch?v=NZqmmVeYT-I

In the video you'll find out that installing FPC and Lazarus IDE on Linux Mint isn't that difficult. In fact, it's quite easy even for a complete newbie. It takes less than 10 minutes to make it all works. It should also work on any Debian-based Linux distros that understand .deb package. Also take a look at other videos from the same author. Thanks to him.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: dbannon on October 18, 2017, 04:59:02 am
I do think its a valid question.

I have been using Lazarus for a few months now, was a Delphi 2 user long ago. So, first impression, wow, look at that !  Then I found a very helpful forum, lots of knowledgeable people very keen to help.  So, 'yes' a good impression.

But not perfect !  (I am not trying to beat anyone up here but if we don't look at what needs improving, nothing will improve.) I found the Ubuntu package version difficult. Later I grabbed the 1.8rcX series and that was heaps better. I had trouble getting the "F1" help system working and think its a pity its seen as an add on. But I do acknowledge its not great anyway, very slow and incomplete. I do remember the Delphi version to be a lot better.

And I guess the general level of documentation is Lazaru's weak point if it has one.  Scroll through the wiki and see how many pages talk about very, very old issues.  How many things simply are not documented at all !

An example ?  I spent a fair while this morning trying to get a function in "FileUtil" working in a console app. Turns out its a LCL component, F1 cannot tell me that. And I sort of got hints I should use LazFileUtils instead. OK, where is LazFileUtils documented ?  Wait the 60 seconds or so for F1 to tell me it found an almost blank page in 27ms. Google cannot do any better.

(Now, if you are about to say, "if you don't like whats on the wiki, fix it" - be assured I have already added quite a bit to various Lazarus wiki pages. But a drop in the ocean compared to whats needed.)

But back to original question ? Yes, overall, a very good first (and subsequent) impression. And I will keep hacking at the wiki.


Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 18, 2017, 05:07:35 am
I do think its a valid question.

I have been using Lazarus for a few months now, was a Delphi 2 user long ago. So, first impression, wow, look at that !  Then I found a very helpful forum, lots of knowledgeable people very keen to help.  So, 'yes' a good impression.

But not perfect !  (I am not trying to beat anyone up here but if we don't look at what needs improving, nothing will improve.) I found the Ubuntu package version difficult. Later I grabbed the 1.8rcX series and that was heaps better. I had trouble getting the "F1" help system working and think its a pity its seen as an add on. But I do acknowledge its not great anyway, very slow and incomplete. I do remember the Delphi version to be a lot better.

And I guess the general level of documentation is Lazaru's weak point if it has one.  Scroll through the wiki and see how many pages talk about very, very old issues.  How many things simply are not documented at all !

An example ?  I spent a fair while this morning trying to get a function in "FileUtil" working in a console app. Turns out its a LCL component, F1 cannot tell me that. And I sort of got hints I should use LazFileUtils instead. OK, where is LazFileUtils documented ?  Wait the 60 seconds or so for F1 to tell me it found an almost blank page in 27ms. Google cannot do any better.

(Now, if you are about to say, "if you don't like whats on the wiki, fix it" - be assured I have already added quite a bit to various Lazarus wiki pages. But a drop in the ocean compared to whats needed.)

But back to original question ? Yes, overall, a very good first (and subsequent) impression. And I will keep hacking at the wiki.
The main difference between Delphi and Lazarus is that the first is a proprietary product from a (big) company where programmers are paid (very well), while the latter is open-source maintained by volunteers (including documentation). In this respect you cannot compare the two.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 18, 2017, 08:22:59 am
I do think its a valid question.

I I had trouble getting the "F1" help system working and think its a pity its seen as an add on. But I do acknowledge its not great anyway, very slow and incomplete. I do remember the Delphi version to be a lot better.

same here! I gave up on context help and just use a browser which works, instead of  whatever it is they programmed in Pascal  for "F1 help". At least that way I can find stuff from the rtl.

In Delphi: F1 and you got what you were looking for. (though D2 was better than D3 in that respect.)
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: avra on October 18, 2017, 09:31:27 am
In my experience, the most pain free installation option for Lazarus on any Linux is fpcupdeluxe (http://"http://forum.lazarus.freepascal.org/index.php/topic,34645.0.html")

No.

 e.g. if you run "make" or "sudo make install" you will immeditately "enter a world of pain" (Walter of "big Lebowski") and everything will break at once.

This is a total misuse of fpcupdeluxe. No wonder you are facing problems. Wiki is strict that Laz/FPC combo installed with fpcupdeluxe should only be started through a shortcut, since it holds a key to a whole sandbox working. Once you choose not to use it, probably FPC from your path takes over, and other bad things happen.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: wp on October 18, 2017, 10:04:48 am
I do think its a valid question.

I I had trouble getting the "F1" help system working and think its a pity its seen as an add on. But I do acknowledge its not great anyway, very slow and incomplete. I do remember the Delphi version to be a lot better.

same here! I gave up on context help and just use a browser which works, instead of  whatever it is they programmed in Pascal  for "F1 help". At least that way I can find stuff from the rtl.

In Delphi: F1 and you got what you were looking for. (though D2 was better than D3 in that respect.)
Forget about F1. The help files never are up-to-date. But you have the source code and an excellent code navigation system. If you want to learn which procedures are contained in unit LazFileUtils, "ctrl-left"on "LazFileUtils" in the uses line - the code editor will open this unit for you to browse. If you want to learn about the parameters of a function, "ctrl-left" click on it again to open its implementation or interface declaration in the editor, press Ctrl-Up or Ctrl-Down to switch to interface or implementation sections. The only requirements are that the packages/units are mentioned in the project requirements /unit uses clauses, respectively. The most important advantage of this way of getting help is that you learn a lot about the code. And with this knowledge you once will be able to write patches to improve the product according to your needs, instead of lamenting about its shortcomings.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: avra on October 18, 2017, 10:17:30 am
more often than not, I got error with fpcupdeluxe
if you use all buttons available , most of them will produce huge FAIL !
So you expect to use trunk versions of dozens of components with all possible combinations of FPC/LAZ (old, stable, fixes, trunk...) and you expect everything to work out of the box? No breakages, no incompabilities, no compilation issues? For such expectations one should stick to stable or fixes branch and without 3rd party components.

I would prefer to see fpcupdeluxe being capable to finish installation even when some component is not able to compile, but unfortunatelly that is not the case. I look at it as a place for future improvement, rather then a place for rant.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Thaddy on October 18, 2017, 10:25:05 am
Agree.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: bee on October 18, 2017, 10:55:22 am
Yup. Because I think he's just a troll spreading FUD and can't stop whining for nothing. I don't know what he's looking for and what he's about to make using FPC and Lazarus. If it's so hard, why doesn't he just use something else?
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: fred on October 18, 2017, 11:33:00 am
If I would not like it I would not use it.
So far i'm quite happy with Lazarus  :-X
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 18, 2017, 12:01:41 pm
I installed ~ 30 times now and f.deluxe is my favourite.

more breakage with the other methods, e.g. Ubuntu packaging seems broken.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: avra on October 18, 2017, 12:03:01 pm
Forget about F1.
I do not agree with this. I first try F1, then wiki is usually the second, google third, and source browsing last. Although sometimes source can be second or even first. ;-)
Therefore among the first things I do after installation is to setup F1 with CHM help files. I also wish it worked out of the box like that, but that is not the case yet. Another room for improvement. Everybody is welcome to enter it.

And yes, I understand that making (or worse - failing) F1 to work can bother newbie a lot. Maybe even more then docking not beeing default.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: wp on October 18, 2017, 01:02:25 pm
I mainly work on Windows, something like 90% or more. Here installing a functional online-help is no problem at all - just check it in the installer, and it works out of the box, confirmed with the recently published Lazarus 1.8RC5. 

I'm not saying it is good, though, and I only rarely use F1 because the online help for most topics is non-existent or or trivial (i.e. making obvious statements). Source browsing, on the other hand, is extremely fast, must faster than lhelp to open even if it finds a help item. If I need additional information I use internet search, forum search, wiki (in this order, given by the power of the search tools).
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: JuhaManninen on October 18, 2017, 01:45:40 pm
A couple of months ago I tried openSUSE Tumbleweed for exactly this reason. It is the most up-to-date rolling release distro and in fact it worked quite well and pretty stable. Unfortunately, the package maintainers don't seem too eager to update Lazarus still being at version 1.6.2. But if one wants to compile the latest Lazarus and FPC, openSUSE Tumbleweed may be a better choice, but I have no experience there.
I must comment on this one.
How could openSUSE Tumbleweed be the most up-to-date rolling distro if it doesn't have even recent versions of FPC and Lazarus?
Manjaro, also a rolling distro, has the latest of them always. I don't know who maintans all their packages but it is an impressive collection.
I believe Arch is very good, too, but I was lazy to learn its installation.

I had openSUSE Tumbleweed in a travelling laptop ~2 years ago. I noticed its package selection is very limited and outdated. The emphasis clearly is to test the distro development itself, not the applications a user may need. I guess for that reason it has logging or debug info or something enabled which slows down its startup a lot. Starting it took many times longer than good distros do. The actual OpenSuse releases start faster.
Thus, I would not recommend openSUSE Tumbleweed for anybody, except for OpenSuse distro developers.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 18, 2017, 04:33:45 pm
I run LAz 1.9 with fp 3.1.1 ... quite workable - once you made sure you have max. 1 compiler in $PATH - in KDE neon rolling. has latest KDE which is nicely stable.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on October 18, 2017, 04:34:24 pm
A couple of months ago I tried openSUSE Tumbleweed for exactly this reason. It is the most up-to-date rolling release distro and in fact it worked quite well and pretty stable. Unfortunately, the package maintainers don't seem too eager to update Lazarus still being at version 1.6.2. But if one wants to compile the latest Lazarus and FPC, openSUSE Tumbleweed may be a better choice, but I have no experience there.
I must comment on this one.
How could openSUSE Tumbleweed be the most up-to-date rolling distro if it doesn't have even recent versions of FPC and Lazarus?
Manjaro, also a rolling distro, has the latest of them always. I don't know who maintans all their packages but it is an impressive collection.
I believe Arch is very good, too, but I was lazy to learn its installation.

I had openSUSE Tumbleweed in a travelling laptop ~2 years ago. I noticed its package selection is very limited and outdated. The emphasis clearly is to test the distro development itself, not the applications a user may need. I guess for that reason it has logging or debug info or something enabled which slows down its startup a lot. Starting it took many times longer than good distros do. The actual OpenSuse releases start faster.
Thus, I would not recommend openSUSE Tumbleweed for anybody, except for OpenSuse distro developers.
Packagers make decisions. If you do a comparison, you will find that openSUSE Tumbleweed is one of the most if not THE most up-to-date distro. This certainly applies to the Linux kernel and the desktop. It is closely followed by Fedora. But not all available Linux software can be packaged every week.

Early on Tumbleweed wasn't as stable, but this has changed. You can read the many reviews on the internet. Now, this doesn't mean that I would recommend Tumbleweed or openSUSE in general. It has issues, especially with multimedia like playing Youtube. But I still have it running on a spare computer for several months now and it is pretty stable. I actually developed part of my software here very comfortably.

If I were to recommend a stable programming environment, it would be Debian.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Trenatos on October 18, 2017, 04:41:11 pm
My first few impressions of Lazarus were not that great.

Examples of things that didn't make sense:

There are options in the Project settings to compiler for various systems, it LOOKS like all you have to do is select one and go, but of course that's not true.

When setting up database connections, it LOOKS like all you have to do is select the database type and off you go, but of course that's not true.

Trying to look up how to do things can be a nightmare, tons of outdated information and "Just go RTFM" which doesn't help someone new to the language or tools.

I knew it had the potential, and I kept with it, but I don't think it's a great first impression if you're new, too many things are assumed that you know.

Another frustration is making CLI programs, why can't I drag and drop a gui component onto my editor and at least get the uses and defaults setup?
It can be a pain to find out how to programmatically use something that normally is drag'n'drop (Right click on them, 'show meta info' would be super useful)

Debugger not working with OSX/MacOS.

No easy way to output text (writeln) to the debugger or somewhere when making GUI apps.

Random things I remember from when I started out. I'm not surprised people give it a go and then give up when they try to do anything more complex than a button that pops up a message, I didn't give up because I'm obsessive and KNEW it could perform if I learn how to use it.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: BeniBela on October 18, 2017, 11:22:38 pm

Packagers make decisions. If you do a comparison, you will find that openSUSE Tumbleweed is one of the most if not THE most up-to-date distro. This certainly applies to the Linux kernel and the desktop. It is closely followed by Fedora. But not all available Linux software can be packaged every week.

Early on Tumbleweed wasn't as stable, but this has changed. You can read the many reviews on the internet. Now, this doesn't mean that I would recommend Tumbleweed or openSUSE in general. It has issues, especially with multimedia like playing Youtube. But I still have it running on a spare computer for several months now and it is pretty stable. I actually developed part of my software here very comfortably.




I got openSUSE Tumbleweed from work.

It installs 1000 updates every week! If that is not up-to-date, what could be?

No exaggeration.  I ran the updater on Monday and thought it showed "all updates completed" , but now I wonder, if I forget to click a final "install update", because today it wants to install 2710 new updates. It is ridiculous

Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 19, 2017, 12:15:27 am
My first few impressions of Lazarus were not that great.

Same here! By this time I have documented  (http://wiki.freepascal.org/Unit_not_found_-_How_to_find_units)  what will have haunted quite a number of users of debian derivates (Mint, Ubu, ...) and is a real showstopper. Immediately after installing a secondary checkout, say "trunk", a recurring "unit not found" will ruin the whole experience right then and there.

Now, once you are aware of this it is trivial to remedy but it really should not happen in the first place. Once fixed, one can do quite a bit before any further obstacles of that calibre might appear.
 
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: bee on October 19, 2017, 06:11:37 am
By this time I have documented  (http://wiki.freepascal.org/Unit_not_found_-_How_to_find_units) what will have haunted quite a number of users of debian derivates (Mint, Ubu, ...) and is a real showstopper. Immediately after installing a secondary checkout, say "trunk", a recurring "unit not found" will ruin the whole experience right then and there.
Great job! Thank you. :)

However, there are some obvious mistakes that shouldn't happen if you know the language syntaxes/rules and read some installation instructions before doing it. For example:

- You named one of your units like one of the FPC units.
Of course. You're also not allowed to name a unit using Pascal keywords and reserved words. Isn't it obvious?

- Forgot to add a package dependency.
Sure. Perhaps you also forget to download the installer? *kidding :D I mean, it's clearly not FPC/Laz's fault. You can't blame someone else for your own mistakes, right?

Nevertheless the page does contain many useful informations for people who just directly install FPC/Laz without properly reading the instruction manuals in advance. Well, of course I ever have had such one-or-two stupid mistake, but I know it's my fault and I should be able to fix it myself by reading some instructions and also use some proper tools and logics as well.

I think I now understand why you seems so angry and mad about this whole thing. :)
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: JuhaManninen on October 19, 2017, 08:50:39 am
Immediately after installing a secondary checkout, say "trunk", a recurring "unit not found" will ruin the whole experience right then and there.
Secondary checkout of what? FPC or Lazarus?
Many simultaneous Lazarus checkouts are OK when you keep them in separate directories, and maybe use --pcp= config path as needed.
Many FPC versions in your $PATH however break things for sure. Why would you do such thing? It is obviously a bad idea. Was it the fundamental reason for your problems?

The wiki page you updated should be very accurate. Please make sure the advice given is correct.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: avra on October 19, 2017, 09:18:49 am
Many FPC versions in your $PATH however break things for sure.
Let's see if he is right by looking at how these things are done in industry standards GCC compiler:
https://gcc.gnu.org/faq.html#multiple
Oh, what a surprise! They do it in a similar way that is recommended for FPC. But we know better, we even have fpcupdeluxe that prepares everything for us so we do not have to deal with such details if we do not want to.

So, if I have multiple GCCs in path and I have problematic experience during various source compilations, should I go to GCC forum and tell them that they should fix it because I think it should work my way?
:P :-X :P
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: taazz on October 19, 2017, 09:26:45 am
So, if I have multiple GCCs in path and I have problematic experience during various source compilations, should I go to GCC forum and tell them that they should fix it because I think it should work my way?
No you should stop abusing my system with out permision and use your own config file. The path in my system is to be used by me you need permision to change it and even then you should ask permision once more just before changing in case I changed my mind. The path is THE biggest friction point so stop using it.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: JuhaManninen on October 19, 2017, 09:35:51 am
I got openSUSE Tumbleweed from work.
It installs 1000 updates every week! If that is not up-to-date, what could be?
But still no recent versions of FPC nor Lazarus...
The goal was to get the latest versions of them as easily as possible. It is a valid goal. Tumbleweed apparently does not fulfill that goal. From a FPC/Lazarus POV Tumbleweed combines the bad propertied of rolling and non-rolling distros.

Some other rolling distros have the latest versions of FPC and Lazarus. I think it is the easiest way to get them. External 3rd party packages for e.g. Debian derivatives always have their challenges and require more expertise. For example I know its package system somehow but still my Xubuntu got screwed after mixing 3rd party packages.

This is a major issue. Installing the latest FPC and Lazarus on Linux is a very frequently asked question, causing trouble to many people.
Hmmm ... maybe we should start a new thread about rolling distros.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mai on October 19, 2017, 10:07:58 am
Immediately after installing a secondary checkout, say "trunk", a recurring "unit not found" will ruin the whole experience right then and there.
Secondary checkout of what? FPC or Lazarus?
Many simultaneous Lazarus checkouts are OK when you keep them in separate directories, and maybe use --pcp= config path as needed.
Many FPC versions in your $PATH however break things for sure. Why would you do such thing? It is obviously a bad idea. Was it the fundamental reason for your problems?

The wiki page you updated should be very accurate. Please make sure the advice given is correct.


I did not manually do that of course. install and purge is controlled by a Ubuntu package. To avoid multiple fpc in $PATH was not too obvious to the packagers, it appears.

I am fairly certain I ran into this preset trap like 15 times or so. apt, fcpUP, and the Laz Makefile need to harmonize to avoid that situation.

since all problems disappeared the second that the superfluous fpc was moved away, it has got to be the root cause of the "unit not found" failure. I don't see a problem with the wiki page.

 
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: JuhaManninen on October 19, 2017, 11:16:18 am
I am fairly certain I ran into this preset trap like 15 times or so. apt, fcpUP, and the Laz Makefile need to harmonize to avoid that situation.
You must have done something unusual.
Lazarus Makefile does not put FPC into your path. It only builds Lazarus using an existing FPC.
fcpUP does not put FPC into your path either. It works in a "sandbox".
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Raul_ES on October 24, 2017, 10:44:55 pm
My first impression of Lazarus was simply amazing. It fullfilled my dreams and covered my beginner's expectations. I tried many years ago Borland's Kylix (no Delphi experience here) ... but now I have recovered the passion for pascal language thanks to Lazarus. Lazarus makes it easy to develop programs visually and the multiplatform capabilities are delicious. It's a great project. I had no trouble installing it under Windows or Linux or BSD. The problem was Solaris.

But then, I started to require more components: barcodes, pdf management, etc... and I currently stopped using Lazarus in favour of another project with, in my humble opinion, more interesting options for a complete beginner like me (i.e: multiplatform installer distribution in a single zip file). Now I'm able to use free pascal under any of my development platforms.

Just my vision as the newbie I am. Lazarus is a giant cooperative project with a great future ahead.

cheers
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: willbprog9933 on November 02, 2017, 06:50:26 am
This is my first post on these forums.  Hello everyone!  :)

I tried Lazarus a few years ago on Debian and maybe also Ubuntu.  At that time it did not work for me.  I think there were dependency problems and since I was merely curious, I didn't go further.

A few days ago I again tried Lazarus on both PCLinuxOS and AntiX (based on Debian Testing) and Lazarus works great!  Over the years I've used Qt Creator, CodeBlocks, Visual Studio, (tried) Gambas and a few others and I was really blown away by how easy and complete Lazarus is!  The only wish I have for Lazarus is an option to make it all work in one window (a la Gimp's 'single window mode').

mai, I think you already had made up your mind when starting this thread.  You seem to have your gun drawn and sword unsheathed before really understanding what Lazarus is about.  You act like you paid a lot of money for Lazarus and you want to make everyone know how unhappy you are.  I think if you settle down, clean the slate and do a fresh install of Lazarus on a known good Linux system, it might actually work for you.  Why not do a fresh install in VirtualBox of Debian and then install Lazarus from the repos and see how it goes?

To the folks who work on Lazarus, FPC and the forums -- THANK YOU! :D
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: balazsszekely on November 02, 2017, 07:00:25 am
Hi willbprog9933,

Welcome to the forum!

Quote
A few days ago I again tried Lazarus on both PCLinuxOS and AntiX (based on Debian Testing) and Lazarus works great!  Over the years I've used Qt Creator, CodeBlocks, Visual Studio, (tried) Gambas and a few others and I was really blown away by how easy and complete Lazarus is!
I hope the haters see this.   :)

Quote
The only wish I have for Lazarus is an option to make it all work in one window (a la Gimp's 'single window mode').
Please go to Lazarus Menu --> Packages --> Install/Unistall packages, then search for anchordockingdsgn 0.5 and sparta_dockedformeditor 0.0. Install both packages then rebuild IDE.

Quote
mai, I think you already had made up your mind when starting this thread.
Actually @mai has changed his mind, now is a big lazarus fan.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: jmpessoa on November 02, 2017, 07:02:43 am

Quote
The only wish I have for Lazarus is an option to make it all work in one window....

You can try, too:

https://github.com/FlKo/LazarusDockedDesktops
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: marcov on November 02, 2017, 11:47:59 am
Immediately after installing a secondary checkout, say "trunk", a recurring "unit not found" will ruin the whole experience right then and there.

Rename all but one  and use -V
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: VTwin on November 18, 2017, 04:53:38 pm
I started programing in Fortran on mainframe punch cards, then switched to TurboPascal in early '80s for the "microcomputer" revolution. I later switched to C and C++. Then started to look for cross-platform solutions, and used REALbasic (now Xojo) for over a decade. That started out as impressively easy to use, but was slow, buggy, and got increasingly expensive. So I began searching for another cross-platform solution. I looked into Java, Python, and a few other options, before settling on Free Pascal / Lazarus about 5 years ago. I've since re-coded and written 100,000s lines of code.

I love being able to code in Pascal again, readable code, easy to spot errors, strong typing, and Lazarus is a great IDE. Object Pascal, to my mind, is much clearer than C++ and as powerful. Plus my code is FAST! I install on 4 or 5 machines, Mac, Windows (XP, 7), and Ubuntu, the latter two in VirtualBox. Altogether, I suppose more than 50 installations of different versions of Lazarus. Windows installation is simple. After a bit of help here, Ubuntu installation usually works fine using dpkg. On Mac, dealing with XCode and gdb can be annoying, but it works if you follow the instructions. I'm nervous about Apple cutting carbon loose, but work on cocoa is progressing (and much appreciated!). 

First impression: Amazing!

Cheers,
VTwin
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: munair on November 18, 2017, 09:13:56 pm
Then started to look for cross-platform solutions, and used REALbasic (now Xojo) for over a decade. That started out as impressively easy to use, but was slow, buggy, and got increasingly expensive.
I have close to the same experience with REALbasic. More than once I read reviews stating that it's rediculously easy to write a program. In the early days it was indeed pretty buggy, but I still have RB2011r4 on Linux quite stable, although I hardly use it anymore, mostly because it compiles against GTK2. I never tried Xojo, but it seems that especially on Linux the IDE has become very slow and not at all responsive. Some menus literally take over 5 seconds to open! Certainly not something to recommend. However, the concept of the RB IDE wasn't bad at all.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: lainz on November 18, 2017, 09:36:05 pm
Quote
Do newbies get a good "1st time impression" of Lazarus ?

Depending what is a newbie for you, is anyone that is starting programming or a senior developer that never used lazarus? Also that person did only command line applications or he/she only coded UI's with something else?

The impression is only about lazarus or Pascal also? What programs he/she used previously?
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mw108 on July 10, 2018, 08:14:32 pm
First time I used Lazarus was when Kylix was still a thing. Both were incredibly buggy back then in SuSE.

Then I went full Delphi and Windows for the last 20 years.

Gave Lazarus another try some days ago, because I was interested in a Neural Network project written in FPC / Lazarus.

Installed FPC and Lazarus under Windows 10.

Well, figured that Lazarus is still extremely buggy and unstable. Debugger crashing very often, IDE throwing SEGFAULT errors when switching code tabs. Can't switch between form and code, even though the project clearly has forms, etc.

Not pleased.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: silvestre on July 10, 2018, 08:47:18 pm
Dear mw108, You would be more than helpful to the community if you were more specific and clear in describing the concrete errors. There are a lot of people here who work openly to offer constructive solutions...If you detail the bugs more precisely, in addition to the exact version you use (maybe someone can reproduce the bugs and create a path to your solution).

Well, figured that Lazarus is still extremely buggy and unstable. Debugger crashing very often, IDE throwing SEGFAULT errors when switching code tabs. Can't switch between form and code, even though the project clearly has forms, etc.

Not pleased.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Martin_fr on July 10, 2018, 09:00:13 pm
Well, figured that Lazarus is still extremely buggy and unstable. Debugger crashing very often, IDE throwing SEGFAULT errors when switching code tabs. Can't switch between form and code, even though the project clearly has forms, etc.

You did install version 1.8.x ?

Anyway on how to reproduce any of that?

Any extra packages installed (included, or 3rd party)?
(Anchordocking is still in development, if it does not work for you, then avoid it for now. Or report the bugs that you find)

Can you rebuild your IDE with debug info (Menu: Tools > Configure build lazarus: Custom options -gw -gl -Criot -gh -O-1  ) and start the IDE with
lazarus.exe --debug-log=c:\logfile.txt  (edit the properties of the desktop shortcut to add the option)
Then when the error happens, check the logfile, and report what is in it.


I use Lazarus (trunk though) on Win 10, and have no issues. (And I used previous versions too).

About the debugger. It currently relies on GDB (like a lot of other open source projects, but unlike commercial products). GDB sometimes causes its own errors... That is no excuse, just an explanation. We are working on an alternative. But it takes a lot of time.
You can test it by installing LazDebuggerFP, and configure (Tools > Options >Debugger) to use fpdebug. It is present in 1.8, but had lots of fixes in svn since.

Our Bugtracker: https://bugs.freepascal.org/
Keep in mind, we need some way to reproduce an issue (or a stack trace, with human readable source names from the log)
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: mw108 on July 11, 2018, 02:44:46 pm
Wow, nice to see that you guys actually care. :o Don't know how many issues and problems I reported to Borland / CodeGear / Embarcadero over the years and never got any response or see the problems fixed. Even the latest Delphi RX 10.3 has the same issues I experienced and reported back then many times.

You did install version 1.8.x ?
Yes. 1.8.4.

Any extra packages installed (included, or 3rd party)?
No. Just pure Lazarus.

Can you rebuild your IDE with debug info (Menu: Tools > Configure build lazarus: Custom options -gw -gl -Criot -gh -O-1  ) and start the IDE with
lazarus.exe --debug-log=c:\logfile.txt  (edit the properties of the desktop shortcut to add the option)
Then when the error happens, check the logfile, and report what is in it.

Anyway on how to reproduce any of that?
I recompiled and run Lazarus with the options you stated. Interestingly, since that I haven't had any issues again and the IDE seems to run stable now. Tried many projects, switched tabs many times. No problems. I will keep an eye on it though.
Maybe it didn't like the fact that I run it in a VMware guest OS? I found out that some "sensible" operations seem to not like it. For instance running WinLicense to protect an application in the VMware, the protected app always crashes on start. While protecting the same app with the same options in a real host with the same OS, it works and runs.

About the debugger. It currently relies on GDB (like a lot of other open source projects, but unlike commercial products). GDB sometimes causes its own errors... That is no excuse, just an explanation. We are working on an alternative. But it takes a lot of time.
You can test it by installing LazDebuggerFP, and configure (Tools > Options >Debugger) to use fpdebug. It is present in 1.8, but had lots of fixes in svn since.
Where can I find this debugger? Google only brings me to a Github repository 2 years old: https://github.com/alrieckert/lazarus/tree/master/components/lazdebuggers ... But I doubt that it is what you meant? Especially because you said "SVN" and not "GIT"?

Can't switch between form and code, even though the project clearly has forms
Regarding that, I found out that the projects I opened had their forms positions saved in weird places, like Top -1352 or Left 2844. Seems like the author has some big monitor. :D
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: 440bx on July 11, 2018, 03:00:50 pm
Maybe it didn't like the fact that I run it in a VMware guest OS?

Just FYI, I've been running Lazarus and the FPC compilers under VMware workstation v10, Win 7 host and Win 7 guest (both 64 bit) for a few weeks now and have had no problems at all.  Everything has run flawlessly so far.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: marcov on July 11, 2018, 03:34:53 pm
Maybe it didn't like the fact that I run it in a VMware guest OS? I found out that some "sensible" operations seem to not like it. For instance running WinLicense to protect an application in the VMware, the protected app always crashes on start. While protecting the same app with the same options in a real host with the same OS, it works and runs.

I can imagine debugger apis are more sensitive than the average app. It can be good to exclude the lazarus dir from the antivirus too.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Martin_fr on July 11, 2018, 04:11:34 pm
Wow, nice to see that you guys actually care. :o
We try. We (the team) are outnumbered by users though... :)

Quote
Can you rebuild your IDE with debug info (Menu: Tools > Configure build lazarus: Custom options -gw -gl -Criot -gh -O-1  ) and start the IDE with
lazarus.exe --debug-log=c:\logfile.txt  (edit the properties of the desktop shortcut to add the option)
I recompiled and run Lazarus with the options you stated. Interestingly, since that I haven't had any issues again and the IDE seems to run stable now. Tried many projects, switched tabs many times. No problems. I will keep an eye on it though.
It is possible you did hit an assertion. "assert(something)".

The IDE code contains asserts to check certain conditions never happen (as they should not). If they do, they may still produce a result, or silently do nothing... But since they are not supposed to happen, they are stopped with asserts.

You can add -Sa to the above list, to see if this is the case.

It is also possible that the issue depends on the optimization level (I have to check, what the installer is build with.)
You can replace the -O-1 from above with either -O- or -O2 or -O3

The one problem we (the team) have, is that once the installer is build, tested and released, we do not actually use that exact binary. Since we keep developing, we work with the svn version. And often also with different compile flags, as required by developing (debug settings).

There is also a setting -gt  which can be used to trigger certain bugs. (it can be added as -gt OR -gtt OR -gttt)
I usually have that applied to my settings.

Lastly, something could have gone wrong with the executable during installation, and was fixed consequently by rebuilding it.


Quote
Maybe it didn't like the fact that I run it in a VMware guest OS? I found out that some "sensible" operations seem to not like it.
I dont know, but I doubt it.
I run the IDE in native windows, but I also run it in Virtualbox in a Linux guest. No problems there.


Quote
About the debugger. It currently relies on GDB (like a lot of other open source projects, but unlike commercial products). GDB sometimes causes its own errors... That is no excuse, just an explanation. We are working on an alternative. But it takes a lot of time.
You can test it by installing LazDebuggerFP, and configure (Tools > Options >Debugger) to use fpdebug. It is present in 1.8, but had lots of fixes in svn since.
Where can I find this debugger? Google only brings me to a Github repository 2 years old: https://github.com/alrieckert/lazarus/tree/master/components/lazdebuggers ... But I doubt that it is what you meant? Especially because you said "SVN" and not "GIT"?
First of all, if you have gdb related issues, then 99% likely you would get "oops the debugger..." errors displayed.

fpdebug comes with the installer: In the IDE, in the menu: Packages > "Install/Uninstall packages". Under "Available for installation" search for "LazDebuggerFp". Install, and when you close the dialog, confirm to rebuild the IDE.
Then under menu Tools > Option, page Debugger: There is a dropdown (it shows gnu debugger", choose "fpdebug". Thats it.

In 1.8.4 it may have issues with 64bit (not sure it supports that at all), breakpoints in generics, and stepping in some cases.
In Svn trunk that should work. Best to use "fpcupdeluxe" if you want to install and test trunk.

Mind fpdebug is still beta. But I use it myself successful for some projects where gdb fails.

Quote
Can't switch between form and code, even though the project clearly has forms
Regarding that, I found out that the projects I opened had their forms positions saved in weird places, like Top -1352 or Left 2844. Seems like the author has some big monitor. :D
In the menu: Windows, there is "Center a lost window".

But I think, opening such a form, should at least give a warning. May be worth a bug report.


---
edit:

To do svn on windows:
- Install tortoise svn.
- Checkout https://svn.freepascal.org/svn/lazarus/trunk
   eg into c:\laz_svn
- Copy the lazarus.exe from your install into the folder you checked out.
- create a folder "conf" in this folder. eg c:\laz_svn\conf
- create a file lazurus.cfg  eg c:\laz_svn\lazarus.cfg
  and put this lines into it
Code: Pascal  [Select][+][-]
  1. --primary-config-path=c:\laz_svn\conf
  2. --debug-log=C:\lazlog.txt
The debug log is optional.
The conf line makes sure this lazarus uses its own conf, and will not interfere with your existing install.

When you run this lazarus, a setup dialog will show (if not, you got the lazarus.cfg wrong).
The lazarus directory is the svn checkout dir c:\laz_svn
Point fpc, and fpc sources, to the fpc in your existing install.
Same for gdb.
There will be warnings about installed packages, ignore them.
=> rebuild the IDE

and thats it.



Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Researching on November 12, 2018, 07:03:52 pm
first Impression...
It is good when you have a plenty of time, to find!! and learn concepts, try different things... But! When you need to make an application with certain functionality, but have to dig documents and wait for replies of forum instead...!!
Now for me it is 3-d week of digging docs.
Today - Stuck on adding openFileDialog, openDirectoryDialog to my application.
Then I need to direct the dialog itself to the form instead of dialog. - question again..
Then I'll need to open File... - again the same?
And each time - almost 3-4-5 pages of forum to find 10 lines of solution!?

Respected moderators, is it possible, that person, who asks the question will be asked to summarize the whole topic to the header? After solution have been found?
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: wp on November 12, 2018, 07:21:26 pm
Isn't this the way how to learn every unknown software? There is always a steep learning curve at the beginning where effort is huge for almost zero progress. I remember that when I learned Delphi it took me three days to find out how to close my program. So, this is not Lazarus' fault...
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Martin_fr on November 12, 2018, 07:38:13 pm
Today - Stuck on adding openFileDialog, openDirectoryDialog to my application.
Then I need to direct the dialog itself to the form instead of dialog. - question again..
Then I'll need to open File... - again the same?
I don't think you can "redirect" the dialog (if that means "embed"). But check the misc tab, for ShellTreeView/ShellListView.

Quote
And each time - almost 3-4-5 pages of forum to find 10 lines of solution!?

Respected moderators, is it possible, that person, who asks the question will be asked to summarize the whole topic to the header? After solution have been found?
I don't think that the whole topic can be represented in the header. Also we can't force people to write a summary... What would be the "penality" for not doing it?
Some threads do not even represent the question in the header. That is undesirable. If the topic is new, anyone can drop a message into the thread reminding the author to do so.

The forum moderation is currently mostly about keeping spam out, and dealing with (grossly) offensive or off-topic content.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: Handoko on November 12, 2018, 08:39:08 pm
The first programming language I learned was Basic (Basica, GW-Basic then Turbo Basic). Awesone, Basic is super easy to learn. But soon I found Basic was too slow to run on my 8080 computer. I heard (some) Basic can import obj files. That's cool, so I learned Assembly language (via Debug.com and Debug.exe) to write obj binaries to be imported into Basic. Assembly language is extremely hard but I managed to write some binaries and they really can be used in Basic.

Finally I found Pascal. It's extremely fast compare to Basic and it's extremely easy compare to Assembly. So I abandon Basic and Assembly. Later TPW, cool ... I can create GUI applications using it. Then I found Delphi, it's even better. Unfortunately, I can't effort the price of Delphi.

Finally I found Lazarus, it has all the advantages mentioned above.

first Impression...
It is good when you have a plenty of time, to find!! and learn concepts, try different things... But! When you need to make an application with certain functionality, but have to dig documents and wait for replies of forum instead...!!

If you ever found any languages or compilers or tools that require very little time to learn. Please let me know. I ever learn a bit and try to use QB64, Python, C++ to write games. Oh, I felt I was lost in the middle of galaxy ... too much area needed to be (re)explored. I have no problem using Lazarus to program anything I want except database and web/network app, which are the things I haven't explored.
Title: Re: Do newbies get a good "1st time impression" of Lazarus ?
Post by: BSaidus on November 12, 2018, 08:42:31 pm
personnely yes.
Since I installed lazarus first time, I love it. in a company where i work i use delphi, but lazarus is my love.
TinyPortal © 2005-2018