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 Thu 31 Jul 2014, 16:12
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 2 of 5 [62 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
tatamata

Joined: 02 May 2010
Posts: 63

PostPosted: Fri 11 Nov 2011, 14:08    Post subject:  

Do you have devx for your Puppy?
As I remember, devx is neccessary...
Back to top
View user's profile Send private message 
panoss

Joined: 31 Oct 2011
Posts: 107

PostPosted: Fri 11 Nov 2011, 14:25    Post subject:  

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.
Back to top
View user's profile Send private message 
panoss

Joined: 31 Oct 2011
Posts: 107

PostPosted: Mon 14 Nov 2011, 06:43    Post subject:  

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)
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2289
Location: Germany

PostPosted: Mon 14 Nov 2011, 09:07    Post subject:  

Please take a look at here!

http://murga-linux.com/puppy/viewtopic.php?p=582779#582779

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
panoss

Joined: 31 Oct 2011
Posts: 107

PostPosted: Mon 14 Nov 2011, 10:28    Post subject:  

RSH it works!!!!
Thank you very much my friend!!!!!You helped me very much! Thank you!
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2289
Location: Germany

PostPosted: Mon 14 Nov 2011, 10:48    Post subject:  

Hello panoss,

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

RSH

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
panoss

Joined: 31 Oct 2011
Posts: 107

PostPosted: Mon 14 Nov 2011, 11:10    Post subject:  

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.
Back to top
View user's profile Send private message 
panoss

Joined: 31 Oct 2011
Posts: 107

PostPosted: Mon 14 Nov 2011, 11:24    Post subject:  

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, 11:29; edited 1 time in total
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2289
Location: Germany

PostPosted: Mon 14 Nov 2011, 11:28    Post subject:  

Ok,

Quote:
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.

Quote:
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:

Quote:
Unfortunately, I can't built lazarus.


Yes, i knew, there must be problems i havn't seen yet.

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
panoss

Joined: 31 Oct 2011
Posts: 107

PostPosted: Mon 14 Nov 2011, 11:35    Post subject:  

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.
Back to top
View user's profile Send private message 
panoss

Joined: 31 Oct 2011
Posts: 107

PostPosted: Mon 14 Nov 2011, 11:43    Post subject:  

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???
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2289
Location: Germany

PostPosted: Mon 14 Nov 2011, 11:53    Post subject:  

Quote:
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.

Quote:
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

Quote:
bgrabitmappack.pas
, was not found. Must be a file of Lazpant project?

Quote:
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!

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
panoss

Joined: 31 Oct 2011
Posts: 107

PostPosted: Mon 14 Nov 2011, 13:08    Post subject:  

Sorry, I meant Lazpaint. Embarassed
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 Shocked .

(how can i check if lupu_devx_528-3.sfs is loaded?)
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2289
Location: Germany

PostPosted: Mon 14 Nov 2011, 13:37    Post subject:  

Quote:
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.

Quote:
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.

Quote:
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:
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.

_________________
LazY Puppy
RSH's DNA
SARA B.

Last edited by RSH on Mon 14 Nov 2011, 18:47; edited 1 time in total
Back to top
View user's profile Send private message 
panoss

Joined: 31 Oct 2011
Posts: 107

PostPosted: Mon 14 Nov 2011, 13:41    Post subject:  

Ok, lupu_devx_528-3.sfs is loaded.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 5 [62 Posts]   Goto page: Previous 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:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1008s ][ Queries: 12 (0.0057s) ][ GZIP on ]