[Lazarus] Fatal: Can't find unit process used by RegisterFCL

2011-08-21 Thread ik
Hello,

I have a new svn copy of Lazarus under Fedora 15.
When I try to build it using ¨make¨ or any other combination (such as ide,
bigide etc), I get the following error code:
Fatal: Can't find unit process used by RegisterFCL

Should I provide something to the make code ?

Thanks,
Ido

LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Inconsistent result from MessageDlg

2011-08-21 Thread Bart
On 8/20/11, Felipe Monteiro de Carvalho
 wrote:
> I think it should return mrCancel in case of ESC or X button click,
> regardless of the existing buttons.
>

Because of Delphi compatibility we should not (and we currently do not).

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Fatal: Can't find unit process used by RegisterFCL

2011-08-21 Thread Maxim Ganetsky

21.08.2011 13:44, ik пишет:

Hello,

I have a new svn copy of Lazarus under Fedora 15.
When I try to build it using ¨make¨ or any other combination (such as ide,
bigide etc), I get the following error code:
Fatal: Can't find unit process used by RegisterFCL

Should I provide something to the make code ?


You should review and fix your fpc.cfg.

--
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Fatal: Can't find unit process used by RegisterFCL

2011-08-21 Thread ik
On Sun, Aug 21, 2011 at 15:02, Maxim Ganetsky  wrote:

> 21.08.2011 13:44, ik пишет:
>
>  Hello,
>>
>> I have a new svn copy of Lazarus under Fedora 15.
>> When I try to build it using ¨make¨ or any other combination (such as ide,
>> bigide etc), I get the following error code:
>> Fatal: Can't find unit process used by RegisterFCL
>>
>> Should I provide something to the make code ?
>>
>
> You should review and fix your fpc.cfg.
>

What should I add there ? I never touched it before to make it compile
Lazarus.
RegisterFCL is a unit that is part of lazarus afaik.


>
> --
> Best regards,
>  Maxim Ganetsky  mailto:gan...@narod.ru
>
> --
> __**_
> Lazarus mailing list
> Lazarus@lists.lazarus.**freepascal.org
> http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus
>
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Fatal: Can't find unit process used by RegisterFCL

2011-08-21 Thread Vincent Snijders
2011/8/21 ik :
> On Sun, Aug 21, 2011 at 15:02, Maxim Ganetsky  wrote:
>>
>> 21.08.2011 13:44, ik пишет:
>>>
>>> Hello,
>>>
>>> I have a new svn copy of Lazarus under Fedora 15.
>>> When I try to build it using ¨make¨ or any other combination (such as
>>> ide,
>>> bigide etc), I get the following error code:
>>> Fatal: Can't find unit process used by RegisterFCL
>>>
>>> Should I provide something to the make code ?
>>
>> You should review and fix your fpc.cfg.
>
> What should I add there ? I never touched it before to make it compile
> Lazarus.
> RegisterFCL is a unit that is part of lazarus afaik.

Yes, and process is part of the FPC packages, unit path to it should
be in fpc.cfg.

Your fpc.cfg doesn't match the used compiler.

Vincent

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Fatal: Can't find unit process used by RegisterFCL

2011-08-21 Thread ik
On Sun, Aug 21, 2011 at 16:09, Vincent Snijders
wrote:

> 2011/8/21 ik :
> > On Sun, Aug 21, 2011 at 15:02, Maxim Ganetsky  wrote:
> >>
> >> 21.08.2011 13:44, ik пишет:
> >>>
> >>> Hello,
> >>>
> >>> I have a new svn copy of Lazarus under Fedora 15.
> >>> When I try to build it using ¨make¨ or any other combination (such as
> >>> ide,
> >>> bigide etc), I get the following error code:
> >>> Fatal: Can't find unit process used by RegisterFCL
> >>>
> >>> Should I provide something to the make code ?
> >>
> >> You should review and fix your fpc.cfg.
> >
> > What should I add there ? I never touched it before to make it compile
> > Lazarus.
> > RegisterFCL is a unit that is part of lazarus afaik.
>
> Yes, and process is part of the FPC packages, unit path to it should
> be in fpc.cfg.
>
> Your fpc.cfg doesn't match the used compiler.
>

Thanks, now I get it. It had lib64 instead of lib. that solved the problem.


>
> Vincent
>

Ido

>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Fatal: Can't find unit process used by RegisterFCL

2011-08-21 Thread Maxim Ganetsky

21.08.2011 16:57, ik пишет:

On Sun, Aug 21, 2011 at 15:02, Maxim Ganetsky  wrote:


21.08.2011 13:44, ik пишет:

  Hello,


I have a new svn copy of Lazarus under Fedora 15.
When I try to build it using ¨make¨ or any other combination (such as ide,
bigide etc), I get the following error code:
Fatal: Can't find unit process used by RegisterFCL

Should I provide something to the make code ?



