Lazarus 0.9.30 + FreePascal fpc 2.4.2

Talk about and post software packages known to work or packaged for Puppy.
Message
Author
User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#46 Post by RSH »

It seems like i have compiled both versions successfully. I am now able to set an event in the object inspector using Lazarus-0.9.30.

But:

If have had some warnings trough compiling the sources. These warnings said (f.e.) "Symbol TNotebook is deprecated", "Symbol TPage is deprecated". Symbol "TButton" as well. These warnings have been printed while compiling files using the .inc files and compiling the examples of both versions of lazarus.

Did you got these or any other Warnings trough compiling?

Compiling a GUI in Lazarus-0.9.30 using Symbol "TExtendedNotebook" stopped with error message "unit not found". Sourcecode highlighted.
"TExtendedNotebook" is not existing in Lazarus-09.28.2. There is a Symbol "TNotebook".
"TNotebook" seems not to exist in Lazarus-0.9.30. So i think compiling stopped because of the difference in these Symbols and/or units.
Compiling a GUI with "TNotebook" in Lazarus-0.9.28.2 has been successfull.

Please: explain, what is the meaning of "depreacted". I don't know this word.
[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]

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#47 Post by panoss »

'depreciated', has lost it's value.
I guess, it means that they will not be used in the new version.
Yes, I got many warning messages during compilation.
And also errors when trying some programs of mine.
It's really exhausting, instead of programming it's been some weeks that I'm trying to make Lazarus work!
I can't anymore, I 'll try the win verson, which works through wine in puppy, and if problems continue, I 'll go to some other version of linux, or even windows.

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

#48 Post by RSH »

Hello panoss,
'depreciated', has lost it's value.
I guess, it means that they will not be used in the new version.
The Symbol "TNotebook is deprecated" message did have no effect of compiling a GUI with the Symbol "TNotebook". Just a warning was given. I was able to insert pages into the Symbol "TNotebook" and it compiles also - with warnings.

Listen (read): the warning says "deprecated" not "depreciated". Is this a fault in Lazarus or is the word "deprecated" existing too?
It's really exhausting, instead of programming it's been some weeks that I'm trying to make Lazarus work!
Yes, i know! :evil:
try the win version, which works through wine in puppy
That has never been thougth by me, but i will try this as well. Maybe it works.

Lobster says that he has just downloaded the Lazarus-0.9.28.2-12-i386-fpc-2.4.0-2ubuntu3.1-i386_528.sfs and it runs in Slacko 5.3, but he didn't tell, if he has compiled something etc. I will post there and ask him. Maybe this could be a solution. It has got a newer kernel.
http://www.murga-linux.com/puppy/viewtopic.php?t=73430

I will go on to get this thing running but i will also give place and time back to other things. So, come back from time to time to this place. Maybe something changes positively. Then i will report.

So long...

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]

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#49 Post by panoss »

Some progress made!!!
1. I made a NEW frugal install of puppy528, in dir /puppy528. RESTART choosing to save the lupusave file.
2. Menu>Utility resize personal storage file>2GB>OK. Large space is NECESSARY for Lazarus.
......(second installation of Lazarus MAY be needed if not all files were installed, e.g in case of small storage file)
......Restart pc.
3. Install Lazarus-0.9.30.0-fpc-2.4.2.pet
4. Install lupu_devx_528-3.sfs: I have put it in /mnt/home/puppy528 and loaded it with Menu>System>Boot manager>Choose which extra SFS files...
5. Restart puppy.
8. Start Lazarus. Environment>Options
.....Lazarus directory: /usr/lib/lazarus/0.9.30/
.....Compiler path: /usr/bin/fpc
.....FPC source directory: /usr/share/fpcsrc/$(FPCVer)/
.....Make path: /usr/bin/make
.....Directory for building test: /tmp/
9. Environment>Rescan FPC source directory
10. Open & install package: /usr/lib/lazarus/0.9.30/components/zeosdbo/packages/lazarus/zcomponent.lpk
11. Eliminate the known problem with the object inspector replacing the rtl dir (/usr/share/fpcsrc/2.4.2/rtl) with a newer version found in fpc-src-2.4.4-0.laz.i686.rpm.
I uncompressed it with fileroller (or some other program).
12.Also in Tools>Configure "Build Lazarus">IDE NEVER choose option "Clean+Build".
Also, NEVER check the checkbox "Clean All".
That is, for some reason, IDE must never get Cleaned.
Because if it does, it will be giving an error "Fatal: can't find unit DefinedTemplates used by LazConf".
13. I also installed Instant_Update-Lucid528-002.pet. I don't know if that's of any importance for lazarus, but I inform you, anyway.
Last edited by panoss on Fri 18 Nov 2011, 15:02, edited 9 times in total.

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#50 Post by panoss »

