Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Compilation help
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Compilation help

At the risk of sounding like a noob, can somebody compile this for me? Not sure what I'm doing wrong (PHP version mismatch, I'm suspect).

Comments

  • exception0x876exception0x876 Member, Host Rep, LIR

    There seems to be nothing to compile, if you look into the Makefile all it does is running "composer install" and "npm install" and then it packages everything into the tar archive.

    You are likely having the issue with composer install. If your assumption is correct and it fails due to your PHP version then if someone else provides you with the package there is a high chance it is not going to work on your system.

    TL;DR please provide the actual error output.

    Thanked by 1AC_Fan
  • IonSwitch_StanIonSwitch_Stan Member, Host Rep
    edited January 2019

    I created a clean VPS1 on our platform with Ubuntu 18.04

    ssh root@provap
    
    root@provapi:~# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 18.04 LTS
    Release:    18.04
    Codename:   bionic
    
    ssh root@provap
    
    apt-get update
    apt-get install curl php npm git php-xml -y
    git clone https://github.com/Bu1k/ProvisioningAPI.git
    cd ProvisioningAPI/nextcloud
    make
    

    Seems to work.

    root@provapi:~# cd ProvisioningAPI/nextcloud/
    root@provapi:~/ProvisioningAPI/nextcloud# make
    make composer
    make[1]: Entering directory '/root/ProvisioningAPI/nextcloud'
    No composer command available, downloading a copy from the web
    mkdir -p /root/ProvisioningAPI/nextcloud/build/tools
    curl -sS https://getcomposer.org/installer | php
    All settings correct for using Composer
    Downloading...
    
    Composer (version 1.8.0) successfully installed to: /root/ProvisioningAPI/nextcloud/composer.phar
    Use it: php composer.phar
    
    mv composer.phar /root/ProvisioningAPI/nextcloud/build/tools
    php /root/ProvisioningAPI/nextcloud/build/tools/composer.phar install --prefer-dist
    Do not run Composer as root/super user! See https://getcomposer.org/root for details
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 26 installs, 0 updates, 0 removals
      - Installing symfony/polyfill-ctype (v1.10.0): Loading from cache
      - Installing symfony/yaml (v3.4.21): Loading from cache
      - Installing sebastian/version (2.0.1): Loading from cache
      - Installing sebastian/resource-operations (1.0.0): Loading from cache
      - Installing sebastian/recursion-context (1.0.5): Loading from cache
      - Installing sebastian/object-enumerator (1.0.0): Loading from cache
      - Installing sebastian/global-state (1.1.1): Loading from cache
      - Installing sebastian/exporter (1.2.2): Loading from cache
      - Installing sebastian/environment (2.0.0): Loading from cache
      - Installing sebastian/diff (1.4.3): Loading from cache
      - Installing sebastian/comparator (1.2.4): Loading from cache
      - Installing doctrine/instantiator (1.1.0): Loading from cache
      - Installing phpunit/php-text-template (1.2.1): Loading from cache
      - Installing phpunit/phpunit-mock-objects (3.4.4): Loading from cache
      - Installing phpunit/php-timer (1.0.9): Loading from cache
      - Installing phpunit/php-file-iterator (1.4.5): Loading from cache
      - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
      - Installing phpunit/php-token-stream (2.0.2): Loading from cache
      - Installing phpunit/php-code-coverage (4.0.8): Loading from cache
      - Installing webmozart/assert (1.4.0): Loading from cache
      - Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
      - Installing phpdocumentor/type-resolver (0.4.0): Loading from cache
      - Installing phpdocumentor/reflection-docblock (4.3.0): Loading from cache
      - Installing phpspec/prophecy (1.8.0): Loading from cache
      - Installing myclabs/deep-copy (1.8.1): Loading from cache
      - Installing phpunit/phpunit (5.5.4): Loading from cache
    symfony/yaml suggests installing symfony/console (For validating YAML files using the lint command)
    sebastian/global-state suggests installing ext-uopz (*)
    phpunit/phpunit-mock-objects suggests installing ext-soap (*)
    phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.1)
    phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
    Writing lock file
    Generating autoload files
    php /root/ProvisioningAPI/nextcloud/build/tools/composer.phar update --prefer-dist
    Do not run Composer as root/super user! See https://getcomposer.org/root for details
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Nothing to install or update
    Generating autoload files
    make[1]: Leaving directory '/root/ProvisioningAPI/nextcloud'
    
    Thanked by 1AC_Fan
  • eoleol Member

    Did you check if dependencies are present?

    make
    which
    tar: for building the archive
    curl: used if phpunit and composer are not installed to fetch them from the web
    npm: for building and testing everything JS, only required if a package.json is placed inside the js/ folder

  • @eol said:
    Did you check if dependencies are present?

    make
    which
    tar: for building the archive
    curl: used if phpunit and composer are not installed to fetch them from the web
    npm: for building and testing everything JS, only required if a package.json is placed inside the js/ folder

    Yup, it was a PHP AND NodeJS version mismatch. Thanks again, everybody.

    Thanked by 1eol
  • Thank you for contacting LowEndSupport. Overall, how would you rate the quality of your customer service today?

    ○ Very Positive
    ○ Somewhat Positive
    ○ Neutral
    ○ Somewhat Negative
    ○ Very Negative

    Thanked by 2eol uptime
  • uptimeuptime Member
    edited January 2019

    ☑ radio buttons on poll are broken

    EDIT2:

    The front fell off.

    Thanked by 1eol
  • eoleol Member

    @dedotatedwam said:
    Thank you for contacting LowEndSupport. Overall, how would you rate the quality of your customer service today?

    ○ Very Positive
    ○ Somewhat Positive
    ○ Neutral
    ○ Somewhat Negative
    ○ Very Negative

    X In accordance with expectations.

Sign In or Register to comment.