Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
phoronix test suite ebuild not recognizing PHP_TARGETS?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Tue Dec 25, 2012 11:58 pm    Post subject: phoronix test suite ebuild not recognizing PHP_TARGETS? Reply with quote

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:
 *
 * 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
Back to top
View user's profile Send private message
Dr Croubie
Apprentice
Apprentice


Joined: 21 Nov 2006
Posts: 159

PostPosted: Thu May 28, 2015 10:06 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum