Lazarus IDE 0.9.30.0 & Free Pascal 2.4.2 running on Puppy!

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Message
Author
User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

Lazarus IDE 0.9.30.0 & Free Pascal 2.4.2 running on Puppy!

#1 Post by RSH »

Hello,

anyone interested on lazarus running on puppy?

Updated: 28.11.2011 23:22 (GMT+1)

This post is actually no longer up to date. panoss has made some progress and really nice work! You will find every needed information and the files to download here: http://murga-linux.com/puppy/viewtopic. ... 9&start=48.
And here: http://murga-linux.com/puppy/viewtopic. ... 9&start=55.

So, it may be interesting to go ahead and read the whole thing, but it is absolutely no longer neccessary! Save your time and just enjoy it here: http://murga-linux.com/puppy/viewtopic. ... 9&start=48

Actually this one is tested in lucid puppy 528. It will be tested in puppy studio 3.3, wary 5.2 and slacko 5.3 in the next days.

So, the credits are going to panoss!


Updated: 18.11.2011 16:57 (GMT+1)

If you are only interested in the latest facts and results of getting this one here to a final solution, then go to: http://murga-linux.com/puppy/viewtopic. ... 9&start=48 (recommended, panoss has made some progress in between). Otherwise go ahead.


Updated: 16.11.2011, 12:04

I have found a way to use lazarus and free pascal under puppy. (If i would have those problems to get programs installed and successfully running under my windows 98se, me & xp systems, i would have made mr. gates eating his own dvd's. :wink: But i like Puppy and so i won't give up.) :)

First let me say two things:

1. If you hit a mean mean topic like this in the forum, please don't post things like "I have run 'this one program' in 'that one puppy' etc." without posting what you have had exactly done (exact as you can). Also, upload the files you are using (sfs, pet) somewhere so we can download and check this out. Otherwise it is not really helpful (IMHO).

2. If you are posting links, check out if they are dead or not.

PLEASE DO SO.

How do you say?: That was quite a dance!

Ok, now to the facts. The shown way surely can not be the final solution but it works - for now. It will be big, because you have to install lazarus and free pascal in two different versions and only the older version works. To make it a little smaller, you can remove the win32 directorys of lazarus 0.9.30, if you don't need them.

There will be no problem to add an event in the object inspector but some units are missed and some broken dummy packages will be created (messages on the screen). To add an event in the object inspector has been the main problem in Lazarus-0.9.30 (fpc242).

I have build my own GUI using a menu, radio buttons, check boxes and toggle boxes. It has been compiled successfully and runs as a standalone application. I have also compiled some examples (not all, maybe 8 to 12) of the lazarus 0.9.28.2 examples directory. Most of them successfully, two with errors in the code, that i did not checked for detail and one with a missing unit. Something that uses ENDIF in the type definition section of the source. I am just a beginner of Lazarus and the pascal that i have learned has been in a more strictly way to Mr. Wirth's definition - there were no units or classes. But i think the CONST, TYPE and VAR definition should be the same way. So, i hope you do understand.

The attachement is a description, how to get lazarus running, creating tools and compile them successfully. Please do it exactly the way, it is noticed. Download the tar.gz and rename it to .txt.

I have tested it on lucid puppy 528 (live, no savefile) many times and in many different ways (edit: in between tested on Lucid 528, Puppy Studio 3.3, Wary 5.2 & Slacko 5.3). Only the way that i will show here has been working. It works with installed pet and loaded sfs (tested with the SFS-Load on-the-fly 1.2).

Again: This way surely can not be the final solution, and so it is not, but maybe we can go from here to find a solution to get the errors and the missing units fixed and then build a special, a very special pet for puppy, ladys and gentlemen.

You will need the following files to do that:

Edit (18.11.2011): it is now recommended to go to http://murga-linux.com/puppy/viewtopic. ... 9&start=48 and download the panoss's files.
Or using the sfs: http://murga-linux.com/puppy/viewtopic. ... 9&start=55.


