Re: PowerDNS Authoritative Server 3.3 Release Candidate 2 available

[email protected]
Newsgroups gmane.network.dns.powerdns.devel
Message-ID <[email protected]>
On 2013-06-29 00:22, bert hubert wrote:
> On Sat, Jun 29, 2013 at 12:11:26AM +1030, [email protected] 
> wrote:
>
>>   CXXLD  pdnssec
>> unix_semaphore.cc:47:27: error: use of undeclared identifier 
>> 'm_lock'
>>   if (pthread_mutex_init(&m_lock, NULL) != 0) {
>
> We used to special case OSX for semaphores. Testing indicated that 
> m_lock
> was no longer used, but this is because we don't do our testing on 
> OSX.
>
> I think that by now, OSX no longer needs special casing.
>
> So, if you could take out all the #ifdef sections in 
> unix_semaphore.cc that
> relate to Apple or OSX, It Might Just Work.
>
> Can you let us know?

Doesn't look workable. :(

Removed the DARWIN and __APPLE__ keywords from the one #if line (at
the top of the file) leaving only the AIX keyword.  Like this:

   #if _AIX

Compilation succeeds, but pdns_server doesn't work. :(

   $ pdns_server --daemon=no --launch=gsqlite3 --socket-dir=/tmp 
--local-port=8053
   Jun 28 16:13:38 Cannot create semaphore: Function not implemented
   $

To illustrate the difference, this is PDNS Auth server 3.2 (working 
fine)
on the same box:

   $ pdns_server --daemon=no --launch=gsqlite3 --socket-dir=/tmp 
--local-port=8053
   Jun 28 16:08:22 Reading random entropy from '/dev/urandom'
   Jun 28 16:08:22 This is a standalone pdns
   Jun 28 16:08:22 Listening on controlsocket in 
'/tmp/pdns.controlsocket'
   Jun 28 16:08:22 UDP server bound to 0.0.0.0:8053
   Jun 28 16:08:22 TCP server bound to 0.0.0.0:8053
   Jun 28 16:08:22 PowerDNS 3.2 (C) 2001-2013 PowerDNS.COM BV (Jun 28 
2013, 16:05:17, gcc 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)) 
starting up
   Jun 28 16:08:22 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is 
free software, and you are welcome to redistribute it according to the 
terms of the GPL version 2.
   Jun 28 16:08:22 Creating backend connection for TCP
   ...

Kind of hoping I modified the #if line incorrectly. :)

Any ideas?

Regards and best wishes,

Justin Clift
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.