[Pdns-users] 3.2-RC1! Re: PowerDNS Authoritative Server 3.1 Release Candidate 1 available

Odhiambo Washington odhiambo at gmail.com
Wed Nov 21 12:32:04 UTC 2012


Hello,

I am trying to build pdns-3.2rc1 on FreeBSD 9.1 from source.

Here are my configure options.

#!/bin/sh
./configure     --prefix=/opt/pdns3.2 \
                --enable-verbose-logging \
                --enable-cryptopp \
                --enable-pdns_server \
                --enable-recursor \
                --with-sqlite3 \
                --without-system-polarssl \
                --with-boost=/usr/local/ \
                --with-dynmodules="pipe" \
                --with-mysql \
                --with-mysql-lib=/usr/local/lib/mysql/ \
                --with-mysql-includes=/usr/local/include/mysql/


And below is where it fails:

mv -f .deps/selectmplexer.Tpo .deps/selectmplexer.Po
g++ -DHAVE_CONFIG_H -I. -I..  -Ibackends/bind -I/usr/local//include
-DSYSCONFDIR=\"/opt/pdns3.2/etc\" -DLIBDIR=\"/opt/pdns3.2/lib\" -DLOCALSTA
TEDIR=\"/var/run\" -Ibackends/bind  -I/usr/local/include/lua51
-I/usr/local/include  -Iext/polarssl-1.1.2/include -pthread -Wall -O2 -MT
epollmp
lexer.o -MD -MP -MF .deps/epollmplexer.Tpo -c -o epollmplexer.o
epollmplexer.cc
In file included from epollmplexer.cc:1:
mplexer.hh:161:7: warning: no newline at end of file
epollmplexer.cc:34: error: 'epoll_event' was not declared in this scope
epollmplexer.cc:34: error: template argument 1 is invalid
epollmplexer.cc: In constructor 'EpollFDMultiplexer::EpollFDMultiplexer()':
epollmplexer.cc:53: error: expected type-specifier before 'epoll_event'
epollmplexer.cc:53: error: expected `)' before 'epoll_event'
epollmplexer.cc:53: error: invalid conversion from 'int*' to 'int'
epollmplexer.cc:55: error: 'epoll_create' was not declared in this scope
epollmplexer.cc: In member function 'virtual void
EpollFDMultiplexer::addFD(std::map<int, FDMultiplexer::Callback,
std::less<int>, std::allocator
<std::pair<const int, FDMultiplexer::Callback> > >&, int,
boost::function<void ()(int, boost::any&)>, const boost::any&)':
epollmplexer.cc:79: error: aggregate 'epoll_event eevent' has incomplete
type and cannot be defined
epollmplexer.cc:81: error: 'EPOLLIN' was not declared in this scope
epollmplexer.cc:81: error: 'EPOLLOUT' was not declared in this scope
epollmplexer.cc:86: error: 'EPOLL_CTL_ADD' was not declared in this scope
epollmplexer.cc:86: error: 'epoll_ctl' was not declared in this scope
epollmplexer.cc: In member function 'virtual void
EpollFDMultiplexer::removeFD(std::map<int, FDMultiplexer::Callback,
std::less<int>, std::alloca
tor<std::pair<const int, FDMultiplexer::Callback> > >&, int)':
epollmplexer.cc:97: error: aggregate 'epoll_event dummy' has incomplete
type and cannot be defined
epollmplexer.cc:101: error: 'EPOLL_CTL_DEL' was not declared in this scope
epollmplexer.cc:101: error: 'epoll_ctl' was not declared in this scope
epollmplexer.cc: In member function 'virtual int
EpollFDMultiplexer::run(timeval*)':
epollmplexer.cc:111: error: request for member 'get' in
'((EpollFDMultiplexer*)this)->EpollFDMultiplexer::d_eevents', which is of
non-class type
'int'
epollmplexer.cc:111: error: 'epoll_wait' was not declared in this scope
epollmplexer.cc:122: error: invalid types 'int[int]' for array subscript
epollmplexer.cc:128: error: invalid types 'int[int]' for array subscript
/usr/local//include/boost/tuple/tuple_comparison.hpp: In function 'bool
boost::tuples::operator>(const boost::tuples::cons<T1, T2>&, const boost:
:tuples::cons<S1, S2>&) [with T1 = const time_t&, T2 =
boost::tuples::cons<const suseconds_t&, boost::tuples::null_type>, S1 =
time_t&, S2 = boos
t::tuples::cons<suseconds_t&, boost::tuples::null_type>]':
mplexer.hh:98:   instantiated from here
/usr/local//include/boost/tuple/tuple_comparison.hpp:146: warning:
comparison between 'enum boost::tuples::length<boost::tuples::cons<const
susec
onds_t&, boost::tuples::null_type> >::<anonymous>' and 'enum
boost::tuples::length<boost::tuples::cons<suseconds_t&,
boost::tuples::null_type> >:
:<anonymous>'
gmake[4]: *** [epollmplexer.o] Error 1
gmake[4]: Leaving directory `/usr/home/wash/Tools/PDNS/pdns-3.2-rc1/pdns'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/home/wash/Tools/PDNS/pdns-3.2-rc1/pdns'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/wash/Tools/PDNS/pdns-3.2-rc1/pdns'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/wash/Tools/PDNS/pdns-3.2-rc1'
gmake: *** [all] Error 2




If anyone can see why it fails, I'll appreciate advise on what I should
change/look for.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20121121/7c9b574b/attachment-0001.html>


More information about the Pdns-users mailing list