[Issues] [mod_gnutls 0000104]: unable to build 0.5.5 on centos5 x64
Mantis Bug Tracker
issues at outoforder.cc
Mon Jul 5 03:28:08 EDT 2010
The following issue has been RESOLVED.
======================================================================
http://issues.outoforder.cc/view.php?id=104
======================================================================
Reported By: jason lam
Assigned To: nmav
======================================================================
Project: mod_gnutls
Issue ID: 104
Category: Compile or Build
Reproducibility: always
Severity: block
Priority: normal
Status: resolved
Apache Version: httpd.x86_64
2.2.3-31.el5.centos.2
Resolution: unable to reproduce
Fixed in Version:
======================================================================
Date Submitted: 2010-01-05 15:01 EST
Last Modified: 2010-07-05 03:28 EDT
======================================================================
Summary: unable to build 0.5.5 on centos5 x64
Description:
1. i have gnutls 1.4 installed via yum ( on /usr )
details:
# yum list gnutls-devel gnutls
Installed Packages
gnutls.x86_64 1.4.1-3.el5_3.5 installed
gnutls.i386 1.4.1-3.el5_3.5 installed
gnutls-devel.i386 1.4.1-3.el5_3.5 installed
gnutls-devel.x86_64 1.4.1-3.el5_3.5 installed
2. also have latest gnutls 2.8.5 installed via configure/make/make install
( on /usr/local )
3. if i compile with this command:
./configure --with-apxs=/usr/sbin/apxs --with-libgnutls-prefix=/usr
--with-apr-memcache-prefix=/usr
it gave this error:
checking for libgnutls - version >= 2.4.0...
*** LIBGNUTLS header file (version 2.8.5) does not match
*** library (version 1.4.1)
configure: error:
***
*** libgnutls was not found. You may want to get it from
*** http://www.gnutls.org/
***
4. if i compile with this command: ( use 2.8.5 version )
./configure --with-apxs=/usr/sbin/apxs --with-libgnutls-prefix=/usr/local
--with-apr-memcache-prefix=/usr
it gave another error:
checking for libgnutls - version >= 2.4.0... ./configure: line 11983:
/usr/local/bin/pkg-config: No such file or directory
./configure: line 11984: /usr/local/bin/pkg-config: No such file or
directory
./configure: line 11985: /usr/local/bin/pkg-config: No such file or
directory
no
*** Could not run libgnutls test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means LIBGNUTLS was incorrectly
installed
*** or that you have moved LIBGNUTLS since it was installed. In the latter
case, you
*** may want to edit the pkg-config script: /usr/local/bin/pkg-config
configure: error:
***
*** libgnutls was not found. You may want to get it from
*** http://www.gnutls.org/
***
so i cannot compile it.
======================================================================
----------------------------------------------------------------------
(0000209) msierks (reporter) - 2010-05-05 17:05
http://issues.outoforder.cc/view.php?id=104#c209
----------------------------------------------------------------------
Your issue is caused because libgnutils-config was deprecated in gnutls
2.8. So the configure.ac script must be modified to handle gnutls
differently. Unfortunately I dont have access to mod_gnutls subversion
nore know where it is located as the link is broken. But the fix I found
goes something along the lines of this.
dnl Look for GnuTLS
PKG_CHECK_MODULES(GNUTLS, gnutls >= 2.4.0)
AC_SUBST(GNUTLS_CFLAGS)
AC_SUBST(GNUTLS_LIBS)
----------------------------------------------------------------------
(0000212) nmav (manager) - 2010-07-05 03:28
http://issues.outoforder.cc/view.php?id=104#c212
----------------------------------------------------------------------
The problem is with the header files on your system. You probably have
mixed a custom installation of gnutls with the old system installation.
Issue History
Date Modified Username Field Change
======================================================================
2010-01-05 15:01 jason lam New Issue
2010-01-05 15:01 jason lam Apache Version => httpd.x86_64
2.2.3-31.el5.centos.2
2010-05-05 16:55 msierks Note Added: 0000208
2010-05-05 17:01 msierks Note Edited: 0000208
2010-05-05 17:01 msierks Note Deleted: 0000208
2010-05-05 17:05 msierks Note Added: 0000209
2010-07-05 03:28 nmav Note Added: 0000212
2010-07-05 03:28 nmav Status new => resolved
2010-07-05 03:28 nmav Resolution open => unable to
reproduce
2010-07-05 03:28 nmav Assigned To => nmav
======================================================================
More information about the Issues
mailing list