X-Recipient: archive-cygwin@delorie.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.77700.qm@web52205.mail.re2.yahoo.com> 	 <BLU0-SMTP990F943C68DFE05CFC6AE7DDCA0@phx.gbl> 	 <497E4A0F.4060200@sbcglobal.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 <dave.steenburgh@gmail.com>
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: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mon, Jan 26, 2009 at 6:41 PM, Greg Chicares <gchicares@sbcglobal.net> 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/

