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 Sun 21 Dec 2014, 21:30
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Lazarus 0.9.30 + FreePascal fpc 2.4.2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 4 of 5 Posts_count   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Wed 16 Nov 2011, 00:28    Post_subject:  

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.

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
panoss

Joined: 31 Oct 2011
Posts: 158

PostPosted: Wed 16 Nov 2011, 02:41    Post_subject:  

'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.
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Wed 16 Nov 2011, 03:38    Post_subject:  

Hello panoss,

Quote:
'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?

Quote:
It's really exhausting, instead of programming it's been some weeks that I'm trying to make Lazarus work!

Yes, i know! Evil or Very Mad

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

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
panoss

Joined: 31 Oct 2011
Posts: 158

PostPosted: Thu 17 Nov 2011, 05:19    Post_subject:  

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.

Edited_times_total
Back to top
View user's profile Send_private_message 
panoss

Joined: 31 Oct 2011
Posts: 158

PostPosted: Fri 18 Nov 2011, 07:35    Post_subject:  

.......
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Fri 18 Nov 2011, 11:49    Post_subject:  

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

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
panoss

Joined: 31 Oct 2011
Posts: 158

PostPosted: Fri 18 Nov 2011, 12:19    Post_subject:  

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!

Edited_time_total
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Fri 18 Nov 2011, 12:26    Post_subject:  

I believe you and i am right on the way to do all that stuff again.
_________________
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: Fri 18 Nov 2011, 14:11    Post_subject:  

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 Exclamation and it all was successfully so i must have to say Very Happy nice work, done by you Very Happy

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 Very Happy

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. Smile

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
panoss

Joined: 31 Oct 2011
Posts: 158

PostPosted: Mon 21 Nov 2011, 04:54    Post_subject:  

RSH wrote:

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

Laughing

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. Rolling Eyes
Just kidding, I'm not gonna try it, there's no reason.
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Mon 28 Nov 2011, 16:04    Post_subject:  

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

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
tatamata

Joined: 02 May 2010
Posts: 63

PostPosted: Sun 22 Jan 2012, 04:49    Post_subject:    

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/CodeTyphon-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! Laughing

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/CodeTyphon-Libs.html

Could you please test in some frugal Puppy an report results?
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Sun 22 Jan 2012, 05:05    Post_subject:  

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/CodeTyphon-240.html
Note that it is huge, 788 MB, since it is already precompiled.

Crying or Very sad Crying or Very sad Crying or Very sad

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

Crying or Very sad Crying or Very sad Crying or Very sad

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
tatamata

Joined: 02 May 2010
Posts: 63

PostPosted: Sun 22 Jan 2012, 05:18    Post_subject:  

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?
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Sun 22 Jan 2012, 05:47    Post_subject:  

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. Very Happy

RSH
code-typhon-4-shared.jpg
 Description   
 Filesize   40.84 KB
 Viewed   1796 Time(s)

code-typhon-4-shared.jpg


_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 4 of 5 Posts_count   Goto page: Previous 1, 2, 3, 4, 5 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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