From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19805 invoked by alias); 26 Jan 2009 23:49:30 -0000 Received: (qmail 19796 invoked by uid 22791); 26 Jan 2009 23:49:30 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from yx-out-1718.google.com (HELO yx-out-1718.google.com) (74.125.44.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Jan 2009 23:49:26 +0000 Received: by yx-out-1718.google.com with SMTP id 4so2410148yxp.38 for ; Mon, 26 Jan 2009 15:49:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.111.1 with SMTP id o1mr7240333ybm.215.1233013764303; Mon, 26 Jan 2009 15:49:24 -0800 (PST) In-Reply-To: <497E4A0F.4060200@sbcglobal.net> References: <414006.77700.qm@web52205.mail.re2.yahoo.com> <497E4A0F.4060200@sbcglobal.net> Date: Tue, 27 Jan 2009 04:23:00 -0000 Message-ID: <5a05e0e60901261549o6eabd1d2pd1e7219315334cc2@mail.gmail.com> Subject: Re: configure cannot find boost libraries From: Dave Steenburgh To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-01/txt/msg00783.txt.bz2 On Mon, Jan 26, 2009 at 6:41 PM, Greg Chicares wrote: > On 2009-01-26 23:28Z, Claude Sylvain wrote: > [...] >> It seems that boost library include files are not located in >> /usr/include/boost/, but in /usr/include/boost-1_33_1/boost, or something like >> that, depending of the cygwin version you use. >> >> A workaround can be to make a copy of /usr/include/boost-1_33_1/boost/ >> directory into /usr/include/. This make the boost directory appear at the >> right place. > > That might be an intentional feature, which lets you use > different versions of boost for different C++ programs. > > Would it be easier to add > CPPFLAGS=-I/usr/include/boost-1_33_1 > to the './configure' line? Try ./configure --help and see if it has an option to specify the location of boost. It might be --with-boost=/path/to/boost. You'll have to figure out the path on your system. Some packages do have options like this for their dependencies, and if so, it's usually a better solution than adjusting the CPPFLAGS for the entire package. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/