Results 1 to 4 of 4

Thread: pts/sqlite The installer exited with a non-zero exit status.

  1. #1
    Join Date
    Oct 2012
    Posts
    20

    Default pts/sqlite The installer exited with a non-zero exit status.

    Hi,
    I am having some troubles installing a pts test.

    OS: CentOS release 6.3
    Arch: x86_64

    Package Versions:
    gcc-4.4.6-4.el6.x86_64
    php-fpdf-1.6-4.el6.noarch
    libgcc-4.4.6-4.el6.x86_64
    php-common-5.3.3-14.el6_3.x86_64
    php-cli-5.3.3-14.el6_3.x86_64
    php-domxml-php4-php5-1.21.2-1.el6.noarch
    make-3.81-20.el6.x86_64
    automake-1.11.1-1.2.el6.noarch
    libgcc-4.4.6-4.el6.i686
    php-gd-5.3.3-14.el6_3.x86_64
    php-xml-5.3.3-14.el6_3.x86_64
    php-5.3.3-14.el6_3.x86_64
    gcc-c++-4.4.6-4.el6.x86_64


    Code:
    pts/sqlite-1.8.0:
    Test Installation 2 of 3
    2 Files Needed [1.48 MB / 1 Minute]
    File Found: sqlite-amalgamation-3.7.3.tar.gz                [1.44MB]
    File Found: pts-sqlite-tests-1.tar.gz                       [0.04MB]
    Installation Size: 18.4 MB
    Installing Test @ 14:28:11
    The installer exited with a non-zero exit status.
    Installation Log: /root/.phoronix-test-suite/installed-tests/pts/sqlite-1.8.0/install-failed.log
    install-failed.log

    Code:
    gcc: 3.7.3": No such file or directory
    <command-line>: warning: missing terminating " character
    make: *** [sqlite3.lo] Error 1
    any idea how to solve this?

  2. #2
    Join Date
    Nov 2012
    Posts
    4

    Default

    There is a bug in the installer wrapper.
    pts-core/objects/client/pts_test_installer.php at line 481 (in the 4.0 distro)

    479: // Write the main mask for the compiler
    480: file_put_contents($main_compiler,
    481: '#!/bin/bash' . PHP_EOL . 'COMPILER_OPTIONS="$@"' . PHP_EOL . $env_var_check . PHP_EOL . 'echo $COMPILER_OPTIONS >> ' . $mask_dir . $compiler_type . '-options-' . $compiler_name . PHP_EOL . $compiler_path . ' $COMPILER_OPTIONS' . PHP_EOL);


    change the final appearance of $COMPILER_OPTIONS to "$@" (with the quotes):

    '#!/bin/bash' . PHP_EOL . 'COMPILER_OPTIONS="$@"' . PHP_EOL . $env_var_check . PHP_EOL . 'echo $COMPILER_OPTIONS >> ' . $mask_dir . $compiler_type . '-options-' . $compiler_name . PHP_EOL . $compiler_path . ' "$@"' . PHP_EOL);

  3. #3
    Join Date
    Oct 2012
    Posts
    20

    Default

    trying this now. will report back after the test.

    Thank You.

  4. #4
    Join Date
    Oct 2012
    Posts
    20

    Default

    works. Thank You.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •