Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-479

Print mongoc and libbson versions during configure

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.0-rc1, 1.9.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      checking Use system libbson... no
      checking configuring libmongoc... ...
      checking Use system libmongoc... no
      
      mongodb was configured with the following options:
      
      Build configuration:
        CFLAGS                                           : -g  -O0
        Extra CFLAGS                                     :  -pthread 
        Developers flags (slow)                          : 
        Code Coverage flags (extra slow)                 : 
        System mongoc                                    : no
        System libbson                                   : no
        LDFLAGS                                          : 
        EXTRA_LDFLAGS                                    : 
        MONGODB_SHARED_LIBADD                            : -lsasl2  -lssl -lcrypto -lrt  
      
      Please submit bugreports at:
        https://jira.mongodb.org/browse/PHPC
      

      This feels and looks backwards.

      We strongly recommend using the bundled mongoc and libbson versions and not the system version.

      This messaging needs to be reflected in these messages by flipping this around:

      "Using bundled mongoc... yes"


      It would also be nice if it actually included the mongoc/libbson versions. Something like this would be ideal:

      mongodb was configured with the following options:
      
      Build configuration:
        CFLAGS                                           : -g  -O0
        Extra CFLAGS                                     :  -pthread 
        Developers flags (slow)                          : 
        Code Coverage flags (extra slow)                 : 
        mongoc                                           : bundled (1.3.0-dev)
        libbson                                          : bundled (1.3.0-dev)
        LDFLAGS                                          : 
        EXTRA_LDFLAGS                                    : 
        MONGODB_SHARED_LIBADD                            : -lsasl2  -lssl -lcrypto -lrt  
      
      Please submit bugreports at:
        https://jira.mongodb.org/browse/PHPC
      

      or

      ...
        mongoc                                           : system (1.2.0)
        libbson                                          : system (1.2.0)
      ...
      

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: