LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to install bind (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-install-bind-4175500177/)

vbarun2000 04-01-2014 10:00 AM

Unable to install bind
 
I was trying to configure DNS server and for that i need to install bind package to my server from the source file (example from ftp://ftp.isc.org/isc/bind9/9.9.2-P1....9.2-P1.tar.gz )


Currently we can't use yum repo's at the intership period so only we need to install from source file,But while installing from the source file its showing a error message like this


[root@Arun bind-9.9.5]# ./configure

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking whether make sets $(MAKE)... yes

checking how to print strings... printf

checking for gcc... no

checking for cc... no

checking for cl.exe... no

configure: error: in `/Arun/bind-9.9.5':

configure: error: no acceptable C compiler found in $PATH

See `config.log' for more details


From this it was well understood that gcc was not installed in the server,but while we try to install the gcc through rpm package it shows dependency's error message's like this


rpm -ivh gcc-4.4.6-3.el6.i686.rpm

warning: gcc-4.4.6-3.el6.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY

error: Failed dependencies:

cloog-ppl >= 0.15 is needed by gcc-4.4.6-3.el6.i686

cpp = 4.4.6-3.el6 is needed by gcc-4.4.6-3.el6.i686

glibc-devel >= 2.2.90-12 is needed by gcc-4.4.6-3.el6.i686

libgomp = 4.4.6-3.el6 is needed by gcc-4.4.6-3.el6.i686

libgomp.so.1 is needed by gcc-4.4.6-3.el6.i686


os -Centos 6.3

arch i686

processor : 1

vendor_id : GenuineIntel

cpu family : 6

model : 23

model name : Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz

Access to server was only through ssh

so how can i install bind successfully

i know i am not good in English,any way thanks for reading,any kind of replay's will appreciable

John VV 04-01-2014 11:40 AM

why are you trying to build from source ???
from the "el6" bit in the post this is eather
RHEL6.5
CentOS 6.5
ScientificLinux 6.5

for a redhat based system use "yum"

Code:

su -
yum install bind

but it should already be installed as part of the base Operating system

Quote:

Currently we can't use yum repo's at the intership period so only we need to install from source file,But while installing from the source file its showing a error message like this
have a read through a current "Linux From Scratch" book

and in the source there are two files
README
INSTALL

fallow the install instructions

from the FIRST error in your post
"checking for gcc... no"
install gcc --
Code:

su -
yum groupinstall "Development Tools"

this will install about 20 packages that gcc NEEDS

vbarun2000 04-01-2014 01:52 PM

thanks for your replay it helped me to fix my problem

vbarun2000 04-02-2014 04:54 AM

i made yum groupinstall Development Tools and yum install gcc

but still i am getting some kind of error while installing bind ,plz guide me to make my installation success full


./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ar... /usr/bin/ar
checking for etags... no
checking for emacs-etags... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for python... /usr/bin/python
checking python module 'argparse'... not found, python disabled
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for ANSI C header files... (cached) yes
checking for fcntl.h... yes
checking for regex.h... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/sockio.h... no
checking for sys/select.h... yes
checking for sys/param.h... yes
checking for sys/sysctl.h... yes
checking for net/if6.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for sysctlbyname... no
checking for flexible array members... yes
checking for seteuid... yes
checking for setresuid... yes
checking for setegid... yes
checking for setresgid... yes
checking for static inline breakage... no
checking for size_t... yes
checking for ssize_t... yes
checking for uintptr_t... yes
checking for socklen_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for long long... yes
checking for GCC noreturn attribute... yes
checking for struct lifconf... no
checking for kqueue... no
checking epoll support... yes
checking sys/devpoll.h usability... no
checking sys/devpoll.h presence... no
checking for sys/devpoll.h... no
checking devpoll.h usability... no
checking devpoll.h presence... no
checking for devpoll.h... no
checking if unistd.h or sys/types.h defines fd_set... yes
checking whether byte ordering is bigendian... no
checking for OpenSSL library... configure: error: OpenSSL was not found in any of /usr /usr/local /usr/local/ssl /usr/pkg /usr/sfw; use --with-openssl=/path
If you don't want OpenSSL, use --without-openssl

vbarun2000 04-02-2014 10:47 AM

yum install openssl-devel


All times are GMT -5. The time now is 06:57 PM.