| Summary: | pgxwin_server not launched by when output device /xwindow is chosen | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | Joachim Frieben <jfrieben> |
| Component: | pgplot | Assignee: | Sergio Pascual <sergio.pasra> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P5 | ||
| Version: | 14 | ||
| Hardware: | x86_64 | ||
| OS: | GNU/Linux | ||
| namespace: | |||
I'm trying to reproduce your problem but I don't have a fedora 10 machine right now. Can you test this problem in a fedora 9 machine? I have recompilled the f10 rpm in fedora 9 and I can reproduce your problem. I will try to see what is happening I have resolved the problem. The patch that makes pgplot search for pgwin was different in fc10. I have reverted it to the f9 version and tested it in a f9 machine. I have sent a new build, please test it when it hits the testing repo. |
When running an application making use of PGPLOT and choosing output device /XWINDOW, no output will happen unless pgxwin_server* has been launched in advance by the user. Instead, the following error message is displayed: "Graphics device/type (? to see list, default /xwin): PGPLOT /xw: Couldn't find program "pgxwin_server" in the directory named PGPLOT /xw: in your PGPLOT_DIR environment variable, or in any directory PGPLOT /xw: listed in your PATH environment variable." This behaviour can be avoided by ensuring that pgxwin_server is found in the current PATH. Traditionally, figdisp* and pgxwin_server* used to live in /usr/bin/ or similar. In this case, they are launched automatically, e.g. when pgdemo1 is invoked. Currently, only /usr/libexec/pgplot/pgxwin_server is provided by pgplot-5.2.2-27.fc10, but this choice does not do the job unless /usr/libexec/pgplot is added to PATH explicitly. This behaviour does not depend on whether the binary has been linked dynamically or statically: a. Demo executables /usr/bin/pgdemo?* are not linked dynamically against the pgplot library. Yet, above error message appears. b. Some self-built test executable is dynamically linked against the (c)gpgplot libraries, ldd ./test | grep pg libcpgplot.so.5 => /usr/lib64/libcpgplot.so.5 (0x0000000000110000) libpgplot.so.5 => /usr/lib64/libpgplot.so.5 (0x0000000002bb5000) but in this case, the same error message is issued, too.