Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-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 D5E3A7F3E for ; Wed, 9 Nov 2011 15:53:28 +0000 (UTC) Received: (qmail 212 invoked by uid 500); 9 Nov 2011 15:53:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 180 invoked by uid 500); 9 Nov 2011 15:53:27 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 172 invoked by uid 99); 9 Nov 2011 15:53:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 15:53:27 +0000 X-ASF-Spam-Status: No, hits=0.4 required=5.0 tests=FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cgsmcmlxxv@gmail.com designates 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 15:53:21 +0000 Received: by faan26 with SMTP id n26so2533568faa.11 for ; Wed, 09 Nov 2011 07:53:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=U+yN1Ts5CHtxO1glwQhf+W3JZf/ERRDwtJpoiAp3Ci4=; b=rpkxG+8OU2H078is6iSkCh383kegRVrtLt8znKKsVac5kywItlgg5WNDx0yeU+C4Rw NImfxx3DBTSvyBvlGulJwKyIUyYcQ1XlcTkYxiMb/adUhTqmSzIP98vKE0gno0MGl2Zt a1l7kp1847BDdbpOLtVwfD1xTu/XxgjV5But4= Received: by 10.223.91.82 with SMTP id l18mr5744300fam.30.1320853974805; Wed, 09 Nov 2011 07:52:54 -0800 (PST) Received: from [192.168.1.116] (dynamic-87-105-160-84.ssp.dialog.net.pl. [87.105.160.84]) by mx.google.com with ESMTPS id r7sm7062962faa.3.2011.11.09.07.52.52 (version=SSLv3 cipher=OTHER); Wed, 09 Nov 2011 07:52:53 -0800 (PST) Message-ID: <4EBAA1D4.5030908@gmail.com> Date: Wed, 09 Nov 2011 16:52:52 +0100 From: CGS User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: Couchdb build on Centos 5.7 picking up /usr/ and not /usr/local References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit It looks like curl failed on installation. Do you have libcurl.a in /usr/local/include/lib path? If not, then try to reinstall curl. I hope this will help. Cheers, CGS On 11/09/2011 04:41 PM, Mike Kimber wrote: > Additional Info. The CURL Makefile environment variables on the Centios 5.7 box are: > > CURL_CFLAGS = -I/usr/local/include/include -DCURL_STATICLIB > CURL_CONFIG = > CURL_LDFLAGS = -l/usr/local/include/lib/libcurl -lWs2_32 -lkernel32 -luser32 -ladvapi32 -lWldap32 > CURL_LIBS = /usr/local/include/lib/libcurl > > But on the Centos 5.6 box they are > > CURL_CFLAGS = -I/usr/local/include > CURL_CONFIG = /usr/local/bin/curl-config > CURL_LDFLAGS = -lcurl > CURL_LIBS = -L/usr/local/lib -lcurl -L/usr/kerberos/lib64 > > Mike > > MICHAEL KIMBER | PRINCIPAL ARCHITECT > > d : +44 (0)28 9078 8378 > > > > ________________________________ > From: Mike Kimber [mailto:mkimber@kana.com] > Sent: 09 November 2011 15:23 > To: user@couchdb.apache.org > Subject: Couchdb build on Centos 5.7 picking up /usr/ and not /usr/local > > I am trying to build CouchDB 1.1.1 on Centos 5.7. > > To do this I have to build curl 7.22.0 and erlang otp_src_R13B04 to meet the pre-reqs. This I have done successfully. However they install in /usr/local whereas the couchdb configure script is currently looking in ./usr. > > I have managed to get the configure script to work using: > > sudo ./configure --with-erlang=/usr/local/lib/erlang/erts-5.7.5/include --enable-js-trunk --with-win32-curl=/usr/local/include > > but when I run sudo make I now get: > > /usr/bin/ld: cannot find -l/usr/local/include/lib/libcurl > > And this file/directory does not exist except in the Curl distribution and that contains pdf/html documents. > > I have successfully done this build on a Centos 5.6, but can't see where I'm going wrong on 5.7. The /usr/local/include/lib/libcurl does not exit on the Centos 5.6 centos build either, but this built. > > Any help gratefully received, as I'm very confused! > > Mike > > > MICHAEL KIMBER > > PRINCIPAL ARCHITECT > > d: 02890788378| m: 07792329322 > > f: 02890788339 | e: mkimber@kana.com > > 209 Airport Road West, Belfast > BT3 9EZ, United Kingdom > > > > > [cid:image001.gif@01CC9EF3.6D6440B0] > > EVENTS | WHITEPAPERS | CASE STUDIES | DEMOS > > [cid:image002.gif@01CC9EF3.6D6440B0] > > [cid:image003.gif@01CC9EF3.6D6440B0] > > [cid:image004.gif@01CC9EF3.6D6440B0] > > > > > [cid:image005.gif@01CC9EF3.6D6440B0] > > The information in this email and any attachments is confidential and intended solely for the attention and use of the named addressee(s). It may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorized to and must not disclose, copy, distribute, or retain this message or any part of it, and should notify us immediately. > > >