Yes, Lazarus 0.9.12 (newest version in the official portage tree) needs FPC 2.0.2.
You should not install FPC manually, then only FPC 2.0.2 would be installed as a dependency of Lazarus.

There exists also inofficial ebuilds for newer version. I use a little bit modified version of the ebuild which was posted here: http://bugs.gentoo.org/show_bug.cgi?id=131493
My modification was, that this ebuild also can be installed with FPC 2.0.4. I can attach this modified ebuild if you are interested. However, this ebuild works fine with FPC 2.0.2 and with FPC 2.0.4. If you have tried it and it works, please make a report in the bugtracker to let them merge this ebuild in the official portage tree.


Am Freitag, den 22.09.2006, 08:41 +0800 schrieb Jonathan Chiu:
fpc-2.0.4 compiles fail and complains about a parameter of -exec.

However, it works if I use fpc-2.0.2

On 9/22/06, Albert Zeyer <[EMAIL PROTECTED]> wrote:
Which error? Please write the full last ~20-30 lines of the emerge.

Most known errors are also reported on http://bugs.gentoo.org, you often also find there a solution for a problem.

But I don't think it is a big problem. On all my PCs here, where I installed Lazarus (AMD64, PPC, a few x86), I doesn't have any problems. But I think I installed them with activated ~ARCH keyword (this will install a newer version of the special package). Read the part about Portage in the Gentoo handbook, there you got a description about how to use the genious features of Portage.
Shortly, to add a ~ARCH keyword (where ARCH is your architecture, for example x86), you have to do this:
echo "dev-lang/lazarus ~x86" >> /etc/portage/package.keywords
echo "dev-lang/fpc ~x86" >> /etc/portage/package.keywords
If you would like also to install the documentation and the source of FPC, you have to activate the appropriate USE-flags. You can do this globaly in your /etc/make.conf (but I would not do this, your system will be blown up) or for a special keyword in the /etc/portage/package.use. This should look like this:
echo "dev-lang/fpc doc source" >> /etc/portage/package.use



Am Donnerstag, den 21.09.2006, 11:58 +0800 schrieb Jonathan Chiu:

I tried with emerge lazarus in gentoo but error found in compile time of fpc.

On 9/19/06, Albert Zeyer <[EMAIL PROTECTED]> wrote:
Am Montag, den 18.09.2006, 09:57 +0700 schrieb Colin Lehmann:

> Well I give up, I simply cannot get anything to work. I have changed the
> compiler path, the lazarus path, done make clean all so may times I can
> do it in my sleep.....
> This afternoon I am going to re-install Ubuntu and start again,
> hopefully this time something will work!!
>
>
> Thanks everyone for your patience and consideration for a fumbling Linux
> amateur, I still have my Windows 2000 machine so all is not lost....
>
> Colin
>
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives
>

You could try out Gentoo ( www.gentoo.org). The installation of Lazarus
is easy there (like most other things, too). You have to run the command
'emerge lazarus' and that's it.

--
Albert



_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Reply via email to