Lazarus 0.9.30 + FreePascal fpc 2.4.2

Talk about and post software packages known to work or packaged for Puppy.
Message
Author
tatamata
Posts: 63
Joined: Sun 02 May 2010, 09:09

#21 Post by tatamata »

Do you have devx for your Puppy?
As I remember, devx is neccessary...

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#22 Post by panoss »

Yes, I have lupu_devx_528-3.sfs . (maybe I should try 528-2 or 528-1?)
I downloaded the above mentioned file, but...no, unfortunatelly it's the same as before.

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#23 Post by panoss »

I foumd here:
'that lazarus projects CANT HAVE SPACES in patch or file names'
I didn't find spaces, but I think that the problem hat to do with some character that puppy uses differently than supposed.
It must be something form Environment>Options:
Compiler path
FPC source directory (that's more possible, I think)
Or something else.

That is, the problem is either a filename or a path.(I think)

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#24 Post by RSH »

[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]

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#25 Post by panoss »

RSH it works!!!!
Thank you very much my friend!!!!!You helped me very much! Thank you!

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#26 Post by RSH »

Hello panoss,

could you please tell me something about your puppy and the messages you have got while starting lazarus?

RSH
[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]

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#27 Post by panoss »

1.
Package file not found
The package cgiLaz is installed, but...

I click 'skip these warnings'

2.
Registration error
Package 'CGILazIDE 0.0'
Unit name: 'CGILazIDEIntf'
Unit not found: 'CGILazIDEIntf'

I click 'Ignore'.

3.
error:
Unable to find the unit of component class TDividerBevel.

This 'TDividerBevel' was not found on th build I tried, and was terminated becase of it, without finishing the build.

I click 'Ignore, use TForm as ancestor".



I forgot to mention something which I should have mentioned earlier.
The file 'lupu_devx_528-3.sfs' is in '/mnt/home/', which is the place where it's supposed to be.
But, when I open System>Bootmanager>Choose which extra SFS file to load on start up, it shows me an error:
"Sorry there are no SFS files in directory /mnt/home or they all have the wrong version number"...
So to load the file 'lupu_devx_528-3.sfs' I used Setup>SetUp puppy>SFS-load on the fly.

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#28 Post by panoss »

Unfortunately, I can't built lazarus.

Environment>Options>Lazarus directory:
/usr/lib/lazarus/0.9.30/

Shouldn't it be /usr/lib/lazarus/0.9.28.2/ as it's the version of Lazarus now installed?
Last edited by panoss on Mon 14 Nov 2011, 15:29, edited 1 time in total.

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#29 Post by RSH »

Ok,
cgiLaz is installed, but...
Registration error
Package 'CGILazIDE 0.0'
Unit name: 'CGILazIDEIntf'
Unit not found: 'CGILazIDEIntf'
these are the messages, that i have got as well.
This 'TDividerBevel' was not found on th build I tried, and was terminated becase of it, without finishing the build.

I click 'Ignore, use TForm as ancestor".
The build that you tried, was it an lazarus example or created by yourself?

Does it work after using TForm as ancestor?

And please, if you got time, can you post further messages, errors or if you got something fixed here, so that i've been informed and able to check it?

I am using my lupu_devx_528-3.sfs almost from outside (the stick is sdd1 and the sfs is on sdb1) and i am loading it with SFS-Load on-the-fly as well.

RSH

posted while i am writing my post:
Unfortunately, I can't built lazarus.
Yes, i knew, there must be problems i havn't seen yet.
[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]

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#30 Post by panoss »

The built I tried was not a lazarus example, it was the Lazpant.
It worked before I tried to built!!but now it does not. It gives me the error:
"bgrabitmappack.pas(15,3) Fatal: Can't find unit LazarusPackageIntf used by bgrabitmappack".
I don't know if this was caused because of the TForm ancestor being used.

Of course I'll post any other error or information I'll run into.

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#31 Post by panoss »

I tried to check if the lupu_devx_528-3.sfs is loaded.
I opened a terminal and typed: gcc (that's the way it's being checked, isn't it?)
It returned me 'gcc: no input files'.
My lupu_devx_528-3.sfs isn't loaded???

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#32 Post by RSH »

Environment>Options>Lazarus directory:
/usr/lib/lazarus/0.9.30/

Shouldn't it be /usr/lib/lazarus/0.9.28/ as it's the version of Lazarus now installed?
Yes, it should be 0.9.28 but try this:

Do anything like described except starting lazarus 0.9.30 first. Start lazarus 0.9.28 first and nothing will work. So, starting of lazarus 0.9.30 at first obviously sets some parameters or paths. And only after this lazarus 0928 runs. I think that's the reason why buiding lazarus wants the path of 0930 and lazarus 0928 thinks it has been already started so it don't set paths and/or parameters. This is confusing. It seams that lazarus 0928 uses paths of 0930 and therefor paths of free pascal 242 insted of 240. I changed the name of the directory 242 to 243 -just to test- and lazarus brings up a message that the fpc (compiler) is wrong. After renaming to 242 everything works again.

Try a build after starting 0928 at first - i haven't tried anything in this direction.
The built I tried was not a lazarus example, it was the Lazpant.
It worked before I tried to built!!but now it does not. It gives me the error:
"bgrabitmappack.pas(15,3) Fatal: Can't find unit LazarusPackageIntf used by bgrabitmappack".
I don't know if this was caused because of the TForm ancestor being used.
I have searched for
bgrabitmappack.pas
, was not found. Must be a file of Lazpant project?
I tried to check if the lupu_devx_528-3.sfs is loaded.
I opened a terminal and typed: gcc (that's the way it's being checked, isn't it?)
It returned me 'gcc: no input files'.
My lupu_devx_528-3.sfs isn't loaded???
No, the message "no input files" means you haven't given a filename to compile for gcc.

Try gcc --help, then you will get information for using gcc from the terminal (if it is loaded, what it should be, if the devx is loaded).

I WON'T GIVE UP!
[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]

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#33 Post by panoss »

Sorry, I meant Lazpaint. :oops:
Yes, bgrabitmappack.pas is part of Lazpaint.

I'm starting of thinking to use some other version of linux where things with lazarus would be easier.
What a pity, I wanted to use lazarus in puppy because of speed and lightness of the OS.
Till now I was using Ubuntu 11.04, but it's too slow.
I think i'll try xubuntu.
I read it's very fast in Arch linux, but Arch has no graphic interface, everything is done through the terminal :shock: .

(how can i check if lupu_devx_528-3.sfs is loaded?)

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#34 Post by RSH »

I'm starting of thinking to use some other version o linux where things with lazarus would be easier.
What a p;itty, I wanted to use lazarus in puppy because of speed and lightness of the OS.
This is extactly my intension to use lazarus and free pascal in puppy and i won't give up to get it working.
Till now I was using Ubuntu 11.04, but it's oo slow.
I think i'll try xubuntu.
I read it's very fast in Arch linux, but Arch has no graphic interface, everything is done through the terminal.
I have tried Xubuntu and Lubuntu but i did not download Lazarus. However i have read the software installer and the in there listed programs shall be the same. I am using Kubuntu 11.04 with a full working Lazarus 0.9.28-2, the files i have used to build this all here. The System starts slowly but lazarus and free pascal are quick - so far as i can say that.
how can i check if lupu_devx_528-3.sfs is loaded?
We have sometimes posted at the same time, so you probably didn't see it. Open the terminal and type "gcc --help" and you will get something like this:

Code: Select all

sh-4.1# gcc --help
Usage: gcc [options] file...
Options:
  -pass-exit-codes         Exit with highest error code from a phase
  --help                   Display this information
  --target-help            Display target specific command line options
  --help={target|optimizers|warnings|params|[^]{joined|separate|undocumented}}[,...]
                           Display specific types of command line options
  (Use '-v --help' to display command line options of sub-processes)
  --version                Display compiler version information
  -dumpspecs               Display all of the built in spec strings
  -dumpversion             Display the version of the compiler
  -dumpmachine             Display the compiler's target processor
  -print-search-dirs       Display the directories in the compiler's search path
  -print-libgcc-file-name  Display the name of the compiler's companion library
  -print-file-name=<lib>   Display the full path to library <lib>
  -print-prog-name=<prog>  Display the full path to compiler component <prog>
  -print-multi-directory   Display the root directory for versions of libgcc
  -print-multi-lib         Display the mapping between command line options and
                           multiple library search directories
  -print-multi-os-directory Display the relative path to OS libraries
  -print-sysroot           Display the target libraries directory
  -print-sysroot-headers-suffix Display the sysroot suffix used to find headers
  -Wa,<options>            Pass comma-separated <options> on to the assembler
  -Wp,<options>            Pass comma-separated <options> on to the preprocessor
  -Wl,<options>            Pass comma-separated <options> on to the linker
  -Xassembler <arg>        Pass <arg> on to the assembler
  -Xpreprocessor <arg>     Pass <arg> on to the preprocessor
  -Xlinker <arg>           Pass <arg> on to the linker
  -combine                 Pass multiple source files to compiler at once
  -save-temps              Do not delete intermediate files
  -pipe                    Use pipes rather than intermediate files
  -time                    Time the execution of each subprocess
  -specs=<file>            Override built-in specs with the contents of <file>
  -std=<standard>          Assume that the input sources are for <standard>
  --sysroot=<directory>    Use <directory> as the root directory for headers
                           and libraries
  -B <directory>           Add <directory> to the compiler's search paths
  -b <machine>             Run gcc for target <machine>, if installed
  -V <version>             Run gcc version number <version>, if installed
  -v                       Display the programs invoked by the compiler
  -###                     Like -v but options quoted and commands not executed
  -E                       Preprocess only; do not compile, assemble or link
  -S                       Compile only; do not assemble or link
  -c                       Compile and assemble, but do not link
  -o <file>                Place the output into <file>
  -x <language>            Specify the language of the following input files
                           Permissible languages include: c c++ assembler none
                           'none' means revert to the default behavior of
                           guessing the language based on the file's extension

Options starting with -g, -f, -m, -O, -W, or --param are automatically
 passed on to the various sub-processes invoked by gcc.  In order to pass
 other options on to these processes the -W<letter> options must be used.

For bug reporting instructions, please see:
<file:///usr/share/doc/gcc-4.4/README.Bugs>.
sh-4.1# 
If you got this message than the gcc is loaded and so the sfs should be, because gcc is in the devx.
Last edited by RSH on Mon 14 Nov 2011, 22:47, edited 1 time in total.
[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]

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#35 Post by panoss »

Ok, lupu_devx_528-3.sfs is loaded.

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#36 Post by panoss »

I managed to compile it!
to resume:
lazarus 0.9.28.2 with
Environment>Options>Lazarus directory:
/usr/lib/lazarus/0.9.30/

In tools>Configure build lazarus>Advanced build Options: ALL is marked as Clean+Build EXCEPT "IDE", marked as 'none'. (maybe because of differences betwwen Lazarus directory and Lazarus version(0.9.30 & 0.9.28.2), as mentioned above)
Clean All>checked
With packages>checked

Looks like working normally!!!

I'll keep it as is for now, even though it is a little bit Framkenstein! :lol:
Last edited by panoss on Mon 14 Nov 2011, 18:35, edited 1 time in total.

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#37 Post by panoss »

........unwanted post

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#38 Post by RSH »

WOW,

i can't believe it. Any error messages or missing units?

I must reproduce this. Where do i set
Environment>Options>Lazarus directory:
/usr/lib/lazarus/0.9.30/
[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]

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#39 Post by panoss »

RSH wrote:WOW,

i can't believe it. Any error messages or missing units?

I must reproduce this. Where do i set
Environment>Options>Lazarus directory:
/usr/lib/lazarus/0.9.30/
I don't understand your question, you set it in "Environment>Options>Lazarus directory" :lol:.

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#40 Post by RSH »

Ah ja,

ok it is set in lazarus itself. I thought it is a top secret compiler option.

So, i have to go offline just to start the whole system again and clean, and then i will try to reproduce this.
[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]

Post Reply