[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Announce: New graphics package, PLplot_octave
From: |
Ted Harding |
Subject: |
Re: Announce: New graphics package, PLplot_octave |
Date: |
Mon, 06 Apr 1998 15:17:28 +0100 (BST) |
On 06-Apr-98 Joao Cardoso wrote:
>> There is a problem: "make" on plplot bombs out unable to find "./pltclgen"
>> which in fact is in .../bindings/tcl/ (I think "make" is in .../tmp at this
>> point).
>
> My fault... (asctually plplot developpers). Edit `pltclgen' and provide
> a path to your perl. If you are using Linux, it must be at
> /usr/bin/perl.
*** There is another problem after that one was solved: "make" bombs after a
short while with
cd tmp; make default
make[1]: Entering directory `/root/plplot-octave/plplot/plplot-961023/tmp'
make[1]: *** No rule to make target `stupidtk.c', needed by `stupidtk.o'. Stop.
make[1]: Leaving directory `/root/plplot-octave/plplot/plplot-961023/tmp'
make: *** [all] Error 2
I seem to have solved it with
/root/plplot-octave/plplot/plplot-961023 # cp bindings/tk/stupidtk.c tmp
from the plplot-961023 directory that the tar file unpacks into. However, this
is not the correct solution which is to mend the Makefile!
*** Having done that, there is yet another problem!
After "make cdemos", many C functions compile to .o and then
gcc -c -DDOUBLE -O x17c.c
x17c.c:33: poll.h: No such file or directory
make[1]: *** [x17c.o] Error 1
make[1]: Leaving directory `/root/plplot-octave/plplot/plplot-961023/tmp'
make: *** [cdemos] Error 2
I solved this one by editing examples/c/x17c.c to change
#include <poll.h>
to
#include <.usr/include/sys/poll.h>
since that's where my (S.u.S.E-5.1 Linux) system has it ...
*** And, having done that, there's still another problem:
The library libplplotdX.so.4.99 gets into
/usr/local/plplot/lib/libplplotdX.so.4.99
but when you try to run the cdemos you get, for each demo:
./x01c: can't load library 'libplplotdX.so.4.99'
etc. I haven't solved this one yet ... (tried running ldconfig)
Best wishes,
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Date: 06-Apr-98 Time: 15:17:28
--------------------------------------------------------------------