Re: can't compile lsh 1.5.3
Bennett Todd <[email protected]>
| Newsgroups | gmane.network.lsh.bugs |
|---|---|
| Message-ID | <[email protected]> |
2003-09-21T07:10:29 [email protected]: > I've tried to upgrade from lsh 1.5.2 to 1.5.3, but I can't compile the > new version. 1.5.2 compiles fine. > rsa-encrypt-test.o(.text+0x121): undefined reference to `gmp_fprintf' Is your gpm-devel package installed? Is it the same version that worked with 1.5.2? > Tried 1.4.3, too - doesn't work either: > argp-parse.c:1294: Internal compiler error in > add_abstract_origin_attribute, at dwarf2out.c:7985 > Please submit a full bug report. Yuckity yuck. Now I'd begin wondering if you've got an incipient hardware problem. Unless you've upgraded your dev environment a bit too far recently. The bpm[1] spec file I attach builds lsh-1.4.3 just fine on Red Hat 8, and with s/1.4.3/1.5.3/g it does lsh 1.5.3 fine as well. BTW, the resulting 1.5.3 doesn't croack on getting banged by dev/urandom. -Bennett [1] bpm is the package manager for a new Linux distro I'm working on, loosely inspired by rpm, but without the decade worth of accumulated cruft. The spec file is <URL:http://www.lua.org/> source defining a few public variables that bpm knows about: the pkg name, the source(s) where the input files come from, and the shell fragment to build the package. Still under development, but I think it makes simple human-readable documentation for how I'm building my software.
spec
(text/plain, 661 B)
pkg = "lsh-1.4.3";
url = "http://www.lysator.liu.se/~nisse/archive/lsh-1.4.3.tar.gz";
build = [[
tar xzvf lsh-1.4.3.tar.gz
cd lsh-1.4.3
LDFLAGS=-static ./configure --prefix=/usr --mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-srp --disable-kerberos --disable-pam \
--disable-datafellows-workarounds --disable-x11-forward \
--disable-agent-forward --disable-dependency-tracking
make
mkdir -p $BPM_ROOT/usr
make prefix=$BPM_ROOT/usr infodir=$BPM_ROOT/usr/share/info mandir=$BPM_ROOT/usr/share/man install
strip $BPM_ROOT/usr/sbin/* $BPM_ROOT/usr/bin/* || true
rm -f $BPM_ROOT/usr/share/info/dir
]]
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/beTPHZWg9mCTffwRAjkvAKCPU/qbtdzEmBKkxz4JymRwkO2V9gCeKno1 TxJ7dDYIZtFMvui77KwC8kM= =Warg -----END PGP SIGNATURE-----