From help-octave-request at bevo dot che dot wisc dot edu Sat Jan 27 06:40:33 2001 Subject: Re: Error and strange message with plplot + Matwrap cannot parse plplot.h From: =?iso-8859-1?q?Ga=EBl=20Fraiteur?= To: Paul Kienzle Cc: help-octave at bevo dot che dot wisc dot edu Date: Sat, 27 Jan 2001 13:39:04 +0100 > Have you recompiled the package for use with octave 2.1? That will surely > cause problems if you haven't. Me, I have only used it with 2.0, so I > don't know. > > - Paul > > Paul Kienzle > pkienzle at kienzle dot powernet dot co dot uk > Yes, I recompiled, but I didn't notice that is did not work. I noticed the following problems with my Debian Linux: - massage generates a segmentation fault, so I chose to by-pass it - matwrap cannot parse the .h file. some declarations are not recognized - the message "error: can't perform indexing operations for type" is effectively due to the line "plplot_stub( );" because it call a script with parenthesis. Removing this ( ) resolves the problem - octave-plplot path should be located in front of LOADPATH, before "::", and should be terminated by "//". So, e.g. LOADPATH = /usr/share/octave-plplot//:::/usr/local/share/octave/matcompat21//:/usr/local/lib/octave/matcompat21// - since matwrap could not parse every function in the .h, some functions are missing, and octave-plplot does not work. -- Gaël Fraiteur ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------