Creating a Dotpup for Free Pascal Compiler and Lazarus
Creating a Dotpup for Free Pascal Compiler and Lazarus
Hi all,
I installed FPC and it's source and compiled Lazarus under Puppy 2.13 and I would like to make a dotpup to make it easy to install. Now, I downloaded and installed dotpup wizard but there is a point I cannot understand. The wizard ask for the executable file and tell me that it creates a script under /usr/local/bin asking for a binary. Now, if I choose fpc, which is free pascal binary file, it hides this binary file and I cannot start fpc compiler after the installation of dotpup. BTW, fpc has a binary just in /usr/local/bin and also other files but this one is overriden by th fpc.sh dotpup wizard creates.
For lazarus I didn't try yet.
How can I solve this problem ?
Thanks.
I installed FPC and it's source and compiled Lazarus under Puppy 2.13 and I would like to make a dotpup to make it easy to install. Now, I downloaded and installed dotpup wizard but there is a point I cannot understand. The wizard ask for the executable file and tell me that it creates a script under /usr/local/bin asking for a binary. Now, if I choose fpc, which is free pascal binary file, it hides this binary file and I cannot start fpc compiler after the installation of dotpup. BTW, fpc has a binary just in /usr/local/bin and also other files but this one is overriden by th fpc.sh dotpup wizard creates.
For lazarus I didn't try yet.
How can I solve this problem ?
Thanks.
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
You should create
/root/lazarus/run-lazarus
This could be such a script:
And add an icon (16x16 px):
/root/lazarus/icon.xpm
Then create
/root/lazarus/FILESYSTEM/
Copy there all files you installed, so you have
/root/lazarus/FILESYSTEM/usr/local/bin/fpc
and so on.
Then drag the folder
/root/lazarus/
on the dotpup-wizard, and choose "run-lazarus" as your script to execute from the menu.
Mark
/root/lazarus/run-lazarus
This could be such a script:
Code: Select all
#!/bin/bash
fpc "$@" &
/root/lazarus/icon.xpm
Then create
/root/lazarus/FILESYSTEM/
Copy there all files you installed, so you have
/root/lazarus/FILESYSTEM/usr/local/bin/fpc
and so on.
Then drag the folder
/root/lazarus/
on the dotpup-wizard, and choose "run-lazarus" as your script to execute from the menu.
Mark
has anybody tried just renaming the slax lazarus .mo as an .sfs file?
http://merlin.fit.vutbr.cz/mirrors/slax ... C2_02-1.mo
i'm just dloading it in my local library & will let you know how it goes.
http://merlin.fit.vutbr.cz/mirrors/slax ... C2_02-1.mo
i'm just dloading it in my local library & will let you know how it goes.
Hi Ledster,
afaik there is no dependencies for Lazarus. I did not terminated anymore to create a lazarus dotpup because it is really easy to download and compile it.
Just download and install fpc on Puppy, then download entire Lazarus sources and follow the installme file to compile it (using fpc) and having it running and working properly.
Let me know about your problem, maybe I can have some suggest for you or I can try to create one dotpup for you is slax one is not working on Puppy.
Bye
Slapshot
afaik there is no dependencies for Lazarus. I did not terminated anymore to create a lazarus dotpup because it is really easy to download and compile it.
Just download and install fpc on Puppy, then download entire Lazarus sources and follow the installme file to compile it (using fpc) and having it running and working properly.
Let me know about your problem, maybe I can have some suggest for you or I can try to create one dotpup for you is slax one is not working on Puppy.
Bye
Slapshot
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
the slax .mo isn't the latest lazarus version, but just renaming .mo to .sfs, then using the .sfs bootmanager to load it next boot, then type lazarus at prompt, and your up & running with version 0.9.14. that's as far as i've gone, as the last time i did anything with pascal was with turbopascal on dos.
slax also has a kylix.mo file, (for kylix 3.0)
slax also has a kylix.mo file, (for kylix 3.0)
Lazarus right now is on 0.9.23 version, and it is an opensource project so I would prefer to download it via an SVN client (look at Puppy repository via PetGet) and build it up with "make clean install". FPC could be download with its packaging with no problem. I recall it is 2.0.4 on its latest stable.
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Lazarus
Sounds like it should be fairly easy (famous last words!)
However, I am only on dial up so would like to know which files I should use before I download. A look at the Sourceforge site shows a wide selection.
Choices are deb's, rpm's or this rather odd mixture - fpc-2.0.4.i386-linux.tar, fpc-src-2.0.4.source.tgz, lazarus-0.9.22-1.tar.gz.
(Interestingly the crosswin compiler files are only available in deb and rpm format)
Last time I downloaded the rpm files for fpc, fpcsrc and lazarus and used unrpmfull to extract them to /mnt/home (/initrd/mnt/dev_save then). It needed a lot of fiddling with to get directories where they were expected to be (perhaps some symlinks would have worked better/quicker - and saved me having to increase the size of my Puppy save file) and I actually got Lazarus to run, but it would not compile a program - complained it needed ld, which is a kernel command, I believe, and something to do with linking.
All help and advice will be gratefully received.
Ches
However, I am only on dial up so would like to know which files I should use before I download. A look at the Sourceforge site shows a wide selection.
Choices are deb's, rpm's or this rather odd mixture - fpc-2.0.4.i386-linux.tar, fpc-src-2.0.4.source.tgz, lazarus-0.9.22-1.tar.gz.
(Interestingly the crosswin compiler files are only available in deb and rpm format)
Last time I downloaded the rpm files for fpc, fpcsrc and lazarus and used unrpmfull to extract them to /mnt/home (/initrd/mnt/dev_save then). It needed a lot of fiddling with to get directories where they were expected to be (perhaps some symlinks would have worked better/quicker - and saved me having to increase the size of my Puppy save file) and I actually got Lazarus to run, but it would not compile a program - complained it needed ld, which is a kernel command, I believe, and something to do with linking.
All help and advice will be gratefully received.
Ches
Here you can download Lazarus 0.9.25 compiled in Puppy 3.x. Sorry for late .
http://www.giovelug.org/index.php?lng=e ... indice&c=5
http://www.giovelug.org/index.php?lng=e ... indice&c=5
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
I just installed the Lazurus environment (it took a while but was simple and successful)
you also need freepascal (another 30MB)
http://www.freepascal.org/
run
from the command line to install
Now I have to set the Environment in Lazarus?
Are programs (are there any?) compiled and using the GTK2 option as the GUI going to be small or dependency heavy?
you also need freepascal (another 30MB)
http://www.freepascal.org/
run
Code: Select all
./install.sh
Now I have to set the Environment in Lazarus?
Are programs (are there any?) compiled and using the GTK2 option as the GUI going to be small or dependency heavy?
@MU
Thanks for your mirroring
@Lobster
Lazarus needs of fpc and its sources downloadable here:
http://www.freepascal.org/down/source/s ... al.org.var
One of the environment options want to search for them.
About the size it is not so small because Lazarus compiles with all LCL inside the binary but it has this advantages:
1. Fastness (as any compiled software)
2. No dipendencies at all. All it is into monolithic binary
For the size, with growing of the code you can see it does not grow so much compared to other compilers. Please, have a look to:
http://wiki.lazarus.freepascal.org/Laza ... _so_big.3F
Stripping the simbols and using UPX can shrink so much binary size.
Thanks for your mirroring
@Lobster
Lazarus needs of fpc and its sources downloadable here:
http://www.freepascal.org/down/source/s ... al.org.var
One of the environment options want to search for them.
About the size it is not so small because Lazarus compiles with all LCL inside the binary but it has this advantages:
1. Fastness (as any compiled software)
2. No dipendencies at all. All it is into monolithic binary
For the size, with growing of the code you can see it does not grow so much compared to other compilers. Please, have a look to:
http://wiki.lazarus.freepascal.org/Laza ... _so_big.3F
Stripping the simbols and using UPX can shrink so much binary size.
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
No dependencies at all. All it is into monolithic binary
Ah . . .
thanks for reply
That makes a lot of sense and means the program will run in different distros.
Pascal was the first language I learned but I am strictly an amateur with very limited skills. I tend to like existing code I can hack . . .
The Lazurus environment looks very comprehensive
You're welcome Lobster .
Anyway, Lazarus is a good product. Now it is emerging also another gui framework that can cross-compile linux-windows with no dependencies at all about widgetsets, I mean it is fpGUI. Try to have a look at:
http://opensoft.homeip.net/fpgui/
http://wiki.lazarus.freepascal.org/fpGUI_Interface
I did not try it, yet, but I will soon.
Anyway, Lazarus is a good product. Now it is emerging also another gui framework that can cross-compile linux-windows with no dependencies at all about widgetsets, I mean it is fpGUI. Try to have a look at:
http://opensoft.homeip.net/fpgui/
http://wiki.lazarus.freepascal.org/fpGUI_Interface
I did not try it, yet, but I will soon.
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/