Issues in configuring Bind 9.10 in CentOS 6.3 with --open-ssl

2014-05-02 Thread Gaurav Kansal
Dear Team,

 

I am trying to configure Bind 9.10 version in CentOS 6.3 using the following
options but getting an error as shown below.

 

Option 1 -

./configure --with-geoip=/usr/local/share/GeoIP/

checking for libtool... no

checking for Source Identity Token support... no

checking for OpenSSL library... using OpenSSL from /usr/lib and /usr/include

checking whether linking with OpenSSL works... no

configure: error: Could not run test program using OpenSSL from

/usr/lib and /usr/include.

Please check the argument to --with-openssl and your

shared library configuration (e.g., LD_LIBRARY_PATH).

 

I have OpenSSL and openssl-devel package installed in my machine.

 

Option 2-

./configure --with-geoip=/usr/local/share/GeoIP/
--with-openssl=/usr/include/openssl/

checking for sysconf... yes

checking for libtool... no

checking for Source Identity Token support... no

checking for OpenSSL library... configure: error:
/usr/include/openssl//include/openssl/opensslv.h not found

 

 

I am not able to understand why it is appending the /include/openssl/ in
my path as shown above.

 

I have also try following option to play with path but didn't get success.

 

Option 3-

./configure --with-geoip=/usr/local/share/GeoIP/ --with-openssl=/usr

checking for libtool... no

checking for Source Identity Token support... no

checking for OpenSSL library... using OpenSSL from /usr/lib and /usr/include

checking whether linking with OpenSSL works... no

configure: error: Could not run test program using OpenSSL from

/usr/lib and /usr/include.

Please check the argument to --with-openssl and your

shared library configuration (e.g., LD_LIBRARY_PATH).

 

 

 

Pl. help me what should I do ???

 

 

Regards, 

Gaurav Kansal

 

___
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: Issues in configuring Bind 9.10 in CentOS 6.3 with --open-ssl

2014-05-02 Thread Jeremy C. Reed
On Fri, 2 May 2014, Gaurav Kansal wrote:

 checking for OpenSSL library... using OpenSSL from /usr/lib and /usr/include
 
 checking whether linking with OpenSSL works... no
 
 configure: error: Could not run test program using OpenSSL from
 
 /usr/lib and /usr/include.
 
 Please check the argument to --with-openssl and your
 
 shared library configuration (e.g., LD_LIBRARY_PATH).
 
  
 
 I have OpenSSL and openssl-devel package installed in my machine.


The config.log debugging file should contain further details that may be 
used to troubleshoot this. Please look in config.log for lines around 
checking whether linking with OpenSSL works (and above ## Cache 
variables ## line).___
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: Issues in configuring Bind 9.10 in CentOS 6.3 with --open-ssl

2014-05-02 Thread Carl Byington
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 2014-05-02 at 13:17 +0530, Gaurav Kansal wrote:
 I am trying to configure Bind 9.10 version in CentOS 6.3 using the
 following options but getting an error as shown below.

You might try the centos source rpm linked at
http://www.five-ten-sg.com/mapper/bind

The bind-9.10.0-0.2.fc18.src.rpm builds with GeoIP on el5 and el6.


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAlNjyvoACgkQL6j7milTFsFc+ACfQ0liApLFdR+eFs7/ADLfVPsJ
TyYAnRn9+TGhb/AJRJ4OZGKtYKHTJb3h
=l+xQ
-END PGP SIGNATURE-


___
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: Issues in configuring Bind 9.10 in CentOS 6.3 with --open-ssl

2014-05-02 Thread Gaurav Kansal
Hi Jaremy,

 

Config.log doesn't showing any useful data to troubleshoot this.

 

configure:15007: result: no

configure:15121: checking for sysconf

configure:15121: gcc -o conftest -g -O2 -I/usr/local/share/GeoIP//include
-D_GNU_SOURCE -I/usr/local/share/GeoIP//include  conftest.c -lpthread -lm
-lGeoIP  -L/usr/local/share/GeoIP//lib 5

configure:15121: $? = 0

configure:15121: result: yes

configure:15143: checking for libtool

configure:15174: result: no

configure:15267: checking for Source Identity Token support

configure:15287: result: no

configure:15338: checking for OpenSSL library

configure:15436: error: /usr/include/openssl//include/openssl/opensslv.h
not found

 

##  ##

## Cache variables. ##

 

Regards,

Gaurav Kansal

 

-Original Message-
From: Jeremy C. Reed [mailto:jr...@isc.org] 
Sent: Friday, May 02, 2014 6:08 PM
To: Gaurav Kansal
Cc: bind-users@lists.isc.org
Subject: Re: Issues in configuring Bind 9.10 in CentOS 6.3 with --open-ssl

 

On Fri, 2 May 2014, Gaurav Kansal wrote:

 

 

The config.log debugging file should contain further details that may be
used to troubleshoot this. Please look in config.log for lines around
checking whether linking with OpenSSL works (and above ## Cache variables
## line).

___
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: Issues in configuring Bind 9.10 in CentOS 6.3 with --open-ssl

2014-05-02 Thread Jeremy C. Reed
On Fri, 2 May 2014, Gaurav Kansal wrote:

 Config.log doesn't showing any useful data to troubleshoot this.

 configure:15338: checking for OpenSSL library
 
 configure:15436: error: /usr/include/openssl//include/openssl/opensslv.h
 not found

You looked at config.log after you did a different ./configure run with 
the wrong --with-openssl=/usr/include/openssl/.

You want to run ./configure without the --with-openssl switch.

Then please look in config.log for lines around checking whether 
linking with OpenSSL works (and above ## Cache variables ## line).

(You don't have the checking whether linking with OpenSSL works in 
this output.)

 ##  ##
 
 ## Cache variables. ##
___
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: Issues in configuring Bind 9.10 in CentOS 6.3 with --open-ssl

2014-05-02 Thread Mukund Sivaraman
Hi Gaurav

On Fri, May 02, 2014 at 01:17:40PM +0530, Gaurav Kansal wrote:
 --with-openssl=/usr/include/openssl/

--with-openssl should not point to the include directory, but to the
prefix. Try --with-openssl=/usr or even just --with-openssl.

 checking for OpenSSL library... configure: error:
 /usr/include/openssl//include/openssl/opensslv.h not found

... as this error seems to confirm.

Mukund


pgpjAyMil0UXA.pgp
Description: PGP signature
___
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