Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Couchbase 4.1.1 installation

  1. #1
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Couchbase 4.1.1 installation

    I'm trying to install Couchbase server 4.1.1 community edition. I followed the instructions in https://github.com/couchbase/tlm#opensuse. Since openSuse is not a supported platform by Couchbase, we've to add third party dependencies to CMake to locate them. Please find below the output of command:

    # gmake PREFIX=/opt/couchbase
    mkdir: cannot create directory ‘build’: File exists
    Makefile:45: recipe for target 'build/Makefile' failed
    gmake[1]: [build/Makefile] Error 1 (ignored)
    (cd build && cmake -G "Unix Makefiles" -D PRODUCT_VERSION= -D BUILD_ENTERPRISE= ..)
    -- Third-party dependencies will be cached in pwd/output
    -- *** Installing binary dependencies ***
    -- Set platform to suse42.2 for dependency downloads
    -- Set arch to x86_64 for dependency downloads
    -- NOTE: The dependencies for unsupported platforms may not be available.
    -- Downloads may fail. You may build dependencies from from
    -- tlm/deps/packages and store then in ~/.cbdepscache
    -- -----------------------------------------
    -- Reading global third-party dependencies manifest...
    -- Dependency breakpad (20160926-cb1) not declared for platform suse42.2, skipping...
    -- Dependency boost (1.62.0-cb1) not declared for platform suse42.2, skipping...
    -- Dependency curl (7.49.1-cb1) not declared for platform suse42.2, skipping...
    -- Dependency erlang (R16B03-1-couchbase-cb1) not declared for platform suse42.2, skipping...
    -- Dependency erlang (R16B03-couchbase-cb2) not declared for platform suse42.2, skipping...
    -- Dependency flatbuffers (1.2.0-cb1) not declared for platform suse42.2, skipping...
    -- Dependency icu4c (54.1.0) not declared for platform suse42.2, skipping...
    -- Dependency icu4c (54.1-cb10) not declared for platform suse42.2, skipping...
    -- Dependency jemalloc (4.1.0-cb2) not declared for platform suse42.2, skipping...
    -- Dependency jemalloc (4.0.4-cb2) not declared for platform suse42.2, skipping...
    -- Dependency jemalloc (4.1.1-couchbase-cb2) not declared for platform suse42.2, skipping...
    -- Dependency json (1.1.0-cb1) not declared for platform suse42.2, skipping...
    -- Dependency libevent (2.1.4-alpha-dev) not declared for platform suse42.2, skipping...
    -- Dependency libevent (2.0.22-cb2) not declared for platform suse42.2, skipping...
    -- Dependency openssl (1.0.1h) not declared for platform suse42.2, skipping...
    -- Dependency pysqlite2 (0ff6e32-cb1) not declared for platform suse42.2, skipping...
    -- Dependency python-snappy (c97d633) not declared for platform suse42.2, skipping...
    -- Dependency python-snappy (c97d633-cb1) not declared for platform suse42.2, skipping...
    -- Dependency snappy (1.1.1) not declared for platform suse42.2, skipping...
    -- Dependency snappy (1.1.1-cb2) not declared for platform suse42.2, skipping...
    -- Dependency v8 (4.8-cb4) not declared for platform suse42.2, skipping...
    -- Dependency v8 (5.2-cb1) not declared for platform suse42.2, skipping...
    -- Dependency v8 (4.8-cb5) not declared for platform suse42.2, skipping...
    -- Global third-party dependencies manifest complete
    -- ----------------------------------------- --- Using cmake version: 3.5.2
    -- Installing to /compile/couchbase/install
    -- Build type: RelWithDebInfo (Community Edition)
    -- Using system-supplied malloc
    CMake Error at tlm/cmake/Modules/FindCouchbaseBoost.cmake:13 (MESSAGE):
    Boost headers not found
    Call Stack (most recent call first):
    CMakeLists.txt:98 (INCLUDE)

    -- Configuring incomplete, errors occurred!
    See also "/compile/couchbase/build/CMakeFiles/CMakeOutput.log".
    Makefile:45: recipe for target 'build/Makefile' failed
    gmake[1]: *** [build/Makefile] Error 1
    GNUmakefile:14: recipe for target 'all' failed
    gmake: *** [all] Error 2


    Please help me to add third party dependencies.

  2. #2
    Join Date
    Nov 2016
    Location
    Prague, CZ
    Posts
    39

    Default Re: Couchbase 4.1.1 installation

    Quote Originally Posted by linlen View Post

    CMake Error at tlm/cmake/Modules/FindCouchbaseBoost.cmake:13 (MESSAGE):
    Boost headers not found
    I saw the following when searching zypper

    Code:
    2# zypper search boost
    Loading repository data...
    Reading installed packages...
    
    S | Name                                 | Summary                                               | Type
    --+--------------------------------------+-------------------------------------------------------+-----------
      | boost-devel                          | Development package for Boost C++                     | package
    My guess is that you will need both of this package. Headers are generally in the devel package.
    Do what you can, with with you have, where you are.
    --Theodore Rooselvelt

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,815
    Blog Entries
    1

    Default Re: Couchbase 4.1.1 installation

    Besides boost and boost-devel,
    I'd recommend you go through that list of skipped dependencies and install them anyway...

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Re: Couchbase 4.1.1 installation

    Thank you very much!!!

    I did try the suggestions to install boost & snappy , but futile as I'm getting the same error.

    zypper search boost

    zypper install boost-devel

    (boost not found in package names & hence, installed boost-devel )

    Could you please let me know how CMake can locate them? Do I need to make any changes in the system so CMake can locate it?

    Not sure what to do. I may have to switch to Cent OS to install Couchbase.

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,302
    Blog Entries
    15

    Default Re: Couchbase 4.1.1 installation

    Quote Originally Posted by linlen View Post
    Thank you very much!!!

    I did try the suggestions to install boost & snappy , but futile as I'm getting the same error.

    zypper search boost

    zypper install boost-devel

    (boost not found in package names & hence, installed boost-devel )

    Could you please let me know how CMake can locate them? Do I need to make any changes in the system so CMake can locate it?

    Not sure what to do. I may have to switch to Cent OS to install Couchbase.
    Hi
    Sounds like none of your repositories are active, or install media if no network?
    Code:
    zypper if boost-devel
    Repository 'Main Update Repository' is out-of-date. You can run 'zypper refresh' as root to update it.
    Repository 'openSUSE-Gstreamer' is out-of-date. You can run 'zypper refresh' as root to update it.
    Loading repository data...
    Reading installed packages...
    
    
    Information for package boost-devel:
    ------------------------------------
    Repository     : Main Repository (OSS)            
    Name           : boost-devel                      
    Version        : 1.54.0-13.1
    ...
    Can you show your repositories;
    Code:
    zypper lr -d
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,302
    Blog Entries
    15

    Default Re: Couchbase 4.1.1 installation

    Hi
    Looking at deps/manifest.cmake they only support suse11.2?? They also set specific versions, all of that would need to be updated, also in version 4.1.2, there is no boost dependency anymore.
    Code:
    DECLARE_DEP (breakpad VERSION 1e455b5-cb10 PLATFORMS centos6 centos7 debian7 suse11.2 ubuntu12.04 ubuntu14.04 windows_msvc)
    DECLARE_DEP (curl VERSION 7.49.1-cb1 PLATFORMS centos6 centos7 debian7 sunos suse11.2 ubuntu12.04 ubuntu14.04 windows_msvc)
    DECLARE_DEP (erlang VERSION R16B03-1-cb1 PLATFORMS windows_msvc)
    DECLARE_DEP (erlang VERSION 76fa44a-cb1 PLATFORMS centos6 centos7 debian7 macosx sunos suse11.2 ubuntu12.04 ubuntu14.04)
    DECLARE_DEP (gperftools VERSION 2.4-cb3 PLATFORMS windows_msvc)
    DECLARE_DEP (icu4c VERSION 53.1.0 PLATFORMS windows_msvc)
    DECLARE_DEP (icu4c VERSION 263593-cb5 PLATFORMS centos6 centos7 debian7 macosx sunos suse11.2 ubuntu12.04 ubuntu14.04)
    DECLARE_DEP (jemalloc VERSION 5d9732f-cb5 PLATFORMS centos6 centos7 debian7 macosx sunos suse11.2 ubuntu12.04 ubuntu14.04)
    DECLARE_DEP (libevent VERSION 2.1.4-alpha-dev PLATFORMS windows_msvc)
    DECLARE_DEP (libevent VERSION 2.0.22-cb1 PLATFORMS centos6 centos7 debian7 macosx sunos suse11.2 ubuntu12.04 ubuntu14.04)
    DECLARE_DEP (openssl VERSION 1.0.1h PLATFORMS windows_msvc)
    DECLARE_DEP (pysqlite2 VERSION 0ff6e32-cb1 PLATFORMS centos6 centos7 debian7 macosx sunos suse11.2 ubuntu12.04 ubuntu14.04)
    DECLARE_DEP (python-snappy VERSION c97d633 PLATFORMS windows_msvc)
    DECLARE_DEP (python-snappy VERSION c97d633-cb1 PLATFORMS centos6 centos7 debian7 macosx sunos suse11.2 ubuntu12.04 ubuntu14.04)
    DECLARE_DEP (snappy VERSION 1.1.1 PLATFORMS windows_msvc)
    DECLARE_DEP (snappy VERSION 1.1.1-cb2 PLATFORMS centos6 centos7 debian7 macosx sunos suse11.2 ubuntu12.04 ubuntu14.04)
    DECLARE_DEP (v8 VERSION 3.23.6 PLATFORMS windows_msvc)
    DECLARE_DEP (v8 VERSION e24973a-cb2 PLATFORMS centos6 centos7 debian7 macosx sunos suse11.2 ubuntu12.04 ubuntu14.04)
    For example curl would need to be something like;
    Code:
    DECLARE_DEP (curl VERSION 7.37.0 PLATFORMS suse42.2)
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Re: Couchbase 4.1.1 installation

    Please find the repositories:

    Code:
    dhcppc1:/compile/couchbase # zypper lr -d
    #  | Alias                     | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                             
                   | Service
    ---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+-----------------------------------------------------------------
    ---------------+--------
     1 | google-chrome             | google-chrome                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64             
                   |         
     2 | mongodb                   | mongodb                                 | Yes     | ( p) Yes  | No      |   99     | rpm-md | https://repo.mongodb.org/zypper/suse/12/mongodb-org/3.4/x86_64/ 
                   |         
     3 | openSUSE-42.2-0           | openSUSE-42.2-0                         | No      | ----      | Yes     |   99     | yast2  | hd:///?device=/dev/disk/by-id/scsi-1SanDiskUltra-part2          
                   |         
     4 | repo-debug                | openSUSE-Leap-42.2-Debug                | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.2/repo/o
    ss/            |         
     5 | repo-debug-non-oss        | openSUSE-Leap-42.2-Debug-Non-Oss        | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.2/repo/n
    on-oss/        |         
     6 | repo-debug-update         | openSUSE-Leap-42.2-Update-Debug         | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.2/oss/        
                   |         
     7 | repo-debug-update-non-oss | openSUSE-Leap-42.2-Update-Debug-Non-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.2/non-oss/    
                   |         
     8 | repo-non-oss              | openSUSE-Leap-42.2-Non-Oss              | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.2/repo/non-oss
    /              |         
     9 | repo-oss                  | openSUSE-Leap-42.2-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.2/repo/oss/   
                   |         
    10 | repo-source               | openSUSE-Leap-42.2-Source               | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.2/repo/
    oss/           |         
    11 | repo-source-non-oss       | openSUSE-Leap-42.2-Source-Non-Oss       | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.2/repo/
    non-oss/       |         
    12 | repo-update               | openSUSE-Leap-42.2-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.2/oss/              
                   |         
    13 | repo-update-non-oss       | openSUSE-Leap-42.2-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.2/non-oss/          
                   |         
    14 | server_database           | Databases (openSUSE_Leap_42.2)          | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/repositories/server:/database/openS
    USE_Leap_42.2/ |         
    dhcppc1:/compile/couchbase #
    
    
    Curl version in my system is 7.37.0
    Please guide me

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,815
    Blog Entries
    1

    Default Re: Couchbase 4.1.1 installation

    Without looking more deeply into how boost might be implemented in this scenario,

    I'm surprised that the regular "boost" package doesn't seem to exist.
    And, this seems to be the case for most versions of boost in the 42.2 repo.
    This may be by design or ??

    You may want to install boost v1.58.0 which does have a regular boost package as follows (you can remove any packages you don't want)
    Code:
    zypper in boost_1_58_0 boost_1_58_0-devel boost_1_58_0-devel-32bit boost_1_58_0-doc-html boost-license1_58_0
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  9. #9
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Re: Couchbase 4.1.1 installation

    I'm unable to install boost_1_58_0 Please find below the details:
    Code:
    dhcppc0:/compile/couchbase # zypper in boost_1_62_0Retrieving repository 'google-chrome' metadata ..........................................................................................................................................[done]
    Building repository 'google-chrome' cache ...............................................................................................................................................[done]
    Retrieving repository 'openSUSE-Leap-42.2-Update' metadata ..............................................................................................................................[done]
    Building repository 'openSUSE-Leap-42.2-Update' cache ...................................................................................................................................[done]
    Loading repository data...
    Reading installed packages...
    'boost_1_62_0' not found in package names. Trying capabilities.
    No provider of 'boost_1_62_0' found.
    Resolving package dependencies...
    
    
    Nothing to do.
    dhcppc0:/compile/couchbase # zypper in boost_1_58_0
    Loading repository data...
    Reading installed packages...
    'boost_1_58_0' not found in package names. Trying capabilities.
    No provider of 'boost_1_58_0' found.
    Resolving package dependencies...
    
    
    Nothing to do.
    Many Thanks for your help. Is it the end of road?

  10. #10
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,815
    Blog Entries
    1

    Default Re: Couchbase 4.1.1 installation

    Quote Originally Posted by linlen View Post
    I'm unable to install boost_1_58_0 Please find below the details:
    Code:
    dhcppc0:/compile/couchbase # zypper in boost_1_62_0Retrieving repository 'google-chrome' metadata ..........................................................................................................................................[done]
    Building repository 'google-chrome' cache ...............................................................................................................................................[done]
    Retrieving repository 'openSUSE-Leap-42.2-Update' metadata ..............................................................................................................................[done]
    Building repository 'openSUSE-Leap-42.2-Update' cache ...................................................................................................................................[done]
    Loading repository data...
    Reading installed packages...
    'boost_1_62_0' not found in package names. Trying capabilities.
    No provider of 'boost_1_62_0' found.
    Resolving package dependencies...
    
    
    Nothing to do.
    dhcppc0:/compile/couchbase # zypper in boost_1_58_0
    Loading repository data...
    Reading installed packages...
    'boost_1_58_0' not found in package names. Trying capabilities.
    No provider of 'boost_1_58_0' found.
    Resolving package dependencies...
    
    
    Nothing to do.
    Many Thanks for your help. Is it the end of road?
    My fault, overlooked that package is a source package.
    So, took a look at this, and I'll be looking at this more.

    First, am surprised that a fairly significant database engine like Couchbase is not in our OBS.
    Maybe as I look around more, I'll discover why this is the case.

    In the meantime, is there a reason why you aren't simply downloading a pre-compiled version from the couchbase website?
    Browse to the following page, select your couchbase version and then select the SUSE 11 Download...

    http://www.couchbase.com/nosql-databases/downloads

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Page 1 of 2 12 LastLast

Posting Permissions

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