You should review and fix your fpc.cfg.



What should I add there ? I never touched it before to make it compile
Lazarus.
RegisterFCL is a unit that is part of lazarus afaik.


You should make sure that you don't have several fpc.cfg files and 
correct paths inside fpc.cfg to match your compiler.


--
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] FPC/Lazarus based backup system

2011-08-21 Thread ik
Hi,

Does any of you know of a good backup system written using FPC/Lazarus,
working inside Linux and open source ?

Thanks,

IDo


LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TAChart legends

2011-08-21 Thread David M. Lawrence


On 8/21/2011 2:02 AM, Alexander Klenin wrote:

On Sun, Aug 21, 2011 at 16:58, David M. Lawrence  wrote:

Set Alignment=laBottomCenter and UseSidebar=true


What version of TAchart is the laBottomCenter option in?

Svn trunk.

I have downloaded the latest version of the TAChart files, but I get the 
following error when I try to compile it in Lazarus:


"C:\lazarus\components\tachart\tagraph.pas(532,5) Error: Wrong number of 
parameters specified for call to "'ReadComponentFromBinaryStream'"


Dave

--
--
 David M. Lawrence| Home:  (804) 559-9786
 7471 Brook Way Court | Fax:   (804) 559-9787
 Mechanicsville, VA 23111 | Email: d...@fuzzo.com
 USA  | http:  http://fuzzo.com
--

"All drains lead to the ocean."  -- Gill, Finding Nemo

"We have met the enemy and he is us."  -- Pogo

"No trespassing
 4/17 of a haiku"  --  Richard Brautigan


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] FPC/Lazarus based backup system

2011-08-21 Thread Malcolm Poole

On 21/08/11 18:30, ik wrote:
Does any of you know of a good backup system written using 
FPC/Lazarus, working inside Linux and open source ?
Probably not exactly what you're looking for, but Dargui ( 
http://dargui.sourceforge.net/ ) is a front end for the Dar archiving 
utility and is developed using Lazarus.


Malcolm

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Code completation results in ugly indention

2011-08-21 Thread Florian Klämpfl
Am 19.08.2011 21:22, schrieb Flávio Etrusco:
> On Fri, Aug 19, 2011 at 12:04 PM, Alexander Klenin  wrote:
>> 2011/8/19 Florian Klaempfl :
>>> I just tried another time the code completation in lazarus for a class,
>>> however it resulted again in a pretty bad indention, see attachment. I
>>> played with various options and things but nothing helped
>>> (procedure/constructor should be at column 4 as it is typically in the
>>> compiler sources, begin/end at column 6). What is wrong/how can I tweak it?
>>
>> It seems that this file uses totally unique indentation rules,
>> incomatible with the rest of the world ;-)
>> I'd suggest to turn off auto-indent -- it is not very useful anyway.
>> Note that auto-indent is NOT the same as code completion,
>> which is much more important and should work for you.
>>
> 
> Yeah, auto-indent breaks in much simpler cases already :-(
> Florian, what do you think should be the ruler/pivot in that case? 

What do you mean with pivot? The "starting" indention? This one is
detected correctly.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Error after updating the OS

2011-08-21 Thread Ger Remmers
Hi all,

After updating my OS/desktop from 
openSuse 11.4/KDE 4.5 to openSuse 11.4/KDE 4.7

I get the following error when starting Lazarus

ger@athlon64:~/Lazarus/trunk> ./lazarus

(lazarus:30638): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed
[FORMS.PP] ExceptionOccurred 
  Sender=EDivByZero
  Exception=Division by zero
  Stack trace:
  $7F583DEB560A
TApplication.HandleException Division by zero
  Stack trace:
  $7F583DEB560A
[FORMS.PP] ExceptionOccurred 
ger@athlon64:~/Lazarus/trunk> 

I have reinstalled fpc 2.4.4 and Lazarus (svn)

Any hints?

-- 

Ger

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TAChart legends

2011-08-21 Thread Alexander Klenin
On Mon, Aug 22, 2011 at 04:37, David M. Lawrence  wrote:
>> Svn trunk.
>>
> I have downloaded the latest version of the TAChart files, but I get the
> following error when I try to compile it in Lazarus:
>
> "C:\lazarus\components\tachart\tagraph.pas(532,5) Error: Wrong number of
> parameters specified for call to "'ReadComponentFromBinaryStream'"

It seems new TAChart will not compile with old Lazarus.
Either get and compile whole Lazarus:
http://wiki.lazarus.freepascal.org/Getting_Lazarus
Or get a binary snapshot:
http://www.hu.freepascal.org/lazarus/


-- 
Alexander S. Klenin

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New FPC target: JVM (fwd)

2011-08-21 Thread dmitry boyarintsev
How to work with it from Lazarus:
http://wiki.freepascal.org/Lazarus_JVM . It's still quite rough right
now, though.

thanks,
dmitry

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus