help-octave
[Top][All Lists]
Advanced

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

Re: problem installing YAPSO


From: c.man
Subject: Re: problem installing YAPSO
Date: Tue, 8 Dec 2009 08:06:08 -0800 (PST)

ok...  but also not work.
I followed your suggeriment: I changed 

mlock("yinit");

to

  mlock ();

in 'src/yfunction.cc' in the 'yapso' source code.
After I maked a yapso-0.3.4 (with root permission) in
/usr/share/octave/packages/3.2/
After I called yapso installation:

 Octave :1 > pkg install yapso-0.3.4.tar.gz 
config.status: WARNING:  Makeconf.in seems to ignore the --datarootdir
setting
latextexture.cc: In member function ‘void LatexTexture::read_png()’:
latextexture.cc:148: warning: ignoring return value of ‘size_t fread(void*,
size_t, size_t, FILE*)’, declared with attribute warn_unused_result
Yapso is installed, but it is not loaded by default.
You need to load it with "pkg load yapso".
A demo is available by executing "yapso_demo".
warning: gen_doc_cache: unusable help text in 'test_levitus'. Ignoring
function.
warning: gen_doc_cache: unusable help text in 'yaxis'. Ignoring function.
warning: gen_doc_cache: unusable help text in 'ycaxis'. Ignoring function.
warning: gen_doc_cache: unusable help text in 'yimage'. Ignoring function.
warning: gen_doc_cache: unusable help text in 'yishold'. Ignoring function.
warning: gen_doc_cache: unusable help text in 'yscatter'. Ignoring function.
warning: gen_doc_cache: unusable help text in 'yscatter3'. Ignoring
function.
warning: gen_doc_cache: unusable help text in 'yshading'. Ignoring function.
warning: gen_doc_cache: unusable help text in 'ysubplot'. Ignoring function.
warning: gen_doc_cache: unusable help text in 'ytext'. Ignoring function.
warning: gen_doc_cache: unusable help text in 'yxlabel'. Ignoring function.
warning: gen_doc_cache: unusable help text in 'yylabel'. Ignoring function.
warning: gen_doc_cache: unusable help text in 'yzlabel'. Ignoring function.

So,if I write:

pkg load yapso

yapso_demo

octave crash. Are there anothers problems ?




Søren Hauberg wrote:
> 
> tir, 08 12 2009 kl. 01:47 -0800, skrev c.man:
>> ok I Installed freeglut3.... (there isn't freeglut3-dev)
>> Now, the messages error is:
>> 
>> Octave :1 > pkg install yapso-0.3.4.tar.gz 
>> config.status: WARNING:  Makeconf.in seems to ignore the --datarootdir
>> setting
>> /usr/include/octave-3.2.2/octave/variables.h: In function
>> ‘octave_value_list
>> Fyinit(const octave_value_list&, int)’:
>> /usr/include/octave-3.2.2/octave/variables.h:123: error: too many
>> arguments
>> to function ‘void mlock()’
> 
> This looks like a bug in 'yapso'. Looking at the 'yapso' web site, I see
> that the package has not been tested with Octave 3.2.x. I guess that
> some internals of Octave has changed making an update in 'yapso'
> necessary. This problems should be reported to the 'yapso' developers (a
> mailing list is mentioned on the 'yapso' web site, so I'd use that).
> 
> The specific problem you are encountering can be easily solved by
> changing
> 
>   mlock("yinit");
> 
> to
> 
>   mlock ();
> 
> in 'src/yfunction.cc' in the 'yapso' source code. I don't know if that
> will be enough to install the package, though.
> 
> Søren
> 
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 
> 


-----



---------------------------------------------------------------------
http://www.octave.netsons.org/ http://www.octave.netsons.org/ 
-- 
View this message in context: 
http://old.nabble.com/problem-installing-YAPSO-tp26682603p26696210.html
Sent from the Octave - General mailing list archive at Nabble.com.




reply via email to

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