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
>Organization:
>Environment:
NetBSD hamster.home.nifelheim.info 5.1_RC4 NetBSD 5.1_RC4 (GENERIC) #1: Tue Oct
19 11:22:54 CEST 2010
build%panther.home.nifelheim.info@localhost:/build/work/sparc64/hamster/obj/build/src/sys/arch/sparc64/compile/GENERIC
sparc64
>Description:
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
readline-buildlink3.mk 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.
>How-To-Repeat:
Simply try to install security/gnutls. At least on my sparc64, it failed.
>Fix:
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/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libcfg+/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index