Using .sfs:
-----------
Lazarus-0.9.30.0-fpc-2.4.2.sfs, wich is surely the file that we all have already downloaded from different places.
http://www.smokey01.com/pemasu/Sfs/
Lazarus-0.9.28.2-12-i386-fpc-2.4.0-2ubuntu3.1-i386_528.sfs, wich i have uploaded
here: http://www.mediafire.com/?4g1qn1izip9gbzn

Using .pet:
------------
Lazarus-0.9.30.0-fpc-2.4.2.pet, wich is surely the other file that we all have already downloaded from different places.
http://www.smokey01.com/pemasu/Pets/
Lazarus-0.9.28.2-12-i386, wich i have uploaded
here: http://www.mediafire.com/?rce1zgdana0uyjs
and fpc-2.4.0-2ubuntu3.1-i386, wich i have uploaded
here: http://www.mediafire.com/?cdyw4yh4udmdhfa

Please don't use your favorite savefile while checking this out.

Help and knowledge requested and welcome!

Hope you can enjoy this

RSH

Here's some more (the main problem, how we "solved" this etc.)
http://murga-linux.com/puppy/viewtopic. ... 9&start=15
Attachments
lazarus-on-puppy-cut.png
lazarus with my own created GUI compiled and running
(181.83 KiB) Downloaded 3123 times
lazarus-running-on-puppy.tar.gz
description to get lazarus running on puppy
(3.25 KiB) Downloaded 958 times
Last edited by RSH on Mon 28 Nov 2011, 22:24, edited 6 times in total.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

Could you give us a short description of what Lazarus does? What would I use it for? :?

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#3 Post by RSH »

Hello Flash,
Could you give us a short description of what Lazarus does? What would I use it for?
I will try it. Lazarus and Free Pascal are Programs that work together to write Programs in a binary form. I think Free Pascal is the Backend (Compiler, Librarys etc.) and Lazarus is the Frontend (GUI with Editor and GUI Builder or Creator etc). Normally the written and then compiled program has got its all libraries aboard - all just in one binary file, so it should run in every distro. You can only edit and change the program, if you got the source code and Lazarus with Free Pascal.

Hope this helps a little.

RSH

Edit: anyone who is interested will find more information here: http://murga-linux.com/puppy/viewtopic. ... 9&start=20
Help is requested and welcome to get this one finally work.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#4 Post by RSH »

Ah ja,

ok, you are just interested in this, to kick my topic onto another place. I was a little :shock: , couldn't find this one here so fast.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#5 Post by Flash »

From your description, I reckon that anyone looking for Lazarus will look in the Programming section first. :)

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#6 Post by RSH »

Ok, i understand this and it's going alright with me.

But maybe there is a possibility to create a temporary post, who gets the opener of the topic to the new place, and then after this the temporary post might be automatically deleted? Is that possible or is it too much work or technically impossible?

RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#7 Post by Flash »

I could have left what the forum software calls a "shadow topic" where you originally posted this thread, when I moved this thread from there to where it is now. The "shadow topic" would link to this thread. A shadow topic gradually sinks down until it is out of sight, but can't be undone except by deleting the original thread. In my opinion, shadow topics clutter up the forum, so I use them sparingly.
If you want to post temporarily about this topic somewhere else in the forum, go ahead, but please link to this thread, and remind me to delete the other one after a while. Thanks.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#8 Post by technosaurus »

iirc, lazarus/free pascal is capable of using gtk+-1.X still... Is that correct?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#9 Post by Lobster »

anyone interested on lazarus running on puppy?
Maybe Puppy should only run programming languages named after philosophers . . . ?
First Bacon and now Pascal . . .

Downloaded the SFS
renamed it to Lazarus-0.9.28.2-12-i386-fpc-2.4.0-2ubuntu3.1-i386_53.sfs
Note the end number
It is running in Slacko Puppy 5.3
and should work :)

Pascal Puppy
Because You're Wirth it
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#10 Post by 01micko »

