• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Gentoo PHP/GMP emerge errors

agnitrate

Diamond Member
I am configuring my Gentoo system and for some reason, when I run the "emerge php" command, it will attempt to compile GMP because it is a dependency but then it shoots out this error:

dev-libs # emerge php
Calculating dependencies ...done!
>>> emerge dev-libs/gmp-4.1-r1 to /
>>> md5 ;-) gmp-4.1.tar.gz
>>> Unpacking source...
>>> Unpacking gmp-4.1.tar.gz
patching file randraw.c
>>> Source unpacked.
configure: error: --target is not appropriate for GMP
Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system
explicitly. Use --host if cross-compiling (see "Installing GMP" in the
manual for more on this).

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -130, Exitcode 1
!!! configure failed
!!! emerge aborting on /usr/portage/dev-libs/gmp/gmp-4.1-r1.ebuild .

I am not doing cross-compiling because I have no idea what that is 🙂 Is there any way around this? I want to play with PHP 😎

Thanks for your help linux gurus!

-silver
 
Hmmm, it shows it as a dependency on the portage tree:

******* gmp # emerge --pretend dev-php/php
These are the packages that I would merge, in order.
Calculating dependencies ...done!
[ebuild N ] dev-libs/gmp-4.1-r1 to /
[ebuild N ] dev-libs/libmcrypt-2.5.1-r4 to /
[ebuild N ] net-libs/libwww-5.4.0 to /
[ebuild N ] dev-php/php-4.2.2 to /

Then it gives me that error. I skipped a piece of the config under the gentoo manual but I didn't think it was that important since it was sound/printer configuration. Maybe I need to fix something that is broken?

-silver
 
Oviously an error in the ebuild script.
Have you posted it at the Gentoo.org forums?
They may be able to shed some light on the problem.
 
Back
Top