Re: [Lazarus] Fatal: Compilation aborted

2014-03-02 Thread FreeMan
make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1 
OVERRIDEVERSIONCHECK=1


01-03-2014 23:36 tarihinde, Mattias Gaertner yazdı:

How did you install fpc?

Mattias





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


Re: [Lazarus] Fatal: Compilation aborted

2014-03-02 Thread Mattias Gaertner
On Sun, 02 Mar 2014 11:34:37 +0200
FreeMan freema...@delphiturkiye.com wrote:

 make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1 
 OVERRIDEVERSIONCHECK=1

And how did you create /etc/fpc.cfg?

Mattias

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


Re: [Lazarus] Fatal: Compilation aborted

2014-03-02 Thread FreeMan

Today not may day :)
last fpc svn has fatal error too...
I attach my svn install script and svn update script. I'm using as long 
as nearly one year this scripts.

this is fpc error r26918, if downgrade to 26912 it okey, not report yet
Hata mean error
make[7]:`/opt/freepascal/2.7.1/rtl/linux' dizinine giriliyor
as --64 -o /opt/freepascal/2.7.1/rtl/units/x86_64-linux/prt0.o 
x86_64/prt0.as
as --64  -o /opt/freepascal/2.7.1/rtl/units/x86_64-linux/dllprt0.o 
x86_64/dllprt0.as
as --64 -o /opt/freepascal/2.7.1/rtl/units/x86_64-linux/cprt0.o 
x86_64/cprt0.as
as --64 -o /opt/freepascal/2.7.1/rtl/units/x86_64-linux/gprt0.o 
x86_64/gprt0.as
/opt/freepascal/2.7.1/compiler/ppc1 -Ur -Ur -Xs -O2 -n -Fi../inc 
-Fi../x86_64 -Fi../unix -Fix86_64 -FE. 
-FU/opt/freepascal/2.7.1/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE 
-Us -Sg system.pp
make[7]: *** [system.ppu] Parçalama arızası (bellek kopyası - core 
dosyası - diske yazıldı)

make[7]: `/opt/freepascal/2.7.1/rtl/linux' dizininden çıkılıyor
make[6]: *** [linux_all] Hata 2
make[6]: `/opt/freepascal/2.7.1/rtl' dizininden çıkılıyor
make[5]: *** [rtl] Hata 2
make[5]: `/opt/freepascal/2.7.1/compiler' dizininden çıkılıyor
make[4]: *** [next] Hata 2
make[4]: `/opt/freepascal/2.7.1/compiler' dizininden çıkılıyor
make[3]: *** [ppc2] Hata 2
make[3]: `/opt/freepascal/2.7.1/compiler' dizininden çıkılıyor
make[2]: *** [cycle] Hata 2
make[2]: `/opt/freepascal/2.7.1/compiler' dizininden çıkılıyor
make[1]: *** [compiler_cycle] Hata 2
make[1]: `/opt/freepascal/2.7.1' dizininden çıkılıyor
make: *** [build-stamp.x86_64-linux] Hata 2


if not add OVERRIDEVERSIONCHECK=1 parameter get this error:

make[1]: `/opt/freepascal/2.7.1/installer' dizininden çıkılıyor
/bin/rm -f build-stamp.*
/bin/rm -f base.build-stamp.*
Makefile:2731: *** The only supported starting compiler version is 
2.6.2. You are trying to build with 2.7.1. If you are absolutely sure 
that the current compiler is built from the exact same version/revision, 
you can try to use OVERRIDEVERSIONCHECK=1 to override . Stop.



fpc.cfg creating install script. I use install script only one time, 
after then use allways update script. On this morning analyze my install 
script, and ask this question, why have to install fpc 2.6.2 ?


really to day is my bad day I think, I downgrade fpc to r26912, then 
manual type without via OVERRIDEVERSIONCHECK=1 make command get error 
and copy here, then make with OVERRIDEVERSIONCHECK=1 fpc compiled. after 
then make lazarus without error and build lazarus without any error. 
? I did not understand how and why

Thank you


02-03-2014 11:47 tarihinde, Mattias Gaertner yazdı:

And how did you create /etc/fpc.cfg?

Mattias






svn_lazarus_fpc__install.sh
Description: application/shellscript


svn_lazarus_fpc_update.sh
Description: application/shellscript
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Fatal: Compilation aborted

2014-03-02 Thread Sven Barth

On 02.03.2014 11:33, FreeMan wrote:

fpc.cfg creating install script. I use install script only one time,
after then use allways update script. On this morning analyze my install
script, and ask this question, why have to install fpc 2.6.2 ?


Because the ONLY guaranteed and supported way to compile a trunk 
compiler is the latest release which in this case is 2.6.2 (or by using 
a compiler of the exact same svn revision that you want to compile). If 
you don't follow this then you're left on your own. There won't be any 
support from us if you don't use the latest release compiler for 
bootstrapping.


Regards,
Sven

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


Re: [Lazarus] Is this bug ? or how to do?

2014-03-02 Thread FreeMan

I tested, one word, PERFECT
Thank you Mattias

01-03-2014 18:24 tarihinde, Mattias Gaertner yazdı:

TFieldProperty.FillValues is virtual and has only two lines of code.
The default implementation searches a property named 'DataSource'.
You can override it to fetch DataSource from many different sources:
For example from any property with type TDataSource, or depending on the
selection or from the form or whatever ...

I made the formerly hidden function LoadDataSourceFields public as
ListDataSourceFields, so you can implement any of the above easily.
Including using another property name than 'DataSource'.

Mattias


--
___
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


[Lazarus] TAChart stopped working

2014-03-02 Thread Marc Santhoff
Hi,

while running a program using TAChart with a newer version of Lazarus
(1.0.10 or 1.0.14) and fpc 2.6.2 an exception ERangeError is thrown.
The program dates before Lazarus 1.0.10 and worked flawlessly then.

The error occurs in line 1103 of TACustomSeries:

code
procedure TBasicPointSeries.PrepareGraphPoints(
  const AExtent: TDoubleRect; AFilterByExtent: Boolean);
...
  SetLength(FGraphPoints, FUpBound - FLoBound + 1);
  if (AxisIndexX  0) and (AxisIndexY  0) then
...
/code

when SetLength is called.

I'm using 4 UserDefinedChartSeries for drawing 4 graphs. The
PointsNumber is 256. When SetLenght is called, in FGraphPoints does have
approriate contents, FUpBound is 0 and FLoBound is 255.

Before I document the complete workings of my program I'd like to ask:
Has there been any change making this one a known issue?

TIA,
Marc


-- 
Marc Santhoff m.santh...@web.de


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