Does anyone remember ...

2018-11-17 Thread Red Cricket
Does anyone remember a project involving DNS at UCS where someone set up a
dns server(s) to do arithmetic? If so can you reply with a link or
something?

Thanks
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


How can I determine if 9.9.4 bind named executable was built with --enable-rrl?

2013-09-24 Thread Red Cricket
Hi,

I understand to be able to use rate-limiting with BIND 9.9.4 it needed to
have been built with this ./configure --enable-rrl configure command.
 But what if I am not the person that builds named?
How can I determine if it was built with rate-limiting?

I have tried isc-config.sh and rndc status but nothing in the output of
those programs indicates if rate-limiting is available from the named
executable I have.

Thanks
Red
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Loopback configuration

2013-06-22 Thread Red Cricket
192.168.0.101 is in the non-routeable address block

https://en.wikipedia.org/wiki/Private_network


On Sat, Jun 22, 2013 at 2:00 PM, Lawrence K. Chen, P.Eng. lkc...@ksu.eduwrote:

 None of what you've described seems to have anything to do with bind

 But, if you are running bind... there are a number of ways that you could
 have bind return the internal IP to internal users, and return the external
 IP to everybody else.  Can even do this if your internal DNS server is not
 connected to the external DNS servers in any way (

 Hard to say why your mail server was killed by the host file
 overrideperhaps its using the external names to know what its external
 IP is, and it suddenly ceased to be an external.  Or perhaps it requires
 forward and reverse lookups to be correct, and you don't have your DNS
 configured to return the correct fqdn for 192.168.0.101.   Probably not,
 because there's no reverse for 184.70.190.126hmmm, maybe it doesn't
 like that there's no longer an MX record for any of the domains now...where
 MX points to a different IP (184.70.190.122).

 - Original Message -
 
  Hello,
 
 
  I have a new router that is apparently making it impossible for me to
  view my personal sites from behind the router by domain name, a
  function that is necessary. I can see the sites by local 192.168
  ip address and port number and others have confirmed they are
  available on the www, so the server is running and named is
  resolving properly outside the LAN.
 
 
  This is the hosts.conf, where I think my error might lie:
 
 
 
 
 
  ##
  # Host Database
  #
  # localhost is used to configure the loopback interface
  # when the system is booting. Do not change this entry.
  ##
  127.0.0.1 localhost web2
  255.255.255.255 broadcasthost
  ::1 localhost
  fe80::1%lo0 localhost
  184.70.190.122 mail.normanfournier.com mail web1-ext
  184.70.190.126 web2.normanfournier.com www web2-ext
  192.168.0.1 nf-telus-gw-int
  192.168.0.100 norman-desktop
  192.168.0.101 ns2
  184.70.190.122 ns1
 
 
 
 
 
  I *added* these lines to the bottom of hosts.conf
 
 
 
 
 
  192.168.0.101 creativeprocess.biz
  192.168.0.101 thecocoapod.com
  192.168.0.101 rogueagent.ca
  192.168.0.101 e4edmonton.com
  192.168.0.101 brandasset.net
  192.168.0.101 greaterthanhtml.com
  192.168.0.101 kawacatoose.com
 
 
  I rebooted and something killed my mailserver when I did this, and I
  still could now view the sites by domain name behind the router, so
  I reverted to the old file. Is here another place I should add the
  domain names, is there an error in my syntax (this has worked
  perfectly before) or it this the entirely wrong place to be looking
  to solve this problem?
 
 
  Thank you.
 
 
  Norman
  ___
  Please visit https://lists.isc.org/mailman/listinfo/bind-users to
  unsubscribe from this list
 
  bind-users mailing list
  bind-users@lists.isc.org
  https://lists.isc.org/mailman/listinfo/bind-users

 ___
 Please visit https://lists.isc.org/mailman/listinfo/bind-users to
 unsubscribe from this list

 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

trouble compiling bind 9.9.2-P2 with rate limit patch rl-9.9.2-P2.patch

2013-04-05 Thread Red Cricket
I have been attempting to follow the instructions here:
http://ss.vix.su/~vjs/rrlrpz.html
but make fails with this error ...

gcc  -I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2
-I./include -I./unix/include -I.
-I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/lwres/include
-I../../lib/lwres/unix/include -I../../lib/lwres/include
-I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/dns/include
-I../../lib/dns/include
-I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/bind9/include
-I../../lib/bind9/include
-I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/isccfg/include
-I../../lib/isccfg/include
-I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/isccc/include
-I../../lib/isccc/include
-I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/isc/include
-I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include
-I../../lib/isc/nothreads/include -I../../lib/isc/x86_32/include
 -DOPENSSL -D_GNU_SOURCE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic  -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings
-Wformat -Wpointer-arith -fno-strict-alia
sing  -c lwsearch.c
export MAKE_SYMTABLE=yes; \
export BASEOBJS=builtin.o client.o config.o control.o
controlconf.o interfacemgr.o listenlist.o log.o logconf.o main.o notify.o
query.o server.o sortlist.o statschannel.o tkeyconf.o tsigconf.o update.o
xfrout.o zoneconf.o lwaddr.o lwresd.o lwdclient.o lwderror.o lwdgabn.o
lwdgnba.o lwdgrbn.o lwdnoop.o lwsearch.o   unix/os.o
unix/dlz_dlopen_driver.o; \
if [ X/usr/local/bin/perl5 = X -o X${MAKE_SYMTABLE:-} = X ] ;
thengcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -o named
${BASEOBJS} ${LIBS0} ../../lib/lwres/liblwres.a ../../lib/dns/libdns.a
 -lgssapi_krb5 -lcrypto ../../lib/bind9/libbind9.a
../../lib/isccfg/libisccfg.a ../../lib/isccc/libisccc.a
../../lib/isc/libisc.a   -ldl ; else rm -f namedtmp0;gcc -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic  -o namedtmp0 ${BASEOBJS}
${LIBS0} ../../lib/lwres/liblwres.a ../../lib/dns/libdns.a  -lgssapi_krb5
-lcrypto ../../lib/bind9/libbind9.a ../../lib/isccfg/libisccfg.a
../../lib/isccc/libisccc.a ../../lib/isc/libisc.a   -ldl  || exit 1; rm -f
named-symtbl.c named-symtbl.o; /usr/local/bin/perl5
../../util/mksymtbl.pl-o named-symtbl.c namedtmp0 || exit 1; make
named-symtbl.o || exit 1; rm -f
namedtmp1;gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -o
namedtmp1 ${BASEOBJS} named-symtbl.o ${LIBS0} ../../lib/lwres/liblwres.a
../../lib/dns/libdns.a  -lgssapi_krb5 -lcrypto ../../lib/bind9/libbind9.a
../../lib/isccfg/libisccfg.a ../../lib/isccc/libisccc.a
../../lib/isc/libisc-nosymtbl.a   -ldl  || exit 1; rm -f named-symtbl.c
named-symtbl.o; /usr/local/bin/perl5 ../../util/mksymtbl.pl -o
named-symtbl.c namedtmp1 || exit 1; make named-symtbl.o || exit 1;gcc
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic  -o namedtmp2 ${BASEOBJS}
named-symtbl.o ${LIBS0} ../../lib/lwres/liblwres.a ../../lib/dns/libdns.a
 -lgssapi_krb5 -lcrypto ../../lib/bind9/libbind9.a
../../lib/isccfg/libisccfg.a ../../lib/isccc/libisccc.a
../../lib/isc/libisc-nosymtbl.a   -ldl ; /usr/local/bin/perl5 ../../util/
mksymtbl.pl -o named-symtbl2.c namedtmp2; count=0; until diff
named-symtbl.c named-symtbl2.c  /dev/null ; do count=`expr $count + 1` ;
test $count = 42  exit 1 ; rm -f named-symtbl.c named-symtbl.o;
/usr/local/bin/perl5 ../../util/mksymtbl.pl -o named-symtbl.c namedtmp2 ||
exit 1; make named-symtbl.o || exit 1;gcc -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic  -o namedtmp2 ${BASEOBJS}
named-symtbl.o ${LIBS0} ../../lib/lwres/liblwres.a ../../lib/dns/libdns.a
 -lgssapi_krb5 -lcrypto ../../lib/bind9/libbind9.a
../../lib/isccfg/libisccfg.a ../../lib/isccc/libisccc.a
../../lib/isc/libisc-nosymtbl.a   -ldl ; /usr/local/bin/perl5 ../../util/
mksymtbl.pl -o named-symtbl2.c namedtmp2; done ; mv namedtmp2 named; rm -f
namedtmp0 namedtmp1 namedtmp2 named-symtbl2.c; fi
client.o: In function
`ns_client_error':/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/bin/named/client.c:1153:
undefined reference to `dns_rrl'query.o: In function
`query_find':/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/bin/named/query.c:5803:
undefined reference to `dns_rrl'server.o: In function
`configure_rrl':/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/bin/named/server.c:1595:
undefined referenc
e to `dns_rrl_init'
/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/bin/named/server.c:1753:
undefined reference to

Re: trouble compiling bind 9.9.2-P2 with rate limit patch rl-9.9.2-P2.patch

2013-04-05 Thread Red Cricket
I used ...

patch -s -p0 -i rl-9.9.2-P2.patch

like it says in the documentation.
I could post the entire set of commands and I am executing and the
resulting outputs, but it is kinda of a lot of text.
Maybe I could sanitize and put on paste.bin ?


On Fri, Apr 5, 2013 at 11:10 AM, Vernon Schryver v...@rhyolite.com wrote:

  From: Red Cricket red.cricket.b...@gmail.com

  I have been attempting to follow the instructions here:
  http://ss.vix.su/~vjs/rrlrpz.html
  but make fails with this error ...

  undefined reference to `dns_rrl'query.o: In function

 I bet that there is are a passle of stray files including rrl.c in
 the top of the BIND source pool and that something like this
 patch -s -i FILE.patch
 was used instead of this from http://ss.vix.su/~vjs/rrlrpz.html
 patch -s -p0 -i FILE.patch

 Without -p0, new files from the patch file are created at the current
 directory.  See https://www.google.com/search?q=patch+command


 Vernon Schryverv...@rhyolite.com
 ___
 Please visit https://lists.isc.org/mailman/listinfo/bind-users to
 unsubscribe from this list

 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: trouble compiling bind 9.9.2-P2 with rate limit patch rl-9.9.2-P2.patch

2013-04-05 Thread Red Cricket
here's a link to pastebin http://pastebin.com/RxcsJMLe


On Fri, Apr 5, 2013 at 11:35 AM, Red Cricket red.cricket.b...@gmail.comwrote:

 I used ...

 patch -s -p0 -i rl-9.9.2-P2.patch

 like it says in the documentation.
 I could post the entire set of commands and I am executing and the
 resulting outputs, but it is kinda of a lot of text.
 Maybe I could sanitize and put on paste.bin ?


 On Fri, Apr 5, 2013 at 11:10 AM, Vernon Schryver v...@rhyolite.com wrote:

  From: Red Cricket red.cricket.b...@gmail.com

  I have been attempting to follow the instructions here:
  http://ss.vix.su/~vjs/rrlrpz.html
  but make fails with this error ...

  undefined reference to `dns_rrl'query.o: In function

 I bet that there is are a passle of stray files including rrl.c in
 the top of the BIND source pool and that something like this
 patch -s -i FILE.patch
 was used instead of this from http://ss.vix.su/~vjs/rrlrpz.html
 patch -s -p0 -i FILE.patch

 Without -p0, new files from the patch file are created at the current
 directory.  See https://www.google.com/search?q=patch+command


 Vernon Schryverv...@rhyolite.com
 ___
 Please visit https://lists.isc.org/mailman/listinfo/bind-users to
 unsubscribe from this list

 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users



___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: trouble compiling bind 9.9.2-P2 with rate limit patch rl-9.9.2-P2.patch

2013-04-05 Thread Red Cricket
Ah I think that is what I was doing wrong.  I some how got the idea in my
head that the patch needed to be applied after configure because I was
getting Patch which file: prompts when I would run patch ... and that was
actually being caused because I (or rpmbuild) was in the wrong directory
when that patch command was issued.


On Fri, Apr 5, 2013 at 1:02 PM, Vernon Schryver v...@rhyolite.com wrote:

  From: Red Cricket red.cricket.b...@gmail.com

  here's a link to pastebin http://pastebin.com/RxcsJMLe

   I used ...
  
   patch -s -p0 -i rl-9.9.2-P2.patch
  
   like it says in the documentation.

 It looks like the patch was applied after running ./configure.
 That doesn't work because the some Makefile.in files are changed
 by the patch, and those changed Makefile.in files are used by
 ./configure to generate some change Makefiles.  Those changed
 Makefiles compile rrl.c and other things.

 Where does the documentation advise running `./configure` before `patch`?
 It needs to be corrected.

 Instead try:
  1. fetch BIND tarball and matching RPZ/RRL patch
  2. unpack the BIND tarball
  3. change directory (cd) to the unpacked BIND source directory
  4. use `/what/ever/named -V` where /what/ever/named is the currently
installed version of BIND to get the ./configure parameters from
the current version for the target platform.
  5. run `./configure stuff` where stuff are the parameters from step #4
  6. `make`

 I can't help past that point, because it involves installing at
 least named-checkconf and named itself.  You might try `make install`
 but that might break things.  It certainly should not be done
 before saving the currently installed rndc, named-checkconf, and named.

   

 Those who are not familiar with building and installing UNIX C programs
 from source and don't intend to get that familiarity by fighting
 with BIND and the RPZ/RRL patches should wait for BIND releases with RRL.
 Currently there are at least FreeBSD ports and a Red Hat Enterprise
 Linux Desktop update.  See
 https://rhn.redhat.com/errata/RHSA-2013-0550.html
 https://bugzilla.redhat.com/show_bug.cgi?id=906312
 and
 http://www.freebsd.org/ports/dns.html#bind99-9.9.2.1


 Vernon Schryverv...@rhyolite.com

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Confused about CVE-2013-2266

2013-04-04 Thread Red Cricket
Hi,

I am sorry for being so dense but I am confused about what to do about
protecting my BIND DNS servers running 9.9.1-P4 from the regex issue.

The link https://kb.isc.org/article/AA-00871 says this ...

Impact:

... Intentional exploitation of this condition can cause denial of service
in all authoritative and recursive nameservers running affected versions of
BIND 9 [all versions of BIND 9.7, BIND 9.8.0 through 9.8.5b1 (inclusive)
and BIND9.9.0 through BIND 9.9.3b1 (inclusive)].

OK ... I run 9.9.1-P4 so my DNS server could be affected by this issue.
But later on in the link it says ...

Solution:

Compile BIND 9 without regular expression support as described in the
Workarounds section of this advisory or upgrade to the patched release
most closely related to your current version of BIND. These can be
downloaded from http://www.isc.org/downloads/all.

* BIND 9 version 9.9.2-P2

But its 9.9.2-P2 with in BIND9.9.0 through BIND 9.9.3b1? So is 9.9.2-P2
also affected? If I build from the 9.9.2-P2 tarball do I need to patch the
config.h as discussed in the Workarounds section?

Thanks
Red
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Does 9.9.2-P2 support rate-limit configuration?

2013-04-01 Thread Red Cricket
Hi,

Does 9.9.2-P2 (the recent release that fixes
CVE-2013-2266: A Maliciously Crafted Regular Expression Can Cause Memory
Exhaustion in named)
support rate-limit ? If not is there a way to patch the source code to
allow for rate-limiting?

Thanks
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

allow-users with list of IP's and key

2012-08-13 Thread Red Cricket
Hi,

I am running bind 9.9.1-P1 and I have in my named.conf this zone ...

zone example.com {
...
allow-update {
 192.168.1.32;
 192.168.1.33;
  key example.com.key;
};
};

I was hoping that this meant that only hosts 192.168.1.32 and
192.168.1.33 with the key example.com.key
could update example.com, but after doing some test it appears that I
can update example.com from
192.168.1.32 and 192.168.1.33 without the key and that any host that
uses the key can update example.com.

What sort of config do I need to use to restrict updates to
192.168.1.32 or 192.168.1.33 AND the key?

Thanks
Red
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: allow-users with list of IP's and key

2012-08-13 Thread Red Cricket
Thank you Sir!

On Mon, Aug 13, 2012 at 8:08 PM, Mark Andrews ma...@isc.org wrote:

 In message 
 cahu+3ox-tnyuqguxtzcdtbpf14jihxa6ddtrel26lmfsit2...@mail.gmail.com
 , Red Cricket writes:
 Hi,

 I am running bind 9.9.1-P1 and I have in my named.conf this zone ...

 zone example.com {
 ...
 allow-update {
  192.168.1.32;
  192.168.1.33;
   key example.com.key;
 };
 };

 allow-update { !{ !192.168.1.32; !192.168.1.33; any; }; key example.com.key; 
 };

 I was hoping that this meant that only hosts 192.168.1.32 and
 192.168.1.33 with the key example.com.key
 could update example.com, but after doing some test it appears that I
 can update example.com from
 192.168.1.32 and 192.168.1.33 without the key and that any host that
 uses the key can update example.com.

 What sort of config do I need to use to restrict updates to
 192.168.1.32 or 192.168.1.33 AND the key?

 Thanks
 Red
 ___
 Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
  from this list

 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users
 --
 Mark Andrews, ISC
 1 Seymour St., Dundas Valley, NSW 2117, Australia
 PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


make bind-9.7.4-P1 fails when --prefix and --exec-prefix switches are used

2011-11-17 Thread Red Cricket
Hi,

I have been working on upgrading from bind-9.7.3-P3 to bind-9.7.4-P1
to patch for cve-2011-4313.

Here is what I am doing ...

rcricket@dws-rch-rcricket-l:~$ wget
http://ftp.isc.org/isc/bind9/9.7.4-P1/bind-9.7.4-P1.tar.gz
...
rcricket@dws-rch-rcricket-l:~$ tar -zxf bind-9.7.4-P1.tar.gz
rcricket@dws-rch-rcricket-l:~$ mkdir BIND_INSTALL_DIR
rcricket@dws-rch-rcricket-l:~$ cd bind-9.7.4-P1
rcricket@dws-rch-rcricket-l:~/bind-9.7.4-P1$ ./configure
--disable-openssl-version-check
--prefix=/users/rcricket/BIND_INSTALL_DIR
--exec-prefix=/users/rcricket/BIND_INSTALL_DIR
...
rcricket@dws-rch-rcricket-l:~/bind-9.7.4-P1$ make
...
gcc  -I/users/rcricket/bind-9.7.4-P1 -I./include -I./unix/include -I.
-I/users/rcricket/bind-9.7.4-P1/lib/lwres/include
-I../../lib/lwres/unix/include -I../../lib/lwres/include
-I/users/rcricket/bind-9.7.4-P1/lib/dns/include
-I../../lib/dns/include
-I/users/rcricket/bind-9.7.4-P1/lib/bind9/include
-I../../lib/bind9/include
-I/users/rcricket/bind-9.7.4-P1/lib/isccfg/include
-I../../lib/isccfg/include
-I/users/rcricket/bind-9.7.4-P1/lib/isccc/include
-I../../lib/isccc/include
-I/users/rcricket/bind-9.7.4-P1/lib/isc/include -I../../lib/isc
-I../../lib/isc/include -I../../lib/isc/unix/include
-I../../lib/isc/nothreads/include -I../../lib/isc/x86_32/include
-D_GNU_SOURCE -g -O2  -W -Wall -Wmissing-prototypes -Wcast-qual
-Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing  \
-DVERSION=\9.7.4-P1\ \
-DCONFIGARGS=\'--disable-openssl-version-check'
'--prefix=/users/rcricket/BIND_INSTALL_DIR'
'--exec-prefix=/users/rcricket/BIND_INSTALL_DIR'\ \
-DNS_LOCALSTATEDIR=\/users/rcricket/BIND_INSTALL_DIR/var\ \
-DNS_SYSCONFDIR=\/users/rcricket/BIND_INSTALL_DIR/etc\ -c ./main.c
gcc.orig: '--prefix=/users/rcricket/BIND_INSTALL_DIR': No such file or directory
gcc.orig: '--exec-prefix=/users/rcricket/BIND_INSTALL_DIR': No such
file or directory
In file included from ./main.c:62:
./include/named/globals.h:68: error: missing terminating  character
./include/named/globals.h:68: error: syntax error before ')' token
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/apps/users/rcricket/bind-9.7.4-P1/bin/named'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/apps/users/rcricket/bind-9.7.4-P1/bin'
make: *** [subdirs] Error 1

If I run configure without the -prefix and -exec-prefix switches make
completes without error, but I would like to be able to use the
-prefix and -exec-prefix switches.

Thanks
Russ
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: make bind-9.7.4-P1 fails when --prefix and --exec-prefix switches are used

2011-11-17 Thread Red Cricket
That's it! THANK YOU!

my /usr/bin/gcc was this ...

#!/bin/sh

if [ -n $GCC10G ]; then
# Use the standard gcc
exec /usr/bin/gcc323 $@
elif id | grep -q gcc296; then
#Use the compat gcc
exec /usr/bin/gcc296 $@
elif [ -n $GCC296 ]; then
# Use the compat gcc
exec /usr/bin/gcc296 $@
else
# Use the standard gcc
exec /usr/bin/gcc323 $@
fi

.. when I changed it to this ...

#!/bin/sh

if [ -n $GCC10G ]; then
# Use the standard gcc
exec /usr/bin/gcc323 $@
elif id | grep -q gcc296; then
#Use the compat gcc
exec /usr/bin/gcc296 $@
elif [ -n $GCC296 ]; then
# Use the compat gcc
exec /usr/bin/gcc296 $@
else
# Use the standard gcc
#exec /usr/bin/gcc323 $@
exec /usr/bin/gcc323 $@
fi

... the make work fine now.



On Thu, Nov 17, 2011 at 1:36 PM, Mark Andrews ma...@isc.org wrote:

 You need to fix your gcc wrapper as it is not handling command line
 arguments that contain spaces.  This is a common error when people
 write shell script wrappers.  They fail to account for arguments
 with spaces.

 Mark

 In message 
 CAHu+3Ox-RfgnwjopO_ebb48Da=MYyBdgh+q93=smy+-vl6u...@mail.gmail.com, Red 
 Cricket writes:
 gcc.orig: '--prefix=/users/rcricket/BIND_INSTALL_DIR': No such file or 
 directory
 gcc.orig: '--exec-prefix=/users/rcricket/BIND_INSTALL_DIR': No such
 --
 Mark Andrews, ISC
 1 Seymour St., Dundas Valley, NSW 2117, Australia
 PHONE: +61 2 9871 4742                 INTERNET: ma...@isc.org

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: make bind-9.7.4-P1 fails when --prefix and --exec-prefix switches are used

2011-11-17 Thread Red Cricket
Oops! Thanks again Mark. I'll fix'em :)
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users