[Pdns-users] Building the latest version from source...
Brad Knowles
brad at stop.mail-abuse.org
Sat Sep 10 15:15:46 UTC 2005
At 5:07 PM +0200 2005-09-10, bert hubert wrote:
> Don't fret it :-)
The problem is that the make won't complete without it:
% setenv CXXFLAGS "-I/usr/local/include" ; ./configure
--with-modules="gmysql bind"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking build system type... i386-unknown-freebsd4.11
checking host system type... i386-unknown-freebsd4.11
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc
checking whether byte ordering is bigendian... no
[ ... deletia ... ]
config.status: creating modules/odbcbackend/Makefile
config.status: creating modules/gpgsqlbackend/Makefile
config.status: creating modules/ldapbackend/Makefile
config.status: creating modules/gsqlitebackend/Makefile
config.status: creating modules/goraclebackend/Makefile
config.status: creating config.h
config.status: executing depfiles commands
% make
make all-recursive
Making all in modules
Making all in gmysqlbackend
source='gmysqlbackend.cc' object='gmysqlbackend.lo' libtool=yes
DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp /bin/sh ../../libtool
--tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include/mysql -pthread -I/usr/local/include -Wall
-O2 -c -o gmysqlbackend.lo gmysqlbackend.cc
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include/mysql
-pthread -I/usr/local/include -Wall -O2 -c gmysqlbackend.cc
-Wp,-MD,.deps/gmysqlbackend.TPlo -fPIC -DPIC -o .libs/gmysqlbackend.o
In file included from gmysqlbackend.cc:10:
../../pdns/dnspacket.hh:24: warning: #warning There are known
problems with PowerDNS binaries compiled by gcc version 2.95 and 2.96!
[ ... deletia ... ]
(cd .libs && rm -f libgmysqlbackend.so && ln -s libgmysqlbackend.so.0
libgmysqlbackend.so)
(cd .libs && rm -f libgmysqlbackend.so && ln -s libgmysqlbackend.so.0
libgmysqlbackend.so)
ar cru .libs/libgmysqlbackend.a gmysqlbackend.o smysql.o
ranlib .libs/libgmysqlbackend.a
creating libgmysqlbackend.la
(cd .libs && rm -f libgmysqlbackend.la && ln -s
../libgmysqlbackend.la libgmysqlbackend.la)
Making all in bindbackend
cd: can't cd to bindbackend
*** Error code 1
Stop in /local/home/blk/src/DNS/PowerDNS/pdns-2.9.19-svn/modules.
*** Error code 1
Stop in /local/home/blk/src/DNS/PowerDNS/pdns-2.9.19-svn.
*** Error code 1
Stop in /local/home/blk/src/DNS/PowerDNS/pdns-2.9.19-svn.
Did I miss something? Did I do something wrong? I'm confused....
--
Brad Knowles, <brad at stop.mail-abuse.org>
"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
SAGE member since 1995. See <http://www.sage.org/> for more info.
More information about the Pdns-users
mailing list