X-Recipient: archive-cygwin AT delorie DOT com 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 MIME-Version: 1.0 In-Reply-To: <497E4A0F.4060200@sbcglobal.net> References: <414006 DOT 77700 DOT qm AT web52205 DOT mail DOT re2 DOT yahoo DOT com> <497E4A0F DOT 4060200 AT sbcglobal DOT net> Date: Mon, 26 Jan 2009 18:49:24 -0500 Message-ID: <5a05e0e60901261549o6eabd1d2pd1e7219315334cc2@mail.gmail.com> Subject: Re: configure cannot find boost libraries From: Dave Steenburgh To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/