pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43995: security/gnutls failed to compile with error "-lreadline not found", though it was installed

>Number:         43995
>Category:       pkg
>Synopsis:       security/gnutls failed to compile with error "-lreadline not 
>found", though it was installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 22 18:00:00 +0000 2010
>Originator:     Volkmar Seifert
>Release:        NetBSD/sparc64 5.1_RC4
NetBSD 5.1_RC4 NetBSD 5.1_RC4 (GENERIC) #1: Tue Oct 
19 11:22:54 CEST 2010
First of all: I am using pkgsrc-current with nightly updates from cvs.

The problem:

security/gnutls was installed as one of many dependencies during the 
installation of www/midori on an almost fresh system with devel/readline having 
already been installed due to other packages.
While compiling security/gnutls, the above error mentioned occurred:

"-lreadline not found"

I double checked that it was installed, and even ran a make update on 
devel/readline, again re-checking that it was there. The error persisted.

I then checked security/gnutls' Makefile, and noticed that the was not there. I inserted it, and gave it a try after 
running make clean, with the result that security/gnutls now installed 
correctly, without complaining about not finding -lreadline.
Simply try to install security/gnutls. At least on my sparc64, it failed.
Here's the patch I applied to get it to work properly. I would have attached it 
as a file, had the form provided an appropriate possibility for this.

Index: Makefile
RCS file: /cvsroot/pkgsrc/security/gnutls/Makefile,v
retrieving revision 1.93
diff -u -r1.93 Makefile
--- Makefile    16 Oct 2010 16:43:42 -0000      1.93
+++ Makefile    22 Oct 2010 15:26:32 -0000
@@ -46,6 +46,7 @@

 .include "../../archivers/lzo/"
 .include "../../converters/libiconv/"
+.include "../../devel/readline/"
 .include "../../devel/gettext-lib/"
 .include "../../devel/libcfg+/"
 .include "../../devel/zlib/"

Home | Main Index | Thread Index | Old Index