Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

phoronix test suite ebuild not recognizing PHP_TARGETS?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
duby2291
Guru
Guru
User avatar
Posts: 583
Joined: Sun Oct 17, 2004 4:47 am

phoronix test suite ebuild not recognizing PHP_TARGETS?

  • Quote

Post by duby2291 » Tue Dec 25, 2012 11:58 pm

I think there is a problem with this ebuild. I havent had any luck getting this program to work and I think it is because of this problem here....

Code: Select all

 * 
 * PHP_TARGETS seems empty, php.ini file can't be configure.
 * Make sure that PHP_TARGETS in /etc/make.conf is set.
 * phoronix-test-suite needs the 'allow_url_fopen' option set to "On"
 * for downloading to work properly.
 * 
I do have PHP_TARGETS="php5-3" enabled in my make.conf But still get this error. PTS wont display the results of tests because of this problem. Since the ebuild is clearly broken it seems to me that something needs to be setup in php.ini, maybe it is something I could do manually? I do already have allow_url_fopen enabled as it was already turned on by default when php was installed.

EDIT: does it matter that make.conf is in /etc/portage now? I tried making a make.conf in /etc with just this option in it, but that didnt seem to matter
Top
Dr Croubie
Apprentice
Apprentice
Posts: 160
Joined: Tue Nov 21, 2006 3:46 am

  • Quote

Post by Dr Croubie » Thu May 28, 2015 10:06 pm

So was there ever an answer to this? Because I'm getting the same thing.
* PHP_TARGETS seems empty, php.ini file can't be configure.[sic]
* Make sure that PHP_TARGETS in /etc/make.conf is set.

I got that:
- When first installing with nothing in make.conf.
- With PHP_TARGETS="5.6"
- With PHP_TARGETS="php5.6"
- With PHP_TARGETS="php-5.6"
- With PHP_TARGETS="php5-6" (Finally I found the correct syntax here).
(of course, not knowing the correct syntax to put is something I've already encountered)

I've even tried with
PHP_INI_VERSION="production" / PHP_TARGETS="php5-6" in make.conf and
# eselect php list cli
[1] php5.6 *

and done an 'emerge -va php phoronix-test-suite'.

And still I get the same error each time.

So ignoring the error and running it anyway:
# phoronix-test-suite
PHP Fatal error: Call to undefined function ctype_upper() in /usr/share/phoronix-test-suite/pts-core/objects/pts_openbenchmarking.php on line 67

Is this package just, like, borken?
Top
Post Reply

2 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic