Skip to content

Can't install with pickle #562

@rageshkrishna

Description

@rageshkrishna

Description

Running pickle install mongodb results in the following error:

root@00b966884cbc:~# pickle install mongodb
  - Installing mongodb (latest-stable): Downloading (100%)


  [Exception]
  Couldn't parse the version defined in the PHP_MONGODB_VERSION macro


install [--no-convert] [--defaults] [--source] [--with-configure-options WITH-CONFIGURE-OPTIONS] [--save-logs SAVE-LOGS] [--dry-run] [--php PHP] [--ini INI] [--tmp-dir TMP-DIR] [--] [<path>]

I suspect pickle is looking for PHP_MONGODB_VERSION but mongo-php-driver doesn't define it anywhere. To be honest, I'm not sure if this is a bug in mongo-php-driver or in pickle, but it looks like pickle is able to find it on several other extensions I am installing so is it some sort of standard approach that is not adopted by mongo-php-driver?

Environment

Ubuntu 16.04 docker container, PHP 7.1 installed with php-build and managed with phpenv.

Test Script

Fails on install with the command above. No other test script,

Expected and Actual Behavior

Expected the extension to be installed, but it did not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions