[Pdns-users] PowerDNS Recursor 3.1.7 released - with DNS scripting!

J Knight jknight+pdns at spamshield.org
Sun Aug 10 16:00:38 UTC 2008


On 6/25/2008 at 4:12 AM, "bert hubert" <bert.hubert at netherlabs.nl> wrote:

> Available on:
>  http://downloads.powerdns.com/releases/pdns-recursor-3.1.7.tar.bz2

oddly enough, this built fine on FreeBSD6.2-RELEASE with gmake = GNU Make 3.81

when I tried to compile this on a RH ES3, with gmake = GNU Make version 3.79.1,
I'd get:

> Testing dependencies and compiler.
> Using gmake to build
> Makefile:45: Extraneous text after `else' directive
> Makefile:48: *** only one `else' per conditional.  Stop.

Seemingly a missing 'endif' - but I am wondering why the newer gmake just completely
ignored this?

Fixed with:

*** Makefile.dist       2008-06-24 14:23:33.000000000 -0400
--- Makefile    2008-08-10 11:59:50.000000000 -0400
***************
*** 43,52 ****
        LINKCC=$(CC)
        LDFLAGS += malloc.o -ldl -lm
  else ifeq ($(STATIC),full)
!       STATICFLAGS=-lstdc++ $(LUALIBS) -ldl -lm -static
!       LINKCC=$(CC)
! else
!       LDFLAGS += malloc.o $(LUALIBS)
  endif


--- 43,53 ----
        LINKCC=$(CC)
        LDFLAGS += malloc.o -ldl -lm
  else ifeq ($(STATIC),full)
!               STATICFLAGS=-lstdc++ $(LUALIBS) -ldl -lm -static
!               LINKCC=$(CC)
!       else
!               LDFLAGS += malloc.o $(LUALIBS)
!       endif
  endif


Thanks,
Jamie




More information about the Pdns-users mailing list