libmicrohttpd ./configure: pthreads not supported (osx) -
after downloading , untarballing libmicrohttpd
gnu archive, did usual: ./configure
. however, configure
stopped reporting error. here last few relevant lines:
checking pthread_create in -lpthread... no checking if compiler supports -pthread... no checking if compiler supports -pthreads... no checking if compiler supports -threads... configure: error: system not supporting pthreads!
i searched online, , sure enough, appears osx *does* have pthreads
, not find on configure
reporting errors no pthreads on osx.
here top level ls
of /usr/include
: http://sprunge.us/dggy
and here tree
of same: http://sprunge.us/fvbv
on os x it's easier use homebrew instead of trying build scratch - checked , have formula libmicrohttpd
.
note default homebrew puts headers , libraries under /usr/local/include
, /usr/local/lib
- gcc find libraries , headers here default, or can add paths explicitly if prefer (-i
include paths, -l
library paths).
Comments
Post a Comment