fastcgipp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fastcgipp-users] Building latest version on Solaris


From: Rakesh Vidyadharan
Subject: Re: [Fastcgipp-users] Building latest version on Solaris
Date: Fri, 20 Jan 2012 20:18:38 -0600

On 16 Jan 2012, at 14:40, Rakesh Vidyadharan wrote:

> Hello,
> 
> I am trying to build 2.0 beta on OpenIndiana using gcc 4.5.1.  I have built 
> and installed Boost 1.48.0 and I can see /usr/local/include/boost/thread.hpp 
> as well as /usr/local/lib/libboost_thread.*.  The configure script however 
> fails with an error as follows:
> 
> checking for boost/shared_ptr.hpp... yes
> checking for the flags needed to use pthreads... 
> checking boost/thread.hpp usability... no
> checking boost/thread.hpp presence... no
> checking for boost/thread.hpp... no
> configure: error: cannot find boost/thread.hpp
> gmake: *** No targets specified and no makefile found.  Stop.
> gmake: *** No rule to make target `install'.  Stop.

The issue was that my boost installation required passing -pthreads flag to the 
compiler.  I just needed to set CXXFLAGS before invoking configure.

CXXFLAGS=-pthreads ./configure

Rakesh







reply via email to

[Prev in Thread] Current Thread [Next in Thread]