helpfastcgi++ - Support: sr #108268, Boost 1.53 gives missing thread...

 
 

sr #108268: Boost 1.53 gives missing thread library in fastcgi++ 2.1

Submitted by:  None
Submitted on:  Tue 19 Mar 2013 08:18:45 PM UTC  
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  Mac OS

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Sat 13 Apr 2013 05:16:10 PM UTC, comment #6: 

The new boost.m4 file has been committed into the master and 2.x branches.

Eddie Carle <eddic>
Project Administrator
Sun 24 Mar 2013 05:25:48 AM UTC, comment #5: 

The new boost.m4 works after running bootstrap. So it can't be replaced on source distributions (as they don't come with bootstrap).

Anonymous
Wed 20 Mar 2013 09:58:32 PM UTC, comment #4: 

Yes but I did run the compile on both the 1.47 and the 1.53 so there is a difference between them.

Also the last one I run "./b2 install" (boost) on was the 1.53 but it still works in 1.47 when specifying ./configure --with-boost=/usr/local/boost_1_47_0/ but not on the 1.53.

If I need to do something other in order to make 1.53 work i am not aware of it, shouldn't it be enough to do a b2 install?

In the 1.53 folder the thread lib is called libboost_thread.dylib (in /usr/local/boost_1_53_0/bin.v2/libs/thread/build/darwin-4.2.1/release/threading-multi)

1.47 is also called libboost_thread.dylib (similiar path)

I can build fgcc++ against the 1.47 boost and then compile my program against the static boost 1.53 and it seams to work at least.

Daniel Karlsen <daniel_74>
Wed 20 Mar 2013 09:42:07 PM UTC, comment #3: 

Hmm. Seems to me it may have something to do with your install then. Keep in mind that there is more to boost than just the header files. There are also actual library files.

checking for boost/thread.hpp... yes
checking for the Boost thread library... no

Looks to me like it is finding the header file, but not the libboost_thread file.

Eddie Carle <eddic>
Project Administrator
Wed 20 Mar 2013 08:57:37 PM UTC, comment #2: 

I haven't use git before so Im hoping i did this right.

git clone  http://github.com/tsuna/boost.m4/

copied from downloaded git clone boost.m4/build-aux/boost.m4 to /fastcgi++-2.1/config

./configure --with-boost=/usr/local/include/

checking boost/thread.hpp usability... yes
checking boost/thread.hpp presence... yes
checking for boost/thread.hpp... yes
checking for the Boost thread library... no
configure: error: cannot find the flags to link with Boost thread

./configure --with-boost=/usr/local/boost_1_53_0/
checking for boost/thread.hpp... yes
checking for the Boost thread library... no
configure: error: cannot find the flags to link with Boost thread

./configure --with-boost=/usr/local/boost_1_47_0/
...
checking boost/thread.hpp presence... yes
checking for boost/thread.hpp... yes
checking for the Boost thread library... yes
...

So It seams this didn't make boost 1.53 work.

Daniel Karlsen <daniel_74>
Wed 20 Mar 2013 12:11:02 AM UTC, comment #1: 

It may be that the boost.m4 file needs updating. Try running the configure with the new file at the following URI

http://github.com/tsuna/boost.m4/tree/master/build-aux

Just download the boost.m4 file and put it in the config dir. Let me know if it works.

Eddie Carle <eddic>
Project Administrator
Tue 19 Mar 2013 08:18:45 PM UTC, original submission:  

I've tried to install on OS X 10.8 (Mountain Lion) and ./configure gives error
checking for the Boost thread library... no
This was with latest boost 1.53

I did compile boost 1.47 and that worked with./configure in fastcgi++ project v 2.1

The configure that worked was
./configure --with-boost=/usr/local/boost_1_47_0/

The one that didn't work
./configure --with-boost=/usr/local/boost_1_53_0/

checking boost/thread.hpp usability... yes
checking boost/thread.hpp presence... yes
checking for boost/thread.hpp... yes
checking for the Boost thread library... no
configure: error: cannot find the flags to link with Boost thread

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by daniel_74 (Posted a comment)
  • -email is unavailable- added by eddic (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-04-13 eddic StatusNone => Done
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5