Am Freitag, den 22.09.2006, 13:38 +0000 schrieb Albert Zeyer:
Am Donnerstag, den 21.09.2006, 21:21 -0500 schrieb frogeye:
I get the same error on amd 64 gentoo trying to emerge fpc 2.0.4 : missing argument to -exec

But while I can emerge 2.0.2, it doesn’t find the right units for x86_64

You have to set the USE-flags 'source' (perhaps also 'doc' if you like) for this package:
    echo "dev-lang/fpc source doc" >> /etc/portage/package.use
If you don't set this USE-flag, only the binary will be installed.

You can fill out a bug report to let the maintainer of the Lazarus package know, that an additional check, if FPC was installed with activated 'source'-USE-flag, would be nice.

I took a look into the ebuild, this check is already there. Perhaps you have another problem with your installation.

I atached an ebuild for Lazarus 0.9.16 here: http://bugs.gentoo.org/show_bug.cgi?id=131493
This ebuilds also works fine with FPC 2.0.4. Simply download it and put it into /usr/portage/dev-lang/lazarus/.
Then you have to install the digests for it:
    ebuild /usr/portage/dev-lang/lazarus/lazarus-0.9.16.ebuild digest
Then you can simply emerge it by 'emerge lazarus'. This also solves the cycled down- and upgrades of FPC (2.0.2 and 2.0.4) if you have FPC installed manually.

But while using this simple method to install this new ebuild, you will lost it by your next portage sync. But perhaps, if you fill out a report, that the ebuild works fine, it will be merged into the official tree finally.




From: Jonathan Chiu [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 21, 2006 7:42 PM
To: [email protected]
Subject: Re: [lazarus] Help!!


 

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

 

 

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: 9/18/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: 9/18/2006


Reply via email to