Announcement

Collapse
No announcement yet.

Installation Problems on Arch Linux

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Installation Problems on Arch Linux

    Hey,

    I just installed PTS via
    Code:
    $ pacaur -S phoronix-test-suite-git
    It told me add root to the open_basedir and enable the json, curl, gd and openssl extensions in /etc/php/php.ini, which I did.

    The first problem is, that the freshly installed binary contains somehow the makepkg's path, instead of the correct one:
    Code:
    $ grep PTS_DIR=/ /usr/bin/phoronix-tets-suite
    
    export PTS_DIR=/tmp/makepkg/phoronix-test-suite-git/pkg/phoronix-test-suite-git/usr/share/phoronix-test-suite
    (My pacman cache obviously lays within a tmpfs) So I changed this to
    Code:
    export PTS_DIR=/usr/share/phoronix-test-suite
    and tried to run PTS for the first time
    Code:
    $ phoronix-test-suite
    
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/json.so' - /usr/lib/php/modules/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
    
    NOTICE: The php.ini configuration is using the "open_basedir" directive, which may prevent some parts of the Phoronix Test Suite from working. See the Phoronix Test Suite documentation for more details and to disable this setting.
    All dependencies are satisfied, my php.ini looks as follows
    Code:
    $ egrep "open_basedir|=(json|zip|curl|openssl|gd)" /etc/php/php.ini
    
    ; open_basedir, if set, limits all file operations to the defined directory
    open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/
    extension=curl.so
    extension=gd.so
    extension=openssl.so
    extension=zip.so
    extension=json.so
    Do I need to install any other packages? Furthermore, the php-gtk package is required for PTS's GUI I'd like to use, but it's heavily outdated and there seems to be no alternative package available. When trying to run PTS's GUI, it simply shows the loading screen in my webbrowser but obviously fails and loads forever
    Code:
    $ phoronix-test-suite gui
    
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/json.so' - /usr/lib/php/modules/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
    
    NOTICE: The php.ini configuration is using the "open_basedir" directive, which may prevent some parts of the Phoronix Test Suite from working. See the Phoronix Test Suite documentation for more details and to disable this setting.
    To start server run new script: /tmp/tmp.Sbl8i5TBZX/web-server-launcher
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/json.so' - /usr/lib/php/modules/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
    
    NOTICE: The php.ini configuration is using the "open_basedir" directive, which may prevent some parts of the Phoronix Test Suite from working. See the Phoronix Test Suite documentation for more details and to disable this setting.
    PHP 5.6.5 Development Server started at Wed Feb 18 00:24:11 2015
    Listening on http://localhost:4036
    Document root is /usr/share/phoronix-test-suite/pts-core/web-interface
    Press Ctrl-C to quit.
    PHP Fatal error:  Call to undefined function socket_create_listen() in /usr/share/phoronix-test-suite/pts-core/objects/pts_web_socket.php on line 38
    Launching Browser
    
    (process:28177): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
    Press [ENTER] to kill server...
    What am I missing?

    Here's my diagnostics output:
    Code:
    $ phoronix-test-suite diagnostics
    
    NOTICE: The php.ini configuration is using the "open_basedir" directive, which may prevent some parts of the Phoronix Test Suite from working. See the Phoronix Test Suite documentation for more details and to disable this setting.
    PTS_VERSION = 5.6.0m3
    PTS_CORE_VERSION = 5530
    PTS_CODENAME = DEDILOVO
    PTS_IS_CLIENT = 1
    PTS_IS_WEB_CLIENT = 
    PTS_IS_DEV_BUILD = 1
    PTS_PHP_VERSION = 5.6.5
    QUICK_START = 
    PTS_CORE_PATH = /usr/share/phoronix-test-suite/pts-core/
    PTS_IS_DAEMONIZED_SERVER_PROCESS = 
    PTS_USER_PATH = /home/klemens/.phoronix-test-suite/
    PTS_CORE_STORAGE = /home/klemens/.phoronix-test-suite/core.pt2so
    PTS_TEMP_STORAGE = /home/klemens/.phoronix-test-suite/temp.pt2so
    PTS_MODULE_LOCAL_PATH = /home/klemens/.phoronix-test-suite/modules/
    PTS_MODULE_DATA_PATH = /home/klemens/.phoronix-test-suite/modules-data/
    PTS_DOWNLOAD_CACHE_PATH = /home/klemens/.phoronix-test-suite/download-cache/
    PTS_OPENBENCHMARKING_SCRATCH_PATH = /home/klemens/.phoronix-test-suite/openbenchmarking.org/
    PTS_TEST_PROFILE_PATH = /home/klemens/.phoronix-test-suite/test-profiles/
    PTS_TEST_SUITE_PATH = /home/klemens/.phoronix-test-suite/test-suites/
    PTS_RESULTS_VIEWER_PATH = /usr/share/phoronix-test-suite/pts-core/results-viewer/
    PTS_MODULE_PATH = /usr/share/phoronix-test-suite/pts-core/modules/
    PTS_CORE_STATIC_PATH = /usr/share/phoronix-test-suite/pts-core/static/
    PTS_COMMAND_PATH = /usr/share/phoronix-test-suite/pts-core/commands/
    PTS_EXDEP_PATH = /usr/share/phoronix-test-suite/pts-core/external-test-dependencies/
    PTS_OPENBENCHMARKING_PATH = /usr/share/phoronix-test-suite/pts-core/openbenchmarking.org/
    PHP_BIN = php
    PTS_INIT_TIME = 1424626368
    FIRST_RUN_ON_PTS_UPGRADE = 
    IS_FIRST_RUN_TODAY = 
    TIME_SINCE_LAST_RUN = 12
    PTS_ETC_PATH = /etc/phoronix-test-suite/
    PTS_SHARE_PATH = /usr/share/phoronix-test-suite/
    PTS_TEST_INSTALL_DEFAULT_PATH = /home/klemens/.phoronix-test-suite/installed-tests/
    PTS_SAVE_RESULTS_PATH = /home/klemens/.phoronix-test-suite/test-results/
    PTS_USER_LOCK = /home/klemens/.phoronix-test-suite/run-lock-29322
    PTS_STARTUP_TASK_PERFORMED = 1
    HAS_REFRESHED_OBO_LIST = 1
    
    Variables That Can Be Used As Result Identifiers / File Names:
    VIDEO_RESOLUTION = 2560x1440
    VIDEO_CARD = ASUS AMD Radeon HD 7970/8970 OEM / R9 280X 3072MB
    VIDEO_DRIVER = 
    OPENGL_DRIVER = 3.3 Mesa 10.4.4 Gallium 0.4
    OPERATING_SYSTEM = Arch rolling
    PROCESSOR = Intel Xeon E3-1230 v3 @ 3.70GHz (8 Cores)
    MOTHERBOARD = ASRock H87 Performance
    CHIPSET = Intel Xeon E3-1200 v3 DRAM
    KERNEL_VERSION = 3.18.7-1-ck1-custom
    COMPILER = GCC 4.9.2 20141224
    HOSTNAME = arch-pc
    
    Environmental Variables (accessible via test scripts):
    PTS_VERSION = 5.6.0m3
    PTS_CODENAME = DEDILOVO
    PTS_DIR = /usr/share/phoronix-test-suite/
    PHP_BIN = php
    NUM_CPU_CORES = 8
    NUM_CPU_NODES = 1
    NUM_CPU_JOBS = 16
    SYS_MEMORY = 8192
    VIDEO_MEMORY = 3072
    VIDEO_WIDTH = 2560
    VIDEO_HEIGHT = 1440
    VIDEO_MONITOR_COUNT = 1
    VIDEO_MONITOR_LAYOUT = CENTER
    VIDEO_MONITOR_SIZES = 2560x1440
    OPERATING_SYSTEM = arch
    OS_VERSION = rolling
    OS_ARCH = x86_64
    OS_TYPE = Linux
    THIS_RUN_TIME = 1424626368
    DEBUG_REAL_HOME = /home/klemens/
    Furthermore, some tests like csgo fail although Steam/CS:GO ist installed properly and running fine. unigine-valley was the only one that didn't fail among all unigine benchmarks. But since the installation isn't complete yet, this might be fixed along with my aforementioned problems.

  • #2
    My issues stay unsolved so far. I tried installing the missing json extension via pecl:
    Code:
    $ pacman -S php-pear
    [... installation successful ...]
    
    $ sudo pecl install json
    WARNING: "pear/json" is deprecated in favor of "channel://http://www.php.net/json/json"
    downloading json-1.2.1.tgz ...
    Starting to download json-1.2.1.tgz (17,780 bytes)
    ......done: 17,780 bytes
    11 source files, building
    running: phpize
    Cannot find config.m4.
    Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
    
    ERROR: `phpize' failed
    The json tarball can be found in
    Code:
    $ ls -R /tmp/pear
    /tmp/pear:
    cache  download  temp
    
    /tmp/pear/cache:
    13d082be9cd1777e8e2165ea90b51fe3rest.cachefile	9dd32ea72a0989593085962b5cfb0a8crest.cachefile
    13d082be9cd1777e8e2165ea90b51fe3rest.cacheid	9dd32ea72a0989593085962b5cfb0a8crest.cacheid
    60058f6354f3860b2d1970ccb6d35036rest.cachefile	e1fada97e37d0e7de95b9d1f30794109rest.cachefile
    60058f6354f3860b2d1970ccb6d35036rest.cacheid	e1fada97e37d0e7de95b9d1f30794109rest.cacheid
    
    /tmp/pear/download:
    json-1.2.1.tgz
    
    /tmp/pear/temp:
    I could find an old thread from 2012 where someone experienced the very same problem, it remained unanswered. Does anyone know how to fix this?

    Comment

    Working...
    X