[Lazarus] Lazarus compilation problems with 2.6.4 RC1

patspiper patspiper at gmail.com
Sat Feb 15 17:34:16 CET 2014


On 15/02/14 17:59, Michael Van Canneyt wrote:
>
> Hi,
>
> I tried to compile a new lazarus version from inside the IDE, using 
> the 2.6.4 release candidate.
>
> It failed on the sqldb package. The sources mistakenly assume that the 
> MySQL 5.6 connector will be included with 2.6.4.
> I fixed the define that controls this.

Where exactly?

>
> It then failed on the debugger package. I could not immediatly 
> determine what the problem was, the unit with types was not found 
> (when the sources were in fact there)
>
> So, I first removed all .ppu and .o files in the lazarus dirs. It 
> didn't help.
>
> I then tried compiling on the command-line, using a make clean all.
>
> This failed:
>
> /bin/cp -f Makefile.compiled lib/x86_64-linux/DebuggerIntf.compiled
> /bin/cp: cannot stat `Makefile.compiled': No such file or directory
> make[1]: *** [compiled] Error 1
> make[1]: Leaving directory 
> `/home/michael/projects/lazarus/components/debuggerintf'
> make: *** [debuggerintf] Error 2
>
> I faked the file:
>
> araminta: >cd /home/michael/projects/lazarus/components/debuggerintf
> araminta: >touch Makefile.compiled
> araminta: >make  PP=ppcx64-2.6.4
> /bin/rm -f lib/x86_64-linux/debuggerintf.ppu
> ppcx64-2.6.4 -MObjFPC -Scghi -O1 -g -gl -vewnhi -l 
> -Fu../../packager/units/x86_64-linux -Fu../lazutils/lib/x86_64-linux 
> -Fu. -Fu/usr/local/lib/fpc/2.6.4/units/x86_64-linux/rtl -FE. 
> -FUlib/x86_64-linux -Cg -dx86_64 debuggerintf.pas
> /bin/cp -f Makefile.compiled lib/x86_64-linux/DebuggerIntf.compiled
>
> All went well, and I could build the IDE, and from then on I could 
> build the IDE from inside the IDE.
>
> Strange problems. So I decided to report here...

Which Lazarus revision? I can compile 44074 without issues. The next few 
commits cause compilation to fail due to debugger related stuff, and not 
sqlsb stuff.

Is fpc 2.6.4 equivalent to rev. 26678?

Stephano




More information about the Lazarus mailing list