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.panoss wrote:And if something goes wrong (knock on wood), making a new puppy installation, plus lazarus installation, takes less than 10 minutes! Literally.
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