Re: configure cannot find boost libraries

2009-01-26 Thread Larry Hall (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 appreciatedthanks!!


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/



Re: configure cannot find boost libraries

2009-01-26 Thread Paulianna2002
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 appreciatedthanks!! 
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/



Re: configure cannot find boost libraries

2009-01-26 Thread Larry Hall (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 appreciatedthanks!! 

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/



Re: configure cannot find boost libraries

2009-01-26 Thread Claude Sylvain

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 appreciatedthanks!!


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/



Re: configure cannot find boost libraries

2009-01-26 Thread Larry Hall (Cygwin)

Claude Sylvain wrote:

Paulianna2002 wrote:


snip


  I did install the boost package(s) under Cygwin.
 
  Any advice is appreciatedthanks!!
 

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/



Re: configure cannot find boost libraries

2009-01-26 Thread Greg Chicares
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/



Re: configure cannot find boost libraries

2009-01-26 Thread Dave Steenburgh
On Mon, Jan 26, 2009 at 6:41 PM, Greg Chicares gchica...@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/



Re: configure cannot find boost libraries [SOLVED]

2009-01-26 Thread Paulianna2002
Greg Chicares wrote

 Would it be easier to add
  CPPFLAGS=-I/usr/include/boost-1_33_1
 to the './configure' line?


Voila!  Thanks Greg (et al) for responding.  This did the trick (without having 
to create symbolic links and/or copy header directories).

./configure CPPFLAGS=-I/usr/include/boost-1_33_1



  

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