Lobster wrote: Maybe Puppy should only run programming languages named after philosophers . . . ?
First Bacon and now Pascal . . .
mmmmm,,,, Bacon .. tasty

mmmmmm... Pascal.. weren't they lollies?

Sorry but gposil has left the building, he was a professional in Pascal, :( .

You can search some of his work.
Puppy Linux Blog - contact me for access

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#11 Post by RSH »

Hi,

@Lobster:
Maybe Puppy should only run programming languages named after philosophers . . . ?
This would be a nice idea! :D
It is running in Slacko Puppy 5.3 and should work.
Yes, if it is running, it should work. In my experience it runs in almost all puppies i have tried, but didn't work. If it really works on Slacko Puppy 5.3, maybe the newer kernel has got something to do with that. I have taken the files out of my kubuntu system, wich has got the kernel 2.6.38. But i don't like to use it because this kernel (and the up ones too) has a bug that make it to consume up to 26% more electric power than older kernels. This bug will be fixed not earlier than the release of 3.1.

So, back to lazarus:

Have you compiled anything?

Have you got any error messages or missed units at startup? If, wich ones?

Would be nice to know.
Pascal Puppy
Because You're Wirth it
:D Oh yes, i like this so much. I want to use this your saying, if i get the whole thing running and working :D
So, please allow me to do so.

@technosaurus
iirc, lazarus/free pascal is capable of using gtk+-1.X still... Is that correct
I don't really know that but i will try to get the knowledge of that fact. Then i will report it here. (iirc = if i remember correct?) Please post everything you are remembering, turn me into a person with knowledge. Please.

Edit: Lazarus can be recompiled with the many GUI options. Two of these options are gtk and gtk2. Am i right: this is what you wanted to know?

RSH
Last edited by RSH on Wed 16 Nov 2011, 17:54, edited 1 time in total.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#12 Post by Lobster »

I want to use this your saying
Mine . . . m m m . . .
Yes of course. Please do . . .
As you probably know . . .
L'Oréal's famous advertising slogan is "Because I'm worth it". In the mid 2000s, this was replaced by "Because you're worth it". In late 2009, the slogan was changed again to "Because we're worth it" following motivation analysis and work into consumer psychology of Dr. Maxim Titorenko.
I have not compiled or done anything with this Pascal yet. Been using shell script last couple of days . . . (been a while since programming) then intend to spend a bit of time with Bacon . . .
Finally will be able do some Pascaling again . . . I did have Free Pascal (either in Puppy or another Linux) running a while back. It seemed a not very mature implementation. What you have provided looks to have far more potential.

Many thanks :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#13 Post by RSH »

Lobster wrote:Mine . . . m m m . . .
As you probably know . . .
Quote:
L'Oréal's famous advertising slogan is "Because I'm worth it". In the mid 2000s, this was replaced by "Because you're worth it". In late 2009, the slogan was changed again to "Because we're worth it" following motivation analysis and work into consumer psychology of Dr. Maxim Titorenko.
Yes, i know this. In germany it was "weil Sie es sich wert sind". It changes as well and it runs trough a whole palette of consumer products. And it is like the old Volkswagen Slogan (i think you call it Beetle, we call it Käfer), we in germany say: "und läuft, und läuft, und läuft." wich means: and runs and runs and runs (or maybe goes on and on and on).

Edited:

Nobody never ever has used this with Wirth in the context. This is creative, this is a little like artists acting and/or being: a creative thief. Please don't worry about that (icrc: somebody like Goethe or Schiller has said this about his own work) :wink:
Lobster wrote:Yes of course. Please do . . .
changed a little and done
Last edited by RSH on Wed 16 Nov 2011, 18:33, edited 1 time in total.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

Gyle
Posts: 115
Joined: Mon 24 Dec 2007, 01:06
Location: Fr

#14 Post by Gyle »

Hi RSH, glad to see your thread !
Tested an old version, buried somewhere on HD, lazarus-0.9.28.2-complete.sfs, on Slacko few days ago with success.
@ Lobster
"Finally will be able do some Pascaling again . . . "
happy reWirth! :lol:
Attachments
IDE-Options.png
(65.87 KiB) Downloaded 1773 times
Lazarus-laptop-screen-2.png
(166.96 KiB) Downloaded 1093 times

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#15 Post by RSH »

Gyle wrote:Tested an old version, buried somewhere on HD, lazarus-0.9.28.2-complete.sfs, on Slacko few days ago with success.
Would you please upload the lazarus-0.9.28.2-complete.sfs somewhere so we can download this one?
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
Moose On The Loose
Posts: 965
Joined: Thu 24 Feb 2011, 14:54

Re: Lazarus & Free Pascal running on Puppy!

#16 Post by Moose On The Loose »

RSH wrote:Hello,

anyone interested on lazarus running on puppy?

I have found a way to use lazarus and free pascal under puppy.
I have previously pointed out that the Free Pascal complete with IDE will work on puppy. You just need to bring in the devx sfs to do it. It would be very nice if someone created a "bgi" that did Xwindows stuff because then even the programs that use graphics can be compiled.

The FreePascal compiler will compile the Borland object oriented flavor of Pascal. It will do some other flavors too.

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#17 Post by RSH »

Moose On The Loose wrote:I have previously pointed out that the Free Pascal complete with IDE will work on puppy. You just need to bring in the devx sfs to do it.
1. Show me the topic, please.
2. Upload the sfs/pet and/or show me where to download, please.
Moose On The Loose wrote:It would be very nice if someone created a "bgi" that did Xwindows stuff because then even the programs that use graphics can be compiled.
Explain "bgi", please.
Moose On The Loose wrote:The FreePascal compiler will compile the Borland object oriented flavor of Pascal. It will do some other flavors too.
What does this "Borland object oriented flavor of Pascal"?

Did you compile anything?

Have you read the whole topic (this one here) and this one as well?
http://murga-linux.com/puppy/viewtopic.php?t=68589
or the last parts of it
http://murga-linux.com/puppy/viewtopic. ... 9&start=15
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

Gyle
Posts: 115
Joined: Mon 24 Dec 2007, 01:06
Location: Fr

#18 Post by Gyle »

RSH, you asked for error messages at install..., there is the only one I saw

Translated from French:
The current directory source Free Pascal "/ usr/share/fpcsrc/2.2.4 /" does not seem correct.
Choose OK to return to the default "".
If not, check Settings-> Environment Options-> Files
Click OK, go to Options and correct the path before testing.
Attachments
Lazarus_first error config message.png
(19.08 KiB) Downloaded 1732 times

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#19 Post by RSH »

Again:
Gyle wrote: Tested an old version, buried somewhere on HD, lazarus-0.9.28.2-complete.sfs, on Slacko few days ago with success.
Would you please upload the lazarus-0.9.28.2-complete.sfs somewhere so we can download this one?

Did you compile anything?

Successfully?


Edit: i have found the link to lazarus-0.9.28.2-complete.sfs. It has been gposil's page, but the page is gone and so the link is just like dead.

Please upload the lazarus-0.9.28.2-complete.sfs somewhere so we can download this one.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
Moose On The Loose
Posts: 965
Joined: Thu 24 Feb 2011, 14:54

#20 Post by Moose On The Loose »

RSH wrote:
Moose On The Loose wrote:I have previously pointed out that the Free Pascal complete with IDE will work on puppy. You just need to bring in the devx sfs to do it.
1. Show me the topic, please.
2. Upload the sfs/pet and/or show me where to download, please.
I just tried to post a longish reply and the whole thing got lost.
There appears to be a problem with the forum taking the post.

I couldn't find the post where I discussed the issue. I will post this and see if it works.
Did you compile anything?
I have compiled many programs with it and debugged them as needed.

It appears that I can't add any sort of an attachment to my posts and have them go through. I have a copy of a pet that works fine under lucid-525 but unless I think of some other way to do it, I can't give it to you.

Post Reply