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 Fri 24 Oct 2014, 14:14
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 1 of 5 Posts_count   Goto page: 1, 2, 3, 4, 5 Next
Author Message
tatamata

Joined: 02 May 2010
Posts: 63

PostPosted: 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
View user's profile Send_private_message 
tatamata

Joined: 02 May 2010
Posts: 63

PostPosted: 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
View user's profile Send_private_message 
dawg

Joined: 09 Aug 2009
Posts: 113
Location: still here

PostPosted: 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... Very Happy
Back to top
View user's profile Send_private_message 
ICQ 
dawg

Joined: 09 Aug 2009
Posts: 113
Location: still here

PostPosted: 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 Wink

_________________
I used to only like Puppy as a friend, but now I think our relationship is starting to develop into something more... Very Happy
Back to top
View user's profile Send_private_message 
ICQ 
tatamata

Joined: 02 May 2010
Posts: 63

PostPosted: 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
View user's profile Send_private_message 
dawg

Joined: 09 Aug 2009
Posts: 113
Location: still here

PostPosted: Sat 24 Sep 2011, 15:38    Post_subject:  

Thanks, tatamata, that did help, but just a little Smile
_________________
I used to only like Puppy as a friend, but now I think our relationship is starting to develop into something more... Very Happy
Back to top
View user's profile Send_private_message 
ICQ 
sternenstaub

Joined: 16 May 2011
Posts: 6
Location: Austria

PostPosted: 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!
screenshot.png
Description 
png

 Download 
Filename  screenshot.png 
Filesize  230.07 KB 
Downloaded  638 Time(s) 
Back to top
View user's profile Send_private_message 
panoss

Joined: 31 Oct 2011
Posts: 132

PostPosted: 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
View user's profile Send_private_message 
panoss

Joined: 31 Oct 2011
Posts: 132

PostPosted: 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!! Evil or Very Mad
Back to top
View user's profile Send_private_message 
panoss

Joined: 31 Oct 2011
Posts: 132

PostPosted: 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
View user's profile Send_private_message 
panoss

Joined: 31 Oct 2011
Posts: 132

PostPosted: 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
View user's profile Send_private_message 
sternenstaub

Joined: 16 May 2011
Posts: 6
Location: Austria

PostPosted: 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
View user's profile Send_private_message 
tatamata

Joined: 02 May 2010
Posts: 63

PostPosted: 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
View user's profile Send_private_message 
panoss

Joined: 31 Oct 2011
Posts: 132

PostPosted: 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
View user's profile Send_private_message 
panoss

Joined: 31 Oct 2011
Posts: 132

PostPosted: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 5 Posts_count   Goto page: 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.0794s ][ Queries: 13 (0.0044s) ][ GZIP on ]