Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Sep 2014, 16:16
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Lazarus IDE 0.9.30.0 & Free Pascal 2.4.2 running on Puppy!
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [30 Posts]   Goto page: 1, 2 Next
Author Message
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Mon 14 Nov 2011, 09:05    Post subject:  Lazarus IDE 0.9.30.0 & Free Pascal 2.4.2 running on Puppy!
Subject description: Looks like solved. Installed version and sfs version successfully tested in 4 puppies
 

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.php?t=68589&start=48.
And here: http://murga-linux.com/puppy/viewtopic.php?t=68589&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.php?t=68589&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.php?t=68589&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.) Smile

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.php?t=68589&start=48 and download the panoss's files.
Or using the sfs: http://murga-linux.com/puppy/viewtopic.php?t=68589&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.php?t=68589&start=15
lazarus-on-puppy-cut.png
 Description   lazarus with my own created GUI compiled and running
 Filesize   181.83 KB
 Viewed   2243 Time(s)

lazarus-on-puppy-cut.png

lazarus-running-on-puppy.tar.gz
Description  description to get lazarus running on puppy
gz

 Download 
Filename  lazarus-running-on-puppy.tar.gz 
Filesize  3.25 KB 
Downloaded  398 Time(s) 

_________________
LazY Puppy
RSH's DNA
SARA B.

Last edited by RSH on Mon 28 Nov 2011, 18:24; edited 6 times in total
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11067
Location: Arizona USA

PostPosted: Mon 14 Nov 2011, 10:38    Post subject:  

Could you give us a short description of what Lazarus does? What would I use it for? Confused
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Mon 14 Nov 2011, 10:59    Post subject:  

Hello Flash,

Quote:
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.php?t=68589&start=20
Help is requested and welcome to get this one finally work.

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Mon 14 Nov 2011, 16:31    Post subject:  

Ah ja,

ok, you are just interested in this, to kick my topic onto another place. I was a little Shocked , couldn't find this one here so fast.

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11067
Location: Arizona USA

PostPosted: Mon 14 Nov 2011, 16:36    Post subject:  

From your description, I reckon that anyone looking for Lazarus will look in the Programming section first. Smile
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Mon 14 Nov 2011, 16:45    Post subject:  

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

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11067
Location: Arizona USA

PostPosted: Mon 14 Nov 2011, 23:11    Post subject:  

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.
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: Tue 15 Nov 2011, 01:09    Post subject:  

iirc, lazarus/free pascal is capable of using gtk+-1.X still... Is that correct?
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 15 Nov 2011, 05:50    Post subject:  

Quote:
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 Smile

Pascal Puppy
Because You're Wirth it

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7802
Location: qld

PostPosted: Tue 15 Nov 2011, 09:23    Post subject:  

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, Sad .

You can search some of his work.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Wed 16 Nov 2011, 03:59    Post subject:  

Hi,

@Lobster:
Quote:
Maybe Puppy should only run programming languages named after philosophers . . . ?

This would be a nice idea! Very Happy

Quote:
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.

Quote:
Pascal Puppy
Because You're Wirth it

Very Happy Oh yes, i like this so much. I want to use this your saying, if i get the whole thing running and working Very Happy
So, please allow me to do so.

@technosaurus
Quote:
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

_________________
LazY Puppy
RSH's DNA
SARA B.

Last edited by RSH on Wed 16 Nov 2011, 13:54; edited 1 time in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 16 Nov 2011, 04:27    Post subject:  

Quote:
I want to use this your saying

Mine . . . m m m . . .
Yes of course. Please do . . .
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.


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 Smile

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Wed 16 Nov 2011, 08:30    Post subject:  

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

_________________
LazY Puppy
RSH's DNA
SARA B.

Last edited by RSH on Wed 16 Nov 2011, 14:33; edited 1 time in total
Back to top
View user's profile Send private message 
Gyle

Joined: 23 Dec 2007
Posts: 97
Location: Fr

PostPosted: Wed 16 Nov 2011, 11:06    Post subject:  

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
Quote:
"Finally will be able do some Pascaling again . . . "

happy reWirth! Laughing
IDE-Options.png
 Description   
 Filesize   65.87 KB
 Viewed   960 Time(s)

IDE-Options.png

Lazarus-laptop-screen-2.png
Description 
png

 Download 
Filename  Lazarus-laptop-screen-2.png 
Filesize  166.96 KB 
Downloaded  411 Time(s) 
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Wed 16 Nov 2011, 11:24    Post subject:  

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?

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [30 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1274s ][ Queries: 13 (0.0161s) ][ GZIP on ]