Package Details: rpncalc 1.36.8-3

Git Clone URL: (read-only, click to copy)
Package Base: rpncalc
Description: A calculator similar to dc, but uses readline and shows the stack visually.
Upstream URL:
Licenses: GPL2
Submitter: None
Maintainer: keenerd
Last Packager: keenerd
Votes: 11
Popularity: 0.000000
First Submitted: 2009-05-05 17:09 (UTC)
Last Updated: 2019-05-04 10:19 (UTC)

Latest Comments

1 2 Next › Last »

serxxx commented on 2022-09-07 18:27 (UTC)

@afoht Thanks for that, BTW.

AfoHT commented on 2022-04-01 09:58 (UTC)

I've patched it so it builds, to use it modify PKGBUILD:

  • change to the already included source
  • bump version to 1.36.10
  • md5sum should be a44b2a00d4727972213b917714292fa3 (or just --skipchecksums)
  • for each "$srcdir/$pkgname" in prepare()/build()/package() change to "$srcdir/$pkgname-$pkgver"

serxxx commented on 2021-04-06 00:24 (UTC)

Does this package build for anyone anymore? I'm getting multiple definition errors during compilation.

keenerd commented on 2019-05-04 10:19 (UTC)

Oddly enough this isn't the first time this happened. The changelog shows that pow10 was removed from libc in 1997, and an update was required.

I don't think these patches are big enough to justify switching to a forked source. Possibly is in the future, as more accumulate. Thank you for your work.

AfoHT commented on 2019-05-03 17:51 (UTC) (edited on 2019-05-03 18:55 (UTC) by AfoHT)

I have had issues with undefined reference to pow10, see: (1)

Based on the Changelog of glibc 2.27 it seems they completely dropped pow10:

* The libm functions pow10, pow10f and pow10l are no longer supported for
  new programs.  Programs should use the standard names exp10, exp10f and
  exp10l for these functions instead."

I have implemented this change and also provided an updated PKGBUILD in (2).

Trivia: Today is 10 years after the last release by David Frey.



nashgul commented on 2016-03-22 08:14 (UTC)

I've made some changes and now it works fine. ## PKGBUILD pkgname=rpncalc pkgver=1.36.6 pkgrel=2 pkgdesc="A calculator similar to dc, but uses readline and shows the stack visually." arch=('i686' 'x86_64') url="" license=('GPL2') depends=('readline') makedepends=('bison' 'flex' 'gettext' 'ed') source=("${url}/${pkgname}_${pkgver}.tar.gz") md5sums=('ccb438bd269f3aa42c607670eb2977ef') build() { cd "$srcdir/${pkgname}-1.36" sed -i 's|ed .* proto.ed$|LANG=C &|' Makefile make } package() { cd "$srcdir/${pkgname}-1.36" make DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et:

keenerd commented on 2014-02-11 15:02 (UTC)

Weird. Try the pkgbuild I just uploaded?

l3u commented on 2014-02-11 14:05 (UTC)

@keenerd : no, I have everything. After searching a bit, it seems it fails with my locale : $ echo $LANG fr_FR.UTF-8 $ yaourt -S rpncalc ... ed -s - rpncalc.1 < proto.ed ... ==> ERREUR : Une erreur s’est produite dans build(). Abandon... ==> ERREUR: Makepkg n'a pas pu construire rpncalc. $ export LANG=C $ yaourt -S rpncalc ... (1/1) reinstalling rpncalc $ This is not related to your package but comes from upstream. I tried with the sources, same punishment.

keenerd commented on 2014-02-10 14:13 (UTC)

Sounds like you are missing one or more packages from the base/base-devel groups. Take a look at

l3u commented on 2014-02-10 10:07 (UTC)

Build currently fails for me : sed -e "s/\\\$Date.*\\\$/`date +'%B %-d, %Y'`/g" rpncalc.1.sed > rpncalc.1 ed -s - rpncalc.1 < proto.ed %CMDS% ? Makefile:58: recipe for target 'rpncalc.1' failed make: *** [rpncalc.1] Error 1 rm gram.c scan.c Thanks !