.......

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

#51 Post by RSH »

I have done exactly as described. (1 to 10 without installing Instant_Update-Lucid528-002.pet.). Everything seemed to be alright. Compiled without errors and there were no warnings shown.

But the old problem to add an event in the object inspector wasn't fixed.

Doubleclick an item in the object inspector and lazarus crashes.

I have found this one (fpc-src-2.4.4-0.laz.i686.rpm.) also but didn't use it. Don't know why. Maybe because of the newer version (my focus laid on 0.9.28.2).

However, this is what i am calling HELP and if the whole thing will be solved the credits surely will go to you.

Thanks for keeping on...

...and now, the same procedure once again...

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]

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#52 Post by panoss »

RSH wrote:
But the old problem to add an event in the object inspector wasn't fixed.

Doubleclick an item in the object inspector and lazarus crashes.
panoss wrote: 11. Eliminate the known problem with the object inspector replacing the rtl dir (/usr/share/fpcsrc/2.4.2/rtl) with a newer version found in fpc-src-2.4.4-0.laz.i686.rpm.
I uncompressed it with fileroller (or some other program).
Open /usr/share/fpcsrc/2.4.2 and delete directory /rtl
In it's place put the directory /rtl from the uncompressed fpc-src-2.4.4-0.laz.i686.rpm .

RSH wrote: I have found this one (fpc-src-2.4.4-0.laz.i686.rpm.) also but didn't use it. Don't know why. Maybe because of the newer version (my focus laid on 0.9.28.2).
RSH
If you don't use it there's no case the problem to be fixed!!!!
Maybe the /rtl from 0.9.28.2 also works, but why not try a newer /rtl?
BELIEVE ME IT WORKS!
Last edited by panoss on Fri 18 Nov 2011, 16:35, edited 1 time in total.

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

#53 Post by RSH »

I believe you and i am right on the way to do all that stuff again.
[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

#54 Post by RSH »

RSH wrote:I have found this one (fpc-src-2.4.4-0.laz.i686.rpm.)
Oh no, i was wrong in case of that fact. It was a 244 deb that i've found earlier.

However: i have used the rpm :!: and it all was successfully so i must have to say :D nice work, done by you :D

It was just one step to make me quit the whole thing and turn to my Kubuntu system. Your post has saved me from leaving puppy for a while and to keep hanging on to this project.

So again: NICE WORK :D

Thank you

Edit: in the next days i will try this on puppy studio 3.3, wary 5.2 and slacko 5.3 and maybe one or two more puppies. The results will be posted here.

Edit: looks like "Lazarus - the Frankenstein Version" is dead and now "panosszarus" has shoot into the light. :)
[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]

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#55 Post by panoss »

RSH wrote: Edit: looks like "Lazarus - the Frankenstein Version" is dead and now "panosszarus" has shoot into the light. :)
:lol:

I like it very much, I mean the combination puppy - lazarus.
it' lean, slim, light, fast.
And if something goes wrong (knock on wood), making a new puppy installation, plus lazarus installation, takes less than 10 minutes! Literally.
I can't think of any better combination, maybe DSL-lazarus. :roll:
Just kidding, I'm not gonna try it, there's no reason.

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

#56 Post by RSH »

panoss wrote:And if something goes wrong (knock on wood), making a new puppy installation, plus lazarus installation, takes less than 10 minutes! Literally.
I have made some testings and some work on this project too, so i can say you can save these ten minutes in the future. Note: after installing lazarus slacko 5.3 hung up while saving the formerly created savefile. That's why i'm using the .sfs method.

Method using .sfs
--------------------

Tested successfully with:

- Lucid 5.2.8
- Puppy Studio 3.3
- Slacko 5.3
- Wary 5.2

1. Start Puppy without using a savefile (live)
.....Installing "sfs_load-1.2" first in Puppy Studio 3.3
2. Load Lazarus-0.9.30.0-fpc-2.4.2.sfs (setup>setup puppy>sfs-load on the fly)
3. Load lupu_devx_528-3.sfs (setup>setup puppy>sfs-load on the fly)
4. Reboot PC and creating savefile (1GB has always been enough)
5. Start Lazarus (/usr/lib/lazarus/0.9.30/startlazarus)

.....click OK (package message zcomponent)
6. Menu Environment>Options
.....Lazarus directory: /usr/lib/lazarus/0.9.30/
.....Compiler path: /usr/bin/fpc
.....FPC source directory: /usr/share/fpcsrc/$(FPCVer)/
.....Make path: /usr/bin/make
.....Directory for building test: /tmp/
7. Menu Environment>Rescan FPC source directory
8. Menu Tools>Configure "Build Lazarus"

