Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-455

possibly confusing build failure if libcouchbase version not sufficient

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.3.0
    • 2.3.0
    • library
    • None

    Description

      At build time, I think it'd be good to have an autoconf check for a sufficient release of libcouchbase. I don't know yet, since I've not upgraded, but I think my pecl install of the 2.3.0 PHP beta failed because of an older version.

      Here's what I saw:

      mkdir .libs
       cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/private/tmp/pear/temp/couchbase -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-ingenthr7bsu3c/couchbase-2.3.0/include -I/private/tmp/pear/temp/pear-build-ingenthr7bsu3c/couchbase-2.3.0/main -I/private/tmp/pear/temp/couchbase -I/usr/local/Cellar/php71/7.1.2_13/include/php -I/usr/local/Cellar/php71/7.1.2_13/include/php/main -I/usr/local/Cellar/php71/7.1.2_13/include/php/TSRM -I/usr/local/Cellar/php71/7.1.2_13/include/php/Zend -I/usr/local/Cellar/php71/7.1.2_13/include/php/ext -I/usr/local/Cellar/php71/7.1.2_13/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/couchbase/couchbase.c  -fno-common -DPIC -o .libs/couchbase.o
      In file included from /private/tmp/pear/temp/couchbase/couchbase.c:17:
      /private/tmp/pear/temp/couchbase/couchbase.h:22:10: fatal error: 'libcouchbase/auth.h' file not found
      #include <libcouchbase/auth.h>
               ^
      1 error generated.
      make: *** [couchbase.lo] Error 1
      ERROR: `make' failed
      

      Will try upgrading my libcouchbase, but wanted to record the failure here in an issue.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty