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 Sat 02 Aug 2014, 00:35
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 3 of 5 [62 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author 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: 2293
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: 2293
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 
panoss

Joined: 31 Oct 2011
Posts: 107

PostPosted: Mon 14 Nov 2011, 14:15    Post subject:  

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! Laughing

Last edited by panoss on Mon 14 Nov 2011, 14:35; 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, 14:28    Post subject:  

........unwanted post
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2293
Location: Germany

PostPosted: Mon 14 Nov 2011, 14:33    Post subject:  

WOW,

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

I must reproduce this. Where do i set
Quote:
Environment>Options>Lazarus directory:
/usr/lib/lazarus/0.9.30/

_________________
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, 14:36    Post subject:  

RSH wrote:
WOW,

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

I must reproduce this. Where do i set
Quote:
Environment>Options>Lazarus directory:
/usr/lib/lazarus/0.9.30/

I don't understand your question, you set it in "Environment>Options>Lazarus directory" Laughing.
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2293
Location: Germany

PostPosted: Mon 14 Nov 2011, 14:45    Post subject:  

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.

_________________
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, 14:50    Post subject:  

Ok. you should call it: Lazarus: the Frankenstein version Laughing .
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2293
Location: Germany

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

Yes, i will do so if i come to the point where you getting to. I have tried it with all sfs files loaded. But no difference.

Did you compile both versions?
Both with Environment>Options>Lazarus directory: /usr/lib/lazarus/0.9.30/?
Did you use the pet versions and/or savefile etc.?

_________________
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: Tue 15 Nov 2011, 01:29    Post subject:  

Yes, they both compile.
Yes, both have Lazarus directory: /usr/lib/lazarus/0.9.30/.
I used pet versions.
Back to top
View user's profile Send private message 
panoss

Joined: 31 Oct 2011
Posts: 107

PostPosted: Tue 15 Nov 2011, 02:07    Post subject:  

New data!
We now have installed:
1. 0.9.28.2 + FPC 2.4.0 (/usr/share/fpcsrc/2.4.0)
2 0.9.30 + FPC 2.4.2 (/usr/share/fpcsrc/2.4.2)
Both have as FPC source directory (Environment>Options>FPC source directory):
/usr/share/fpcsrc/$(FPCVer)/

I opened 0.9.30 and changed it to: /usr/share/fpcsrc/2.4.0 .
So now, 0.9.30 uses older version of FPC sources.
And, guess what: IT WORKS!!!

So, the problem is with FPC 2.4.2 Sources.

Also, in the puppy package manager, in the list of the installed packages, I see fpc-2.4.0 BUT not and fpc-2.4.4.
Back to top
View user's profile Send private message 
panoss

Joined: 31 Oct 2011
Posts: 107

PostPosted: Tue 15 Nov 2011, 05:54    Post subject:  

........deleted
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 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.0971s ][ Queries: 13 (0.0050s) ][ GZIP on ]