.....LCL (Clean+Build)
.....Package Registration (Clean+Build)
.....IDE Interface (Clean+Build)
.....SynEdit (Clean+Build)
.....IDE (None)
.....Examples (Clean+Build)
.....Uncheck "Restart after building IDE"
.....Uncheck "Clean all"
Exit Formular "Configure Build Lazarus" with "Save settings"
9. Open & Install Package: /usr/lib/lazarus/0.9.30/components/zeosdbo/packages/lazarus/zcomponent.lpk
10.Rebuild Lazarus
11.Replacing the rtl dir (/usr/share/fpcsrc/2.4.2/rtl) with the newer version (fpc-src-2.4.4-0.laz.i686.rpm)
12.File /usr/share/applications/lazarus-0.9.30.desktop fixed

.....Open As Text (rightclick contextmenu)
.....Line "Exec=startlazarus-0.9.30 %f" changed to "Exec=/usr/lib/lazarus/0.9.30/startlazarus" to be able to start lazarus from the utility menu
13.Reboot PC

But that's not all, i have also build an .sfs file out of the rebuild lazarus and the replaced rtl directory. And it works out of the box. No need to compile again and even no need to replace the rtl directory (all done). I have split and then uploaded the .sfs file (because of the maximum upload size of the file hoster). There is a script that rebuilds the .sfs after downloading the files. But first the path's inside the script must be changed to the download directory (otherwise it builds an empty file). So please read the 'build-readme-en.txt' file before you try to rebuild the .sfs.

The files formerly presented here are no longer available.

Please download LazY Puppy 5.2.8-4 if you want to use lazarus.
http://murga-linux.com/puppy/viewtopic.php?t=74544

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]

tatamata
Posts: 63
Joined: Sun 02 May 2010, 09:09

#57 Post by tatamata »

Hello, guys.
I have prepared a huge .pet (788MB) of CodeTyphon distribution of Lazarus and FrePascal. See http://www.pilotlogic.com/sitejoom/index.php/codetyphon
Download PET here:
http://www.4shared.com/file/U5ryH2fy/Co ... n-240.html
Note that it is huge, 788 MB, since it is already precompiled.

CodeTyphon distribution contains a lot more components than regular Lazarus distribution. Yes, this pet is huge and is contrary to both CodeTyphon philosophy (installation from source) and Puppy philosophy (keep it small), but, hey, you get the best RAD tool on the planet! :lol:

I suppose it will work even without missing libraries, because it is already compiled, but here are libraries, just in case:
http://www.4shared.com/file/rxSOsfAe/Co ... -Libs.html

Could you please test in some frugal Puppy an report results?

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

#58 Post by RSH »

tatamata wrote:Hello, guys.
I have prepared a huge .pet (788MB) of CodeTyphon distribution of Lazarus and FrePascal. See http://www.pilotlogic.com/sitejoom/index.php/codetyphon
Download PET here:
http://www.4shared.com/file/U5ryH2fy/Co ... n-240.html
Note that it is huge, 788 MB, since it is already precompiled.
:cry: :cry: :cry:

I really would have downloaded the .pet, but i don't want to sign in and leave my email adress just to download this file.

RSH

:cry: :cry: :cry:
[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]

tatamata
Posts: 63
Joined: Sun 02 May 2010, 09:09

#59 Post by tatamata »

I think you don't have to sing-in, but have to wait some time until download is available if you don't sign...Isn't there a counter showing you how many seconds you have to wait?

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

#60 Post by RSH »

Hi, tatamata.

I have been waiting for about ten minutes or more - nothing happened.

Ok, i've got an idea. You can store this file at mediafire. I will send you my password (pm) and let it open until upload. You can also then search my folders - and maybe find something interesting.

The 200mb issue (max. file size at mediafire) do we solve using a pet created by myself. It lets you split big files into parts and creates a rebuild script. It has a simple self explaining GUI.

Just install the .pet then rightclick on the your huge .pet and choose split file. Nothing else to do. You will get informed if the job is done (xdialog message).

BTW: it is already built in in LazY Puppy 528-4. :D

RSH
Attachments
code-typhon-4-shared.jpg
(40.84 KiB) Downloaded 2703 times
[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

#61 Post by 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
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

Link to Code Typhon

#62 Post by RSH »

The Link to Code Typhon Directory at mediafire:

http://www.mediafire.com/?2vry69xml30de
[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]

Post Reply