Author |
Message |
tatamata
Joined: 02 May 2010 Posts: 63
|
Posted: Mon 06 Jun 2011, 06:25 Post subject:
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/Lazarus-09300-fpc-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.
|
Back to top
|
|
 |
tatamata
Joined: 02 May 2010 Posts: 63
|
Posted: Thu 09 Jun 2011, 02:16 Post subject:
|
|
pemasu uploaded the stripped version to his SnowPuppy PET repository here:
http://www.smokey01.com/pemasu/Pets/
|
Back to top
|
|
 |
dawg
Joined: 09 Aug 2009 Posts: 116 Location: still here
|
Posted: Wed 24 Aug 2011, 06:35 Post subject:
|
|
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... 
|
Back to top
|
|
 |
dawg
Joined: 09 Aug 2009 Posts: 116 Location: still here
|
Posted: Wed 24 Aug 2011, 07:42 Post subject:
|
|
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
_________________ I used to only like Puppy as a friend, but now I think our relationship is starting to develop into something more... 
|
Back to top
|
|
 |
tatamata
Joined: 02 May 2010 Posts: 63
|
Posted: Wed 24 Aug 2011, 12:03 Post subject:
|
|
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:)
|
Back to top
|
|
 |
dawg
Joined: 09 Aug 2009 Posts: 116 Location: still here
|
Posted: Sat 24 Sep 2011, 15:38 Post subject:
|
|
Thanks, tatamata, that did help, but just a little
_________________ I used to only like Puppy as a friend, but now I think our relationship is starting to develop into something more... 
|
Back to top
|
|
 |
sternenstaub
Joined: 16 May 2011 Posts: 6 Location: Austria
|
Posted: Thu 29 Sep 2011, 02:18 Post subject:
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!
|
Back to top
|
|
 |
panoss
Joined: 31 Oct 2011 Posts: 198
|
Posted: Tue 01 Nov 2011, 01:31 Post subject:
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?
|
Back to top
|
|
 |
panoss
Joined: 31 Oct 2011 Posts: 198
|
Posted: Tue 01 Nov 2011, 05:49 Post subject:
|
|
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!!
|
Back to top
|
|
 |
panoss
Joined: 31 Oct 2011 Posts: 198
|
Posted: Wed 02 Nov 2011, 10:34 Post subject:
|
|
I found here tha I have to install binutils. Which means I have to install devx_xxx.sfs file.
Where shall I find the apropriate devx_xxx.sfs file (something like devx_528.sfs) for my installation? (I have puppy 528).
|
Back to top
|
|
 |
panoss
Joined: 31 Oct 2011 Posts: 198
|
Posted: Wed 02 Nov 2011, 11:05 Post subject:
|
|
I found the file here.
Downloaded it, and moved it in my puppy directory (/puppy528).
Then I loaded it with Menu->Setup->Setup puppy->SFS-Load-on-the-fly.
AND LAZARUS RUNS! FINALLY!!!!
(nice thread, I answered to myself )
|
Back to top
|
|
 |
sternenstaub
Joined: 16 May 2011 Posts: 6 Location: Austria
|
Posted: Fri 04 Nov 2011, 16:36 Post subject:
|
|
Hallo Panoss!
and can you set an event in the Objektinspector without an error?
|
Back to top
|
|
 |
tatamata
Joined: 02 May 2010 Posts: 63
|
Posted: Sun 06 Nov 2011, 05:56 Post subject:
|
|
Yes, it seems that after installing the pet, one should open zeosdbo package and recompile Lazarus. Then everything should work just fine.
|
Back to top
|
|
 |
panoss
Joined: 31 Oct 2011 Posts: 198
|
Posted: Fri 11 Nov 2011, 09:39 Post subject:
|
|
sternenstaub wrote: | Hallo Panoss!
and can you set an event in the Objektinspector without an error? |
No, I tried it and gave me error:
'/usr/share/fpcsrc/2.4.2/rtl/inc/varianth.inc(224,10) Error: = expected, but := found
'
and opened file 'varianth.inc'.
|
Back to top
|
|
 |
panoss
Joined: 31 Oct 2011 Posts: 198
|
Posted: Fri 11 Nov 2011, 10:02 Post subject:
|
|
tatamata wrote: | Yes, it seems that after installing the pet, one should open zeosdbo package and recompile Lazarus. Then everything should work just fine. |
No, there are many problems.
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.
|
Back to top
|
|
 |
|