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
Last Updated: 2019-05-04 10:19

Latest Comments

serxxx commented on 2021-04-06 00:24

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

keenerd commented on 2019-05-04 10:19

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

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

I've made some changes and now it works fine.


pkgdesc="A calculator similar to dc, but uses readline and shows the stack visually."
arch=('i686' 'x86_64')
makedepends=('bison' 'flex' 'gettext' 'ed')

build() {
cd "$srcdir/${pkgname}-1.36"
sed -i 's|ed .* proto.ed$|LANG=C &|' Makefile

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

Weird. Try the pkgbuild I just uploaded?

l3u commented on 2014-02-11 14:05

@keenerd : no, I have everything. After searching a bit, it seems it fails with my locale :

$ echo $LANG
$ yaourt -S rpncalc
ed -s - rpncalc.1 < proto.ed
==> ERREUR : Une erreur s’est produite dans build().
==> 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

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

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
Makefile:58: recipe for target 'rpncalc.1' failed
make: *** [rpncalc.1] Error 1
rm gram.c scan.c

Thanks !

keenerd commented on 2014-01-05 15:30

Please update the pkgbuild to meet modern standards.
Do not use $startdir/src, use $srcdir
Do not use || return 1
Move the 'make install' to a package() function.