Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC5C6101AE for ; Wed, 5 Mar 2014 16:56:25 +0000 (UTC) Received: (qmail 51296 invoked by uid 500); 5 Mar 2014 16:56:22 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 50716 invoked by uid 500); 5 Mar 2014 16:56:21 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 50659 invoked by uid 99); 5 Mar 2014 16:56:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2014 16:56:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mdykman@gmail.com designates 209.85.216.170 as permitted sender) Received: from [209.85.216.170] (HELO mail-qc0-f170.google.com) (209.85.216.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2014 16:56:14 +0000 Received: by mail-qc0-f170.google.com with SMTP id e9so1462469qcy.1 for ; Wed, 05 Mar 2014 08:55:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=iwMDMp5A5ey1R5v7oiUy3oDluLXoEtDedDdhZace/oA=; b=gq79XhUm8GSwtC/pm2BaVcjCsNsVi/LUv0WH57bcxtJP+H0uBxUdwdq3QPzJ2/kzje +I5PWyvkb1ZCe6gKskfRiX1uF9mKndMPQ4Lq4KMvkapjdUTxr/9Q7uqMUD/7mz9jtM/F fB0kdkRd1xSYDVTTMfs0HgpASCuyYhojzmtKh3+yUKvoS+uWJIpGjYYNRvP+9mfAR9CF EIIPTs34GUYrqJUnq7UllT1wyqJ+rnapP9QGh2TQb92Nnx89G/pKnkL0fEBOhXGM9RjO gOoy+QmQTIre9TxSVIr5Ytknol3zJjuKYFFA8W4nfr7Mn0ZNMvNlZSAy81HXM1YxOPqW 37JA== MIME-Version: 1.0 X-Received: by 10.224.94.2 with SMTP id x2mr3328745qam.100.1394038553736; Wed, 05 Mar 2014 08:55:53 -0800 (PST) Received: by 10.140.96.104 with HTTP; Wed, 5 Mar 2014 08:55:53 -0800 (PST) In-Reply-To: <53175330.1080506@pbandjelly.org> References: <53175330.1080506@pbandjelly.org> Date: Wed, 5 Mar 2014 11:55:53 -0500 Message-ID: Subject: Re: C++ build under Ubuntu 12.04 From: Michael Dykman To: Cassandra Users Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org The only listed dependencies: boost and libssh. I am not even slightly uncertain if they are installed. Not only did I confirm them yesterday via dpkg (having installed both via apt-get from Ubuntu's core repos), I have been explicitly coding against them both for the past several months on this same workstation. I can see them all at thier relative paths and have a couple of working make files then reference them. They are also the only items mentioned in the error message when my build fails: mdykman@sage:~/projects/datastax-cpp-driver$ cmake . -- info CMAKE_BINARY_DIR: /home/mdykman/projects/datastax-cpp-driver -- Could NOT find Boost CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find LIBSSH2 (missing: LIBSSH2_LIBRARIES LIBSSH2_INCLUDE_DIRS) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE) extra/ccm_bridge/cmake/Modules/FindLIBSSH2.cmake:51 (find_package_handle_standard_args) extra/ccm_bridge/CMakeLists.txt:37 (find_package) -- Configuring incomplete, errors occurred! open ssl is installed in an obvious place "/usr/include/openssl/ssl.h" as is boost:asio "/usr/include/boost/asio.hpp" Does anyone have a hint as to how to edit/debug the search paths being used by cmake? On Wed, Mar 5, 2014 at 11:39 AM, Michael Shuler wrote: > On 03/04/2014 05:33 PM, Michael Dykman wrote: >> >> I am getting errors running the cmake file in a *very* recent download >> of the C++ driver's source tree. It seems to be failing to find >> either boost::asio or openssl libraries. I defineately have these >> both installed having developed against them recently (and rechecked >> with dpkg today). >> >> While I have brushed up against cmake before, I have never had to >> modify CMakeLists.txt before. Could someone please advise me how to >> adjust that filoe so it can find the external dependencies? >> > > You shouldn't need to edit. Perhaps you are just missing one of the > dependencies and think you have everything installed :) > > From a fresh ec2 instance: http://12.am/tmp/cpp-driver_setup.txt > > That's how I work through build dependencies - granted that was quick, > without searching apt-cache, since I've done this before and have a list of > build deps. Hope this helps! > > -- > Kind regards, > Michael -- - michael dykman - mdykman@gmail.com May the Source be with you.