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 DC3167310 for ; Wed, 9 Nov 2011 16:25:20 +0000 (UTC) Received: (qmail 55016 invoked by uid 500); 9 Nov 2011 16:25:19 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 54969 invoked by uid 500); 9 Nov 2011 16:25:19 -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 54961 invoked by uid 99); 9 Nov 2011 16:25:19 -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 16:25:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mkimber@kana.com designates 64.95.72.241 as permitted sender) Received: from [64.95.72.241] (HELO mxout.myoutlookonline.com) (64.95.72.241) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 16:25:13 +0000 Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id A94A28BF055 for ; Wed, 9 Nov 2011 11:24:50 -0500 (EST) X-Virus-Scanned: by SpamTitan at mail.lan Received: from HUB016.mail.lan (unknown [10.110.2.1]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mxout.myoutlookonline.com (Postfix) with ESMTPS id 2985C8BE3A1 for ; Wed, 9 Nov 2011 11:24:50 -0500 (EST) Received: from BE259.mail.lan ([10.110.32.159]) by HUB016.mail.lan ([10.110.17.16]) with mapi; Wed, 9 Nov 2011 11:24:43 -0500 From: Mike Kimber To: "user@couchdb.apache.org" Date: Wed, 9 Nov 2011 11:24:48 -0500 Subject: RE: Couchdb build on Centos 5.7 picking up /usr/ and not /usr/local Thread-Topic: Couchdb build on Centos 5.7 picking up /usr/ and not /usr/local Thread-Index: Acye+YpZM9ORnXaqSCmhkDh64nD7GAAAkS9A Message-ID: References: <4EBAA1D4.5030908@gmail.com> <4EBAA4EB.3020002@gmail.com> In-Reply-To: <4EBAA4EB.3020002@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 I made the following symbolic links which fixed the problem=20 lrwxrwxrwx 1 root root 19 Nov 9 11:11 /usr/bin/curl -> /usr/local/bin/c= url lrwxrwxrwx 1 root root 26 Nov 9 11:13 /usr/bin/curl-config -> /usr/loca= l/bin/curl-config lrwxrwxrwx 1 root root 23 Nov 9 11:11 /usr/include/curl -> /usr/local/incl= ude/curl Still does not answer why it ignores my $PATH setting of /usr/local, but th= anks for your help, it's much appreciated. Mike=20 -----Original Message----- From: CGS [mailto:cgsmcmlxxv@gmail.com]=20 Sent: 09 November 2011 16:06 To: user@couchdb.apache.org Subject: Re: Couchdb build on Centos 5.7 picking up /usr/ and not /usr/loca= l Try to make a symbolic link toward the path ld complains it cannot find. CGS On 11/09/2011 05:03 PM, Mike Kimber wrote: > Re-installed curl and it stuck it in the same place > > /usr/local/lib/libcurl.a > > Mike > > MICHAEL KIMBER | PRINCIPAL ARCHITECT > > d : +44 (0)28 9078 8378 > > > > > -----Original Message----- > From: CGS [mailto:cgsmcmlxxv@gmail.com] > Sent: 09 November 2011 15:53 > To: user@couchdb.apache.org > Subject: Re: Couchdb build on Centos 5.7 picking up /usr/ and not /usr/lo= cal > > 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 =3D -I/usr/local/include/include -DCURL_STATICLIB >> CURL_CONFIG =3D >> CURL_LDFLAGS =3D -l/usr/local/include/lib/libcurl -lWs2_32 -lkernel32 -l= user32 -ladvapi32 -lWldap32 >> CURL_LIBS =3D /usr/local/include/lib/libcurl >> >> But on the Centos 5.6 box they are >> >> CURL_CFLAGS =3D -I/usr/local/include >> CURL_CONFIG =3D /usr/local/bin/curl-config >> CURL_LDFLAGS =3D -lcurl >> CURL_LIBS =3D -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=3D/usr/local/lib/erlang/erts-5.7.5/includ= e --enable-js-trunk --with-win32-curl=3D/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 a= nd 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 o= n 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<= http://www.kana.com/better-practices/white-papers.php> | 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 in= tended solely for the attention and use of the named addressee(s). It may b= e subject to legal, professional or other privilege and further distributio= n of it is strictly prohibited without our authority. If you are not the in= tended recipient, you are not authorized to and must not disclose, copy, di= stribute, or retain this message or any part of it, and should notify us im= mediately. >> >> >>