help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem compiling dispatch.cc for octave 2.1.73 (i386-pc-solaris2.10


From: Paul Kienzle
Subject: Re: Problem compiling dispatch.cc for octave 2.1.73 (i386-pc-solaris2.10)
Date: Sat, 22 Jul 2006 18:34:03 -0400

Nikhil,

dispatch was removed from octave-forge in the latest release since
it has been added to octave 2.9.x.  You need to get an earlier release
of octave-forge for octave 2.1.73 support.

- Paul

On Jul 21, 2006, at 4:54 AM, Mulley, Nikhil wrote:

Hi,

Recently I got octave - 2.1.73 installed on my Solaris 10 system ,
compiled with a combination of Studio-11.0 Fortran compiler and GNU C++
compiler v3.4.3.

address@hidden:/u/mulleyn>/usr/local/octave-2.1.73/bin/octave
GNU Octave, version 2.1.73 (i386-pc-solaris2.10).
Copyright (C) 2006 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Additional information about Octave is available at
http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

octave:1>


I have a problem getting the octave-forge installed along with.
I put the following in my ~/.octaverc file

address@hidden:/u/mulleyn>cat .octaverc
LOADPATH = [
'/usr/local/octave-2.1.73//oct:/usr/local/octave-2.1.73///:', LOADPATH
];
EXEC_PATH = [ '/usr/local/octave-2.1.73//bin:', EXEC_PATH ];
address@hidden:/u/mulleyn>


And I get the following ...

address@hidden:/u/mulleyn>/usr/local/octave-2.1.73/bin/octave
GNU Octave, version 2.1.73 (i386-pc-solaris2.10).
Copyright (C) 2006 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Additional information about Octave is available at
http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

error: `dispatch' undefined near line 2 column 1
error: near line 2 of file `/usr/local/octave-2.1.73/comm//PKG_ADD'
error: source: error sourcing file
`/usr/local/octave-2.1.73/comm//PKG_ADD'
error: evaluating assignment expression near line 1, column 10
error: near line 1 of file `/u/mulleyn/.octaverc'
octave:1>


I assumed that this could be due to the lack of the dispatch
function/module in the octave installation and grabbed dispatch.cc from
the http://octave.sourceforge.net/index/index.html
When I tried to compile in the dispatch.cc with the mkoctfile, I get the
following..

address@hidden:/u/mulleyn>mkoctfile dispatch.cc -DHAVE_CONFIG_H
dispatch.cc: In function `octave_value_list Fbuiltin(const
octave_value_list&, int)':
/usr/local/octave-2.1.73/include/octave-2.1.73/octave/defun-int.h:37:
error: too few arguments to function `void print_usage(const
std::string&, bool)'
dispatch.cc:328: error: at this point in file
dispatch.cc: In function `octave_value_list Fdispatch(const
octave_value_list&, int)':
/usr/local/octave-2.1.73/include/octave-2.1.73/octave/defun-int.h:37:
error: too few arguments to function `void print_usage(const
std::string&, bool)'
dispatch.cc:450: error: at this point in file
address@hidden:/u/mulleyn>


I tried hard in understanding what this could mean. It would be of real
great help if you could please let me know the fixes.

Thanks in advance,
Nikhil


_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]