Forum > Linux

Puppy Linux

<< < (3/3)

alejol0:
Have installed FPC another time, and a "Hello world" compiles OK.

Have installed all gtk  and gdk and such stuff.

Following your instructions, have putted the source files for Lazarus
in the D: disk of this PC (it has 2 NTFS partitions).

Decompressed   lazarus-09.26.2-0.tgz  files are in /mnt/home/lazar/lazarus .
Then, I have compiled with success!!
I go to /mnt/home/lazar/lazarus  and open a terminal here.
Then, run  ./startlazarus  and the IDE  opens!!

But this ugly banner appears:
--------------------------------------------------------------
"The Free Pascal source directory was not found.
Some code functions will not work.
It is recommended that you install it and set the path
Environment -> Environment Options -> Files"
------------------------------------------------------------
Clic in "Ignore" and the IDE appears.
I have tried so many directories related to FPC and Lazarus,
but not have discovered a "FPC source directory" that
Lazarus liked.

Then I put a button and an edit box in the fresh new form
that appears, and then I tried to write some code into the button ...
bum! :
-------------------------------------------------------------
The component editor of class "TDefaultComponentEditor" has created the
error:
"Unable to find method. Please fix the error shown in the message window."
-------------------------------------------------------------

____________________________________________
Actual configuration:

  Lazarus directory (default for all projects)
  /initrd/mnt/dev_save/lazar/lazarus/

  Complier path (e.g.fpc)
   /usr/local/lib/fpc/2.2.4/ppc386

    FPC source directory
    (empty string, I have tried a lot without luck)

   Make path
   /usr/bin/make

   Directory for building test projects
    /tmp/
_____________________________________________

I appreciated very much some help.

Sorry for my insistence. I dont know for what is so difficult
to install an application in Linux.

WHY on EARTH the Lazarus installer do not contain all the stuff,
and the Windows installer has all that it needs??????????

Really, a pet package can help a lot of people.

Marc:
did you install the fpc sources ?

TheBlackSheep:
Hi Alejo

Well done! just the fpc sources to sort.

Regarding the FPC source path - see my first post - the last but one paragraph.  The FPC sources are a separate download (also see Marc's reply to you today).  Just extract these to your file system, change the folder in Lazarus to point to where you extracted them and voila you have a fully working Lazarus.  If you've got this far then this final bit should be easy.  Make sure you get the sources file related to the FPC you downloaded (i.e. the same version).

As I mentioned, I'm not sure a PET or an SFS is the best course here when FPC/Lazarus is in active development.  Now you've done this once you can do it again each time either of these applications is updated and you definitely will want to do this when FPC goes to 2.3/2.4 and/or Lazarus is updated, and especially when it goes to GTK2 (at that point the install should be a lot easier as all the GTK1 libs shouldn't be necessary).

Anyway, well done - once you've done this final bit you could build a PET/SFS yourself (I think the latter makes more sense in Puppy because of the size of FPC/Lazarus) and be the provider of this to the Puppy community ;-).

Chris 

alejol0:
Finally, I have success installing Lazarus in Puppy Linux 4.3.1 and have created an .iso which is an exact image ready to use.

The .iso is very huge (330 MB), and need a Pc with 480MB of RAM (because is a live CD). In the future, maybe I can create an .sfs or a .pet, but I do not have enough knowledge.

You can download the .iso file:
Puppy_4_3_1_with_Lazarus_0_9_28_2_needs_480MB_RAM.iso
from these locations:
http://www.megaupload.com/?d=10836C0B
http://www.megaupload.com/?d=EHKHH6Z8
http://www.megaupload.com/?d=8EEGOFVW

The MD5 sum is fa94102ecf1bf5c29f629148667399fc

Thanks TheBlackSheep for your support!

coffee:

--- Quote from: guastatore on December 19, 2008, 09:38:05 pm ---What's the problem do you have ? And what version of Puppy Linux ?

AFAIK I should

1. Download devx_xxx.sfs file and put it into the / of your pupsave file. Then reboot
2. Download fpc 2.3.1 sources then make clean all and make install.
3. Download Lazarus sources, then make clean all, then ./lazarus and you have it

Antonio

--- End quote ---

Finally! This solves my problem.  :D

Navigation

[0] Message Index

[*] Previous page

Go to full version