pkgsrc-Bugs archive

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

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



The following reply was made to PR pkg/43995; it has been noted by GNATS.

From: "Volkmar Seifert" <vs%nifelheim.info@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/43995: security/gnutls failed to compile with error
 "-lreadline not found", though it was installed
Date: Mon, 25 Oct 2010 21:05:00 +0200

 ------=_20101025210459_23199
 Content-Type: text/plain; charset="iso-8859-1"
 Content-Transfer-Encoding: 8bit
 
 
 
 
 
 
 Sorry for the previous mail-flood - won't happen again.
 
 >  >  I don't know whether readline support for gnutls is useful or not,
 >  >  but how about followings?
 >  >
 >  >  CONFIGURE_ENV+= --without-libreadline-prefix
 >
 >  I will give it a shot with your line above, expecting it to compile and
 >  work normally, and report back when it's done.
 
 I removed my line
 
 ".include "../../devel/readline/buildlink3.mk""
 
 and tried adding your line to security/gnutls/Makefile. It failed in the
 "make configure" phase with the following error:
 
 
 => Fixing locale directory references.
 env: --without-libreadline-prefix: No such file or directory
 *** Error code 127
 
 
 
 I then tried the following line:
 
 CONFIGURE_ARGS+= --without-libreadline-prefix
 
 This time "make configure" ran through, and during "make build" it failed
 like the first time:
 
 /bin/sh ../libtool --tag=CC   --mode=link cc -std=gnu99   -mcpu=ultrasparc
 -mtune=ultrasparc -m64 -O3 -funroll-loops -fomit-frame-pointer
 -I/usr/pkg/include -I/usr/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
 -L/usr/lib -Wl,-R/usr/lib -o certtool certtool.o prime.o
 ../lib/libgnutls.la ../libextra/libgnutls-extra.la libcmd-certtool.la
 ../gl/libgnu.la -L/usr/pkg/lib -lgcrypt -L/usr/pkg/lib -lgpg-error
 -L/usr/lib -lintl -R/usr/pkg/lib -lcfg+
 libtool: link: cc -std=gnu99 -mcpu=ultrasparc -mtune=ultrasparc -m64 -O3
 -funroll-loops -fomit-frame-pointer
 -I/home/pkgwork/security/gnutls/work/.buildlink/include -Wl,-R/usr/pkg/lib
 -o .libs/certtool certtool.o prime.o 
 -L/home/pkgwork/security/gnutls/work/gnutls-2.10.2/lib/.libs
 -L/home/pkgwork/security/gnutls/work/gnutls-2.10.2/libextra/.libs
 -L/home/pkgwork/security/gnutls/work/.buildlink/lib
 ../lib/.libs/libgnutls.so ../libextra/.libs/libgnutls-extra.so
 ./.libs/libcmd-certtool.a -lreadline -ltermcap
 
/home/pkgwork/security/gnutls/work/gnutls-2.10.2/libextra/.libs/libgnutls-extra.so
 /home/pkgwork/security/gnutls/work/gnutls-2.10.2/lib/.libs/libgnutls.so
 /home/pkgwork/security/gnutls/work/.buildlink/lib/libtasn1.so -lz
 ../gl/.libs/libgnu.a
 /home/pkgwork/security/gnutls/work/.buildlink/lib/libgcrypt.so
 /home/pkgwork/security/gnutls/work/.buildlink/lib/libgpg-error.so -lintl
 /home/pkgwork/security/gnutls/work/.buildlink/lib/libcfg+.so -Wl,-rpath
 -Wl,/usr/pkg/lib -Wl,-rpath
 -Wl,/home/pkgwork/security/gnutls/work/.buildlink/lib
 ld: cannot find -lreadline
 
 
 So it seems to me that my previous patch is the only solution, as gnutls's
 configure-script does not offer to turn off readline-support.
 
 It would pull in readline as a dependency, too, if not already installed
 anyway, so I think it's the cleanest solution.
 
 I have applied the patch as a file again, so you needn't pull it out of
 the initial post.
 
 
 - Volkmar
 
 -- 
 http://blog.nifelheim.info/tech
 ------=_20101025210459_23199
 Content-Type: application/octet-stream; name="patch"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="patch"
 
 SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
 PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9jdnNyb290L3BrZ3NyYy9zZWN1
 cml0eS9nbnV0bHMvTWFrZWZpbGUsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuOTMKZGlmZiAtdSAt
 cjEuOTMgTWFrZWZpbGUKLS0tIE1ha2VmaWxlCTE2IE9jdCAyMDEwIDE2OjQzOjQyIC0wMDAwCTEu
 OTMKKysrIE1ha2VmaWxlCTIyIE9jdCAyMDEwIDE1OjI2OjMyIC0wMDAwCkBAIC00Niw2ICs0Niw3
 IEBACiAKIC5pbmNsdWRlICIuLi8uLi9hcmNoaXZlcnMvbHpvL2J1aWxkbGluazMubWsiCiAuaW5j
 bHVkZSAiLi4vLi4vY29udmVydGVycy9saWJpY29udi9idWlsZGxpbmszLm1rIgorLmluY2x1ZGUg
 Ii4uLy4uL2RldmVsL3JlYWRsaW5lL2J1aWxkbGluazMubWsiCiAuaW5jbHVkZSAiLi4vLi4vZGV2
 ZWwvZ2V0dGV4dC1saWIvYnVpbGRsaW5rMy5tayIKIC5pbmNsdWRlICIuLi8uLi9kZXZlbC9saWJj
 ZmcrL2J1aWxkbGluazMubWsiCiAuaW5jbHVkZSAiLi4vLi4vZGV2ZWwvemxpYi9idWlsZGxpbmsz
 Lm1rIgo=
 ------=_20101025210459_23199--
 


Home | Main Index | Thread Index | Old Index