public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: configure cannot find boost libraries
@ 2009-01-26 23:35 Paulianna2002
  2009-01-26 23:41 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 8+ messages in thread
From: Paulianna2002 @ 2009-01-26 23:35 UTC (permalink / raw)
  To: cygwin

Paulianna2002 wrote: 
Hi,

I am trying to build the package 'SRecord' from source. When I configure I get


===========================================
...
...
...
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no

        You need to install the Boost C++ library to be able to compile SRecord.
        http://boost.org/

        If you have a package based system, the package you need to
        install will be called libboost-devel or something similar.
===========================================

I did install the boost package(s) under Cygwin.

Any advice is appreciated....thanks!! 
Try starting here:


Problem reports: http://cygwin.com/problems.html 

I am not sure what you are implying.  Sorry if I have not been a "smart question asker".  I was trying to follow the cygwin etiquette. 
If I have violated cygwin mailing list protocol in some way, I apologize.  I am not sure what I should do differently to post my problem.  Thanks.




--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: configure cannot find boost libraries
  2009-01-26 23:35 configure cannot find boost libraries Paulianna2002
@ 2009-01-26 23:41 ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 8+ messages in thread
From: Larry Hall (Cygwin) @ 2009-01-26 23:41 UTC (permalink / raw)
  To: cygwin

Paulianna2002 wrote:
>> Larry Hall wrote:
>>> Paulianna2002 wrote: 
>>> Hi,
>>> 
>>> I am trying to build the package 'SRecord' from source. When I configure I get

<snip>

>>> checking for stdint.h... yes
>>> checking for unistd.h... yes
>>> checking boost/shared_ptr.hpp usability... no
>>> checking boost/shared_ptr.hpp presence... no
>>> checking for boost/shared_ptr.hpp... no
>>> 
>>>         You need to install the Boost C++ library to be able to compile SRecord.
>>>         http://boost.org/
>>> 
>>>         If you have a package based system, the package you need to
>>>         install will be called libboost-devel or something similar.
>>> ===========================================
>>> 
>>> I did install the boost package(s) under Cygwin.
>>> 
>>> Any advice is appreciated....thanks!! 
>> Try starting here:
>> 
>> Problem reports: http://cygwin.com/problems.html 
>> 
> I am not sure what you are implying.  Sorry if I have not been a "smart question asker".  I was trying to follow the cygwin etiquette. 
> If I have violated cygwin mailing list protocol in some way, I apologize.  I am not sure what I should do differently to post my problem.  Thanks.

I'm saying that you should read the entirety of the link I pointed you to.
Without information about your configuration at the very least, no one
here can make an informed attempt to solve the problem you're seeing.
We need at least the output of 'cygcheck -s -r -v' *attached* to your
problem report.  And since the package you're trying to build can't find
Boost, it would be logical to assume that a STC
<http://cygwin.com/acronyms/#STC> wouldn't either or if it does, that
would tell us something about the package you're trying.  So please
consider including a STC as well with the commands you invoked and
the results you get.  That should make it pretty easy for anyone here
to try and help you track down, if the process itself doesn't help
you resolve the problem yourself.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: configure cannot find boost libraries
  2009-01-27  1:52   ` Greg Chicares
@ 2009-01-27  4:23     ` Dave Steenburgh
  0 siblings, 0 replies; 8+ messages in thread
From: Dave Steenburgh @ 2009-01-27  4:23 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: configure cannot find boost libraries
  2009-01-26 23:42 ` Claude Sylvain
  2009-01-26 23:49   ` Larry Hall (Cygwin)
@ 2009-01-27  1:52   ` Greg Chicares
  2009-01-27  4:23     ` Dave Steenburgh
  1 sibling, 1 reply; 8+ messages in thread
From: Greg Chicares @ 2009-01-27  1:52 UTC (permalink / raw)
  To: cygwin

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?

