Package Details: pgplot 5.2.2-8

Git Clone URL: https://aur.archlinux.org/pgplot.git (read-only, click to copy)
Package Base: pgplot
Description: Fortran- or C-callable, device-independent graphics package for making simple scientific graphs.
Upstream URL: http://www.astro.caltech.edu/~tjp/pgplot/
Licenses: custom
Submitter: Snowman
Maintainer: None
Last Packager: micwoj92
Votes: 19
Popularity: 0.078662
First Submitted: 2006-07-09 01:10 (UTC)
Last Updated: 2024-10-01 12:56 (UTC)

Latest Comments

1 2 3 Next › Last »

micwoj92 commented on 2025-11-24 16:25 (UTC)

Build fails:

cpgvsiz.c: In function ‘cpgvsiz’: cpgvsiz.c:6:3: error: too many arguments to function ‘pgvsiz_’; expected 0, have 4     6 |   pgvsiz_(&xleft, &xright, &ybot, &ytop);       |   ^~~~~~~ ~~~~~~ cpgvsiz.c:2:13: note: declared here     2 | extern void pgvsiz_();       |             ^~~~~~~ cpgwedg.c: In function ‘cpgwedg’: cpgwedg.c:9:3: error: too many arguments to function ‘pgwedg_’; expected 0, have 8     9 |   pgwedg_((char *)side, &disp, &width, &fg, &bg, (char *)label, len_side, len_label);       |   ^~~~~~~ ~~~~~~~~~~~~ cpgwedg.c:3:13: note: declared here     3 | extern void pgwedg_();       |             ^~~~~~~ cpgwnad.c: In function ‘cpgwnad’: cpgwnad.c:6:3: error: too many arguments to function ‘pgwnad_’; expected 0, have 4     6 |   pgwnad_(&x1, &x2, &y1, &y2);       |   ^~~~~~~ ~~~ cpgwnad.c:2:13: note: declared here     2 | extern void pgwnad_();       |             ^~~~~~~ make: *** [makefile:903: libcpgplot.a] Error 1 ==> ERROR: A failure occurred in build().     Aborting... 

micwoj92 commented on 2024-10-01 12:58 (UTC)

Fixed.

Vedant36 commented on 2024-08-04 10:17 (UTC)

adding the following to build() fixes the problem mentioned by micwoj92

  sed -i '23i#include <string.h>' sys/grfileio.c   sed -i '23i#include <unistd.h>' sys/grfileio.c   sed -i '10i#include <string.h>' sys/grtermio.c   sed -i '10i#include <fcntl.h>' sys/grtermio.c   sed -i '10i#include <unistd.h>' sys/grtermio.c 

I'm using pgplot for NEMO and it's able to run it fine after installing it with the above changes

micwoj92 commented on 2024-05-31 16:26 (UTC)

Fails to build with gcc 14

gcc -c -Wall -fPIC -DPG_PPU -O -I. ./sys/grfileio.c ./sys/grfileio.c: In function ‘grofil_’: ./sys/grfileio.c:82:5: error: implicit declaration of function ‘strncpy’ [-Wimplicit-function-declaration]    82 |     strncpy(buff, name, slen);       |     ^~~~~~~ ./sys/grfileio.c:23:1: note: include ‘<string.h>’ or provide a declaration of ‘strncpy’    22 | #include <fcntl.h>   +++ |+#include <string.h>    23 |  ./sys/grfileio.c:82:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ [-Wbuiltin-declaration-mismatch]    82 |     strncpy(buff, name, slen);       |     ^~~~~~~ ./sys/grfileio.c:82:5: note: include ‘<string.h>’ or provide a declaration of ‘strncpy’ ./sys/grfileio.c: In function ‘grcfil_’: ./sys/grfileio.c:129:12: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration]   129 |     return close(*fd);       |            ^~~~~       |            pclose ./sys/grfileio.c: In function ‘grwfil_’: ./sys/grfileio.c:158:10: error: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration]   158 |   return write(*fd, (void *) buf, *nbytes);       |          ^~~~~       |          fwrite make: *** [makefile:557: grfileio.o] Error 1 ==> ERROR: A failure occurred in build().     Aborting... 

micwoj92 commented on 2021-05-14 07:49 (UTC)

Oh, today it just loaded, yesterday it was just loading and loading for couple minutes. btw I was talking about homepage, download worked for me fine.

haawda commented on 2021-05-13 11:59 (UTC)

Download and build both work fine here.

micwoj92 commented on 2021-05-13 07:31 (UTC)

Homepage 404

AstroFloyd commented on 2019-07-27 11:21 (UTC)

Apologies for the delay. I'm not a Perl user myself - is this due to the absence of the demo programs (in other words, does it work with your own Perl code)?

ng0177 commented on 2019-06-17 18:34 (UTC)

I get this error despite of all recent packages installed.

pdl> demo pgplot Undefined subroutine &PDL::Demos::PGPLOT_demo::run called at /usr/bin/site_perl/perldl line 453, <STDIN> line 2. at /usr/bin/site_perl/perldl line 453, <STDIN> line 2. main::demo("pgplot") called at (eval 68) line 4 main::ANON() called at /usr/bin/site_perl/perldl line 719 eval {...} called at /usr/bin/site_perl/perldl line 719 main::eval_and_report("demo 'pgplot'\x{a}") called at /usr/bin/site_perl/perldl line 655 main::process_input() called at /usr/bin/site_perl/perldl line 675 eval {...} called at /usr/bin/site_perl/perldl line 675

Universebenzene commented on 2016-11-20 17:28 (UTC)

BTW, why not install the pgdemos with the package? I think It's a good idea to check it with the demos after installing.