Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-01

Help building Lazarus in Linux64

7 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

José Mejuto

Hello Lazarus-List,

I'm trying to setup an Ubuntu10/x64 machine with Lazarus SVN and fpc SVN. For fpc SVN no serious problem, installed a basic 2.4.2 with rtl and compiler from .deb and compiled the 2.5.1 SVN, and installed in a folder under my home.

So fpc is installed in /home/joshy/pascal/fpcbin

And here is the problem, after solve the fpc.cfg location to be used :) I try to make the Lazarus so used this line:

make bigide FPC=/home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64

It stops with: [0.055] Can't find unit system used by AllLCLUnits so I added the OPT=-va to see where it search the files. At the beginning everything looks fine, with lines like:

[0.047] found source file name "alllclunits.pp"

but in the ppcx86 execution I saw something strange from my point of view:

[0.047] Free Pascal Compiler version 2.5.1 [2011/01/06] for x86_64 [0.047] Copyright (c) 1993-2010 by Florian Klaempfl [0.047] Path "/usr/lib/fpc/2.5.1/units/x86_64-linux/rtl/" not found

/usr/lib/... ????

A bit later everything starts to be "not found" messages :-?

What I'm doing wrong ? I can attach my fpc.cfg but I think it is right and there is no reference to /usr/lib/ nowhere in the cfg.

Best regards, Jos?

Reply by email

Andrew Haines
to José Mejuto
Jos? Mejuto wrote 34 lines
Hello Lazarus-List, I'm trying to setup an Ubuntu10/x64 machine with Lazarus SVN and fpc SVN. For fpc SVN no serious problem, installed a basic 2.4.2 with rtl and compiler from .deb and compiled the 2.5.1 SVN, and installed in a folder under my home. So fpc is installed in /home/joshy/pascal/fpcbin And here is the problem, after solve the fpc.cfg location to be used :) I try to make the Lazarus so used this line: make bigide FPC=/home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64 It stops with: [0.055] Can't find unit system used by AllLCLUnits so I added the OPT=-va to see where it search the files. At the beginning everything looks fine, with lines like: [0.047] found source file name "alllclunits.pp" but in the ppcx86 execution I saw something strange from my point of view: [0.047] Free Pascal Compiler version 2.5.1 [2011/01/06] for x86_64 [0.047] Copyright (c) 1993-2010 by Florian Klaempfl [0.047] Path "/usr/lib/fpc/2.5.1/units/x86_64-linux/rtl/" not found /usr/lib/... ???? A bit later everything starts to be "not found" messages :-? What I'm doing wrong ? I can attach my fpc.cfg but I think it is right and there is no reference to /usr/lib/ nowhere in the cfg.

execute "/home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64 -va | grep fpc.cfg" from console to see which config file it is loading.

Then check the paths in that config file.

Regards,

Andrew

Reply by email

José Mejuto
to Andrew Haines

Hello Andrew,

Thursday, January 6, 2011, 10:02:21 PM, you wrote:

AH> execute "/home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64 -va | grep AH> fpc.cfg" from console to see which config file it is loading. AH> Then check the paths in that config file.

That was my first check ;) It reads the config from /home/joshy/ and the paths in screen are the ones expected /home/joshy/fpcbin/....

When I'll be back in the development computer (maybe one hour) I'll attach a complete output for make bigide trying to use this fpc compilation.

Best regards, Jos?

Reply by email

José Mejuto
to Andrew Haines: execute "/home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64 -va | grep fpc.cfg" from console…

Hello Andrew,

Thursday, January 6, 2011, 10:02:21 PM, you wrote:

AH> execute "/home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64 -va | grep AH> fpc.cfg" from console to see which config file it is loading. AH> Then check the paths in that config file.

Attached is the make bigide output.

Best regards, Jos? -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: merr.txt URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110106/26a771c6/attachment-0001.txt>

Reply by email

José Mejuto
to Andrew Haines: execute "/home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64 -va | grep fpc.cfg" from console…

Hello Andrew,

Thursday, January 6, 2011, 10:02:21 PM, you wrote:

AH> execute "/home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64 -va | grep AH> fpc.cfg" from console to see which config file it is loading. AH> Then check the paths in that config file.

Please excuse me, I had found MY!! error. Lazarus seems to be building now fine.

Best regards, Jos?

Reply by email

shoKwave
to José Mejuto: AH> execute "/home/joshy/pascal/fpcbin/lib/fpc/2.5.1/ppcx64 -va | grep AH> fpc.cfg" from…
Jos? Mejuto wrote
interpreting option "-Fu/home/joshy/pascal/fpc/lib/fpc/2.5.1/units/x86_64-linux/rtl" [0.008] Path "/home/joshy/pascal/fpc/lib/fpc/2.5.1/units/x86_64-linux/rtl/" not found

Hi.

It seems you tried building a 64bit-fpc with >>make all<< using a 32bit-fpc. Because the paths mentioned in your home/joshy/.fpc.cfg aren't found it tries reading the /etc/fpc.cfg.

Try building fpc with >>make cycle<< first. See buildFAQ.

Reply by email

José Mejuto
to shoKwave

Hello Lazarus-List,

Thursday, January 6, 2011, 11:30:49 PM, you wrote:

s> It seems you tried building a 64bit-fpc with >>make all<< using a s> 32bit-fpc. Because the paths mentioned in your home/joshy/.fpc.cfg s> aren't found it tries reading the /etc/fpc.cfg. s> Try building fpc with >>make cycle<< first. See buildFAQ.

No, it was a mix of fpcbin/fpc/2.5.1/bin and fpc/bin/fpc/2.5.1 quite similar names that makes me confuse them :( It is solved now, thank you for your help. Now I know why in my windows setup I called to the svn sources fpcsvn and to the target fpc alone :)

Best regards, Jos?

Reply by email