--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: configure cannot find boost libraries
  2009-01-26 23:42 ` Claude Sylvain
@ 2009-01-26 23:49   ` Larry Hall (Cygwin)
  2009-01-27  1:52   ` Greg Chicares
  1 sibling, 0 replies; 8+ messages in thread
From: Larry Hall (Cygwin) @ 2009-01-26 23:49 UTC (permalink / raw)
  To: cygwin

Claude Sylvain wrote:
> Paulianna2002 wrote:

<snip>

>  > I did install the boost package(s) under Cygwin.
>  >
>  > Any advice is appreciated....thanks!!
>  >
> 
> I had the same problem.
> 
> 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.
> 
> Not sure if it is the best solution, but its work for me.

If this is the problem Paulianna is having, then I would say two better
solutions would be adding '-I/usr/include/boost-1_33_1' to CFLAGS or
creating a symbolic link from '/usr/include/boost' to
'/usr/include/boost-1_33_1'.  But I agree that your solution would
indeed work, though it would be less maintainable and would take up
more disk space.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: configure cannot find boost libraries
  2009-01-26 23:05 Paulianna2002
  2009-01-26 23:16 ` Larry Hall (Cygwin)
@ 2009-01-26 23:42 ` Claude Sylvain
  2009-01-26 23:49   ` Larry Hall (Cygwin)
  2009-01-27  1:52   ` Greg Chicares
  1 sibling, 2 replies; 8+ messages in thread
From: Claude Sylvain @ 2009-01-26 23:42 UTC (permalink / raw)
  To: cygwin

Paulianna2002 wrote:

 > Hi,
 >
 > I am trying to build the package 'SRecord' from source.  When I configure I get
 >
 > ===========================================
 > ...
 > ...
 > ...
 > checking for stdint.h... yes
 > checking for unistd.h... yes
 > checking boost/shared_ptr.hpp usability... no
 > checking boost/shared_ptr.hpp presence... no
 > checking for boost/shared_ptr.hpp... no
 >
 >         You need to install the Boost C++ library to be able to compile SRecord.
 >         http://boost.org/
 >
 >         If you have a package based system, the package you need to
 >         install will be called libboost-devel or something similar.
 > ===========================================
 >
 >
 > I did install the boost package(s) under Cygwin.
 >
 > Any advice is appreciated....thanks!!
 >

I had the same problem.

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.

Not sure if it is the best solution, but its work for me.


Claude.




--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: configure cannot find boost libraries
  2009-01-26 23:05 Paulianna2002
@ 2009-01-26 23:16 ` Larry Hall (Cygwin)
  2009-01-26 23:42 ` Claude Sylvain
  1 sibling, 0 replies; 8+ messages in thread
From: Larry Hall (Cygwin) @ 2009-01-26 23:16 UTC (permalink / raw)
  To: cygwin

Paulianna2002 wrote:
> Hi,
> 
> I am trying to build the package 'SRecord' from source.  When I configure I get
> 
> ===========================================
> ...
> ...
> ...
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking boost/shared_ptr.hpp usability... no
> checking boost/shared_ptr.hpp presence... no
> checking for boost/shared_ptr.hpp... no
> 
>         You need to install the Boost C++ library to be able to compile SRecord.
>         http://boost.org/
> 
>         If you have a package based system, the package you need to
>         install will be called libboost-devel or something similar.
> ===========================================
> 
> 
> I did install the boost package(s) under Cygwin.
> 
> Any advice is appreciated....thanks!!

Try starting here:

> Problem reports:       http://cygwin.com/problems.html




-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* configure cannot find boost libraries
@ 2009-01-26 23:05 Paulianna2002
  2009-01-26 23:16 ` Larry Hall (Cygwin)
  2009-01-26 23:42 ` Claude Sylvain
  0 siblings, 2 replies; 8+ messages in thread
From: Paulianna2002 @ 2009-01-26 23:05 UTC (permalink / raw)
  To: cygwin

Hi,

I am trying to build the package 'SRecord' from source.  When I configure I get

===========================================
...
...
...
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no

        You need to install the Boost C++ library to be able to compile SRecord.
        http://boost.org/

        If you have a package based system, the package you need to
        install will be called libboost-devel or something similar.
===========================================


I did install the boost package(s) under Cygwin.

Any advice is appreciated....thanks!!





--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-01-26 23:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-26 23:35 configure cannot find boost libraries Paulianna2002
2009-01-26 23:41 ` Larry Hall (Cygwin)
  -- strict thread matches above, loose matches on Subject: below --
2009-01-26 23:05 Paulianna2002
2009-01-26 23:16 ` Larry Hall (Cygwin)
2009-01-26 23:42 ` Claude Sylvain
2009-01-26 23:49   ` Larry Hall (Cygwin)
2009-01-27  1:52   ` Greg Chicares
2009-01-27  4:23     ` Dave Steenburgh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).