O_CLOEXEC was not declared in this scope
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
Fix Released
|
Medium
|
Brian Aker |
Bug Description
Here is the error output of 'make' on Mac OS X 10.6.8 while trying to compile gearmand 0.32:
CXX util/pidfile.o
util/pidfile.cc: In member function ‘bool datadifferentia
util/pidfile.
make[1]: *** [util/pidfile.o] Error 1
make: *** [all] Error 2
Here are the configuration options and summary:
./configure --prefix=/usr/local --with-
-------
Configuration summary for gearmand version 0.32
* Installation prefix: /usr/local
* System type: apple-darwin10.8.0
* Host CPU: x86_64
* C Compiler: i686-apple-
* Assertions enabled: yes
* Debug enabled: no
* Warnings as failure:
* Building with libsqlite3 yes
* Building with libdrizzle no
* Building with libmemcached no
* Building with libpq no
* Building with tokyocabinet no
* Building with libmysql yes
-------
Changed in gearmand: | |
milestone: | none → 0.33 |
importance: | Low → Medium |
status: | Triaged → In Progress |
Changed in gearmand: | |
status: | In Progress → Fix Committed |
Changed in gearmand: | |
status: | Fix Committed → Fix Released |
Hi,
Can you grep /usr/include for 10.6 and see where O_CLOEXEC is declared?
It may not have been available (it is in Lion).
Cheers,
-Brian
On Apr 12, 2012, at 10:54 AM, Andrew Whalen wrote:
> Public bug reported: l::util: :Pidfile: :create( )’: cc:122: error: ‘O_CLOEXEC’ was not declared in this scope lib-prefix= /opt/local --with- ------- ------- ------- ------- ------- ------- ------- ------ darwin10- gcc-4.2. 1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) ------- ------- ------- ------- ------- ------- ------- ------ /bugs.launchpad .net/bugs/ 980114 l::util: :Pidfile: :create( )’: cc:122: error: ‘O_CLOEXEC’ was not declared in this scope lib-prefix= /opt/local --with- ------- ------- ------- ------- ------- ------- ------- ------ darwin10- gcc-4.2. 1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) ------- ------- ------- ------- ------- ------- ------- ------ /bugs.launchpad .net/gearman...
>
> Here is the error output of 'make' on Mac OS X 10.6.8 while trying to
> compile gearmand 0.32:
>
> CXX util/pidfile.o
> util/pidfile.cc: In member function ‘bool datadifferentia
> util/pidfile.
> make[1]: *** [util/pidfile.o] Error 1
> make: *** [all] Error 2
>
> Here are the configuration options and summary:
>
> ./configure --prefix=/usr/local --with-
> boost=/opt/local
>
> -------
> Configuration summary for gearmand version 0.32
>
> * Installation prefix: /usr/local
> * System type: apple-darwin10.8.0
> * Host CPU: x86_64
> * C Compiler: i686-apple-
> * Assertions enabled: yes
> * Debug enabled: no
> * Warnings as failure:
> * Building with libsqlite3 yes
> * Building with libdrizzle no
> * Building with libmemcached no
> * Building with libpq no
> * Building with tokyocabinet no
> * Building with libmysql yes
>
> -------
>
> ** Affects: gearmand
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> Gearman.
> https:/
>
> Title:
> O_CLOEXEC was not declared in this scope
>
> Status in Gearman Server and Client Libraries:
> New
>
> Bug description:
> Here is the error output of 'make' on Mac OS X 10.6.8 while trying to
> compile gearmand 0.32:
>
> CXX util/pidfile.o
> util/pidfile.cc: In member function ‘bool datadifferentia
> util/pidfile.
> make[1]: *** [util/pidfile.o] Error 1
> make: *** [all] Error 2
>
> Here are the configuration options and summary:
>
> ./configure --prefix=/usr/local --with-
> boost=/opt/local
>
> -------
> Configuration summary for gearmand version 0.32
>
> * Installation prefix: /usr/local
> * System type: apple-darwin10.8.0
> * Host CPU: x86_64
> * C Compiler: i686-apple-
> * Assertions enabled: yes
> * Debug enabled: no
> * Warnings as failure:
> * Building with libsqlite3 yes
> * Building with libdrizzle no
> * Building with libmemcached no
> * Building with libpq no
> * Building with tokyocabinet no
> * Building with libmysql yes
>
> -------
>
> To manage notifications about this bug go to:
> https:/