Lazarus 0.9.30 + FreePascal fpc 2.4.2
Lazarus 0.9.30 + FreePascal fpc 2.4.2
I have prepared Puppy linux PET package for Lazarus 0.9.30 + fpc 2.4.2 with cross-compiling to win32.
Download PET from here:
http://www.4shared.com/file/q_aktBSR/La ... c-242.html
Even Zeosdbo is preinstalled.
I would kindly ask maintainers of different Puppy PET repositories to upload the package. Thanks.
Free Pascal (FPC) is an open-source Pascal compiler with two notable features: a high degree of Delphi compatibility and availability on a variety of platforms, including Windows, Mac OS X, and Linux. Free Pascal's compatibility with Delphi includes not only support for the same Object Pascal programming language that Delphi uses, but also for many of the same libraries of powerful routines and classes that Delphi is justly known for. This includes familiar units such as System, SysUtils, StrUtils, DateUtils, Classes, Variants, Math, IniFiles and Registry, which are included with Free Pascal on all supported platforms. Free Pascal also includes units such as Windows, ShellAPI, BaseUnix, Unix and DynLibs for accessing features specific to an operating system. These dozen or so units make up the core of what is usually referred to as the Free Pascal run-time library (RTL).
Lazarus is an open-source development system that builds on the Free Pascal compiler by adding an integrated development environment (IDE) that includes a syntax-highlighting code editor and visual form designer, as well as a component library that's highly compatible with Delphi's Visual Component Library (VCL). The Lazarus Component Library (LCL) includes equivalents for many of the familiar VCL controls such as forms, buttons, text boxes and so on that are used to create applications that have a graphical user interface (GUI).
Both Free Pascal and Lazarus are written in Pascal. Complete source code is available not only for the Free Pascal compiler and Lazarus IDE, but also for all units that make up the Free Pascal RTL and Lazarus LCL.
Download PET from here:
http://www.4shared.com/file/q_aktBSR/La ... c-242.html
Even Zeosdbo is preinstalled.
I would kindly ask maintainers of different Puppy PET repositories to upload the package. Thanks.
Free Pascal (FPC) is an open-source Pascal compiler with two notable features: a high degree of Delphi compatibility and availability on a variety of platforms, including Windows, Mac OS X, and Linux. Free Pascal's compatibility with Delphi includes not only support for the same Object Pascal programming language that Delphi uses, but also for many of the same libraries of powerful routines and classes that Delphi is justly known for. This includes familiar units such as System, SysUtils, StrUtils, DateUtils, Classes, Variants, Math, IniFiles and Registry, which are included with Free Pascal on all supported platforms. Free Pascal also includes units such as Windows, ShellAPI, BaseUnix, Unix and DynLibs for accessing features specific to an operating system. These dozen or so units make up the core of what is usually referred to as the Free Pascal run-time library (RTL).
Lazarus is an open-source development system that builds on the Free Pascal compiler by adding an integrated development environment (IDE) that includes a syntax-highlighting code editor and visual form designer, as well as a component library that's highly compatible with Delphi's Visual Component Library (VCL). The Lazarus Component Library (LCL) includes equivalents for many of the familiar VCL controls such as forms, buttons, text boxes and so on that are used to create applications that have a graphical user interface (GUI).
Both Free Pascal and Lazarus are written in Pascal. Complete source code is available not only for the Free Pascal compiler and Lazarus IDE, but also for all units that make up the Free Pascal RTL and Lazarus LCL.
pemasu uploaded the stripped version to his SnowPuppy PET repository here:
http://www.smokey01.com/pemasu/Pets/
http://www.smokey01.com/pemasu/Pets/
Some people might want an SFS instead: http://www.smokey01.com/pemasu/Sfs/
I used to only like Puppy as a friend, but now I think our relationship is starting to develop into something more... :D
One thing I find hilariously ridiculous about Lazarus, though, is that it compiles a 7.5 MB(!!) executable out of a very basic form. I don't know what's up with that, but it's a no-go...
Thanks a lot for the FPC, anyway, but for the said reason I wish it were 2 separate packages
Thanks a lot for the FPC, anyway, but for the said reason I wish it were 2 separate packages
I used to only like Puppy as a friend, but now I think our relationship is starting to develop into something more... :D
dawg,
The size of executable is just metter of adjusting some compiling parameters under Projects/Project Options/Compiler Options:
/Code Generation --> switch on "Smart linkable -CX", switch on lever 3 optimizations, switch-off everything else
/Linking/Debugging --> switch-on "Strip symbols from executable -Xs", switch-off everything else
/Linking/Link Style -->switch-on "Link smart -XX"
...and magic will happen:)
The size of executable is just metter of adjusting some compiling parameters under Projects/Project Options/Compiler Options:
/Code Generation --> switch on "Smart linkable -CX", switch on lever 3 optimizations, switch-off everything else
/Linking/Debugging --> switch-on "Strip symbols from executable -Xs", switch-off everything else
/Linking/Link Style -->switch-on "Link smart -XX"
...and magic will happen:)
-
- Posts: 6
- Joined: Mon 16 May 2011, 19:04
- Location: Austria
Lazarus does not work for me
I need help. I have load the .sfs and the devx.sfs.
I can open the ide. I can compile a form with objekts.
But i can not set an event in the Objektinspector (onClick).
When i click on an event the following error occurs.
/usr/share/fpcsrc/2.4.2/rtl/inc/varianth.inc(224,10) Error: = expected, but := found
Please help me - thanks!
I can open the ide. I can compile a form with objekts.
But i can not set an event in the Objektinspector (onClick).
When i click on an event the following error occurs.
/usr/share/fpcsrc/2.4.2/rtl/inc/varianth.inc(224,10) Error: = expected, but := found
Please help me - thanks!
The package "zcomponent" is installed, but no valid package
I have installed Lazarus (Lazarus-0.9.30.0-fpc-2.4.2.pet) in puppy 528.
But, when I start it, shows me the message:
Package file not found.
The package "zcomponent" is installed, but no valid package file (.lpk) was found.
A broken dummy package was created.
I press 'OK', Lazarus starts. I press F9 (run) and another message appears:
project1.lpr(19,1) Error: Util ld not found, switching to external linking
project1.lpr(19,1) Fatal: There were 1 errors compiling module, stopping
What should I do to fix it?
But, when I start it, shows me the message:
Package file not found.
The package "zcomponent" is installed, but no valid package file (.lpk) was found.
A broken dummy package was created.
I press 'OK', Lazarus starts. I press F9 (run) and another message appears:
project1.lpr(19,1) Error: Util ld not found, switching to external linking
project1.lpr(19,1) Fatal: There were 1 errors compiling module, stopping
What should I do to fix it?
I opened package zcomponent.lpk (/root/.usr/lib/lazarus/0.9.30/components/zeosdbo/packages/lazarus/zcomponent.lpk) and the message is gone!
That's GOOOOOD!
BUT, the other message still appears when I try to run any application.
"project1.lpr(19,1) Error: Util ld not found, switching to external linking".
Lazarus gets on my nervesss!!
That's GOOOOOD!
BUT, the other message still appears when I try to run any application.
"project1.lpr(19,1) Error: Util ld not found, switching to external linking".
Lazarus gets on my nervesss!!
-
- Posts: 6
- Joined: Mon 16 May 2011, 19:04
- Location: Austria
No, there are many problems.tatamata wrote:Yes, it seems that after installing the pet, one should open zeosdbo package and recompile Lazarus. Then everything should work just fine.
I tried to build Lazarus and...nothing. It does absolutely nothing.
It seems Lazarus has too many problems in puppy.
What a pity, I wanted to use it in puppy because it's so fast!
Edit:
Uninstalled Lazarus.
Deleted files: /usr/lib/lazarus and /root/.lazarus
I reinstalled Lazarus, compiles and buils OK!!! And FAAAAST!!!
But the problem when I try to add an event in object inspector, remains.
I' ll try some svn version.
I tried the following script: (taken from an example made for ubuntu. Of course, I modified some things. p.e 'sudo' was erased)
I commented out Step 1 so it does not get executed, in puppy 'apt-get' does not work.
It gives an error on Step 5, at 'make clean all'.
I commented out Step 1 so it does not get executed, in puppy 'apt-get' does not work.
It gives an error on Step 5, at 'make clean all'.
Code: Select all
echo ""
echo "Step 1: Installing dependencies..."
echo ""
#apt-get install --force-yes -y subversion fpc fp-utils fpc-source fp-units-misc
echo ""
echo "Step 2: Downloading files..."
echo ""
cd ~
svn co http://svn.freepascal.org/svn/fpc/branches/fixes_2_6 fpc
svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus
cd fpc/
wget -c ftp://ftp.freepascal.org/fpc/snapshot/v25/i386-linux/fpc-2.5.1.i386-linux.tar.gz
echo ""
echo "Step 3: Unzipping FPC..."
echo ""
tar -vzxf fpc-2.5.1.i386-linux.tar.gz
echo ""
echo "Step 4: Updating FPC SVN..."
echo ""
svn update
echo ""
echo "Step 5: Compiling new FPC..."
echo ""
make clean all
make install PREFIX=/usr
Hello,
i am using Lazarus and FP. It is the .sfs file, that i use. I have checked out the Problem and i have got the same error message. But i have also compiled, linked and run the project with out any error message.
Maybe the error message is just the error?
RSH
i am using Lazarus and FP. It is the .sfs file, that i use. I have checked out the Problem and i have got the same error message. But i have also compiled, linked and run the project with out any error message.
Maybe the error message is just the error?
RSH
- Attachments
-
- laz-fp.png
- the form1 project running with radiobutton and togglebutton
- (107.39 KiB) Downloaded 1364 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]
[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]
I can compile, link and run projects, too.RSH wrote:Hello,
i am using Lazarus and FP. It is the .sfs file, that i use. I have checked out the Problem and i have got the same error message. But i have also compiled, linked and run the project with out any error message.
Maybe the error message is just the error?
RSH
But, when I try, for example, to add an event in a form, it gives an error.
Try it.
(that's why I'm trying to install an svn version, unsuccessfully up to now)
Hm, did you download original or stripped version?
It seems that stripped pet has some problems. Could you please try with original one:
http://www.4shared.com/file/q_aktBSR/La ... c-242.html
It seems that stripped pet has some problems. Could you please try with original one:
http://www.4shared.com/file/q_aktBSR/La ... c-242.html
Yes, that's the file I downloaded.tatamata wrote:Hm, did you download original or stripped version?
It seems that stripped pet has some problems. Could you please try with original one:
http://www.4shared.com/file/q_aktBSR/La ... c-242.html
I'm downloading it again, just in case.
To be 100% sure.