Need help about porting bind-9.7.0 to ARM board (4)

2010-05-30 Thread LiGang
Hi all!
I am trying to port bind-9.7.0-p2 to ARM board. According to configure help, my 
configuration is:

   ./configure CC= /usr/local/arm/3.4.1/bin/arm-linux-gcc 
--host=arm-s3c2410-linux --build=i686-pc-linux --with-openssl=no 
--prefix=/mnt/bind --enable-static --enable-thread --enable-epoll

but i met configure error:

   checking for /dev/random... configure: error: cannot check for file 
existence when cross compiling.

I know there is an option. It is --with-randomdev=path. And i have read 
related information in bind9 mannual:

random-device The source of entropy to be used by the server. Entropy is 
primarily needed for DNSSEC operations, such as TKEY transactions and dynamic 
update of signed zones. This options specifies
the device (or file) from which to read entropy. If this is a file, operations 
requiring entropy will fail when the file has been exhausted. If not specified, 
the default value is /dev/random (or equivalent) when present, and none 
otherwise. The random-device option takes effect during the initial 
configuration load at server startup time and is ignored on subsequent reloads.

However, it is still difficult for me to understand how to specify the random 
device path. I really need help.
Thanks!!___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Need help about porting bind-9.7.0 to ARM board (5)

2010-05-30 Thread LiGang
Hi all!
With your help, I have successfully complied bind9 for ARM board. 
After “make install”,all the files i need to copy to my target are copied to a 
folder. But its size is 34.4MB, very big. 
My question is if my purpose is just to implement a simple and basic  DNS 
server, for example users input www.123.com in IE browser and then access to a 
webserver, what's the necessary files i need to copy to my target?
Thanks!!___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Need help about porting bind-9.7.0 to ARM board (5)

2010-05-30 Thread LiGang
Hi all!
I am using rndc-confgen to generate rndc.key, but it seems rndc-confgen cannot 
work.

[r...@lg_arm jffs2]./rndc-confgen -a

  (one hour later, no response)

Where is my mistake? 
Thanks!!___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Need help about porting bind-9.7.0 to ARM board (2)

2010-05-29 Thread LiGang
Hi, all!
I try to port bind-9.7.0 to arm board. During cross compilation and 
installation, i didn't met errors, However, i cannot find named.conf in /etc. 
Where is my mistake? Thanks!!
1. My configuration and compilation:

1) export CC=”/usr/local/arm/3.4.1/bin/arm-linux-gcc”

2) export BUILD_CC=”arm-linux-gcc”

3) ./configure �Chost=arm-linux �Ctarget=arm-linux �Cwith-openssl=no 
�Cprefix=/mnt/bind �Cdisable-openssl-version-check

4)  make

5) make install

6) In /mnt/bind, i found ../bin, ../etc, ../sbin, ../var, ../include, ../lib, 
../share. But i cannot find named.conf in ../etc. 

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

Need help about porting bind-9.7.0 to ARM board (3)

2010-05-29 Thread LiGang
Hi all!
I am trying to port bind-9.7.0-p2 to ARM board. According to configure help, my 
configuration is:
   ./configure CC= /usr/local/arm/3.4.1/bin/arm-linux-gcc 
--host=arm-s3c2410-linux --build=i686-pc-linux --with-openssl=no 
--prefix=/mnt/bind --enable-static --enable-thread --enable-epoll
but i met configure error:
   checking for /dev/random... configure: error: cannot check for file 
existence when cross compiling.
Where is my mistake? Thanks!!___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users