Hi, 
Please send questions to the Octave-Forge mailing list 
as others might also be interested.

On 5 Aug 2012, at 09:03, ANTON UREVC wrote:

> Hej.
> 
> With compiling a package for Octave 3.4.3 on Ubuntu 11.10 a problem related 
> functions appear. With searching the web it seams that there is a problem 
> with c program. Error is included below.
>  
> Some information would be helpful.
> 
> Regards,
> Jocker
> 
> %
> pkg install optim-1.0.6.tar.gz
> warning: function /home/aurevc/octave/optim-1.0.6/fminbnd.m shadows a core 
> library function
> warning: function /home/aurevc/octave/optim-1.0.6/fminunc.m shadows a core 
> library function
> warning: function /home/aurevc/octave/optim-1.0.6/fzero.m shadows a core 
> library function
> warning: function /home/aurevc/octave/optim-1.0.6/optimset.m shadows a core 
> library function
> warning: /home/aurevc/octave/optim-1.0.6/LinearRegression.m: possible 
> Matlab-style short-circuit operator at line 40, column 17
> warning: /home/aurevc/octave/optim-1.0.6/LinearRegression.m: possible 
> Matlab-style short-circuit operator at line 45, column 16
> warning: function name `__poly_2_ex' does not agree with function file name 
> `/home/aurevc/octave/optim-1.0.6/__poly_2_extrema.m'
> warning: /home/aurevc/octave/optim-1.0.6/adsmax.m: possible Matlab-style 
> short-circuit operator at line 141, column 20
> warning: /home/aurevc/octave/optim-1.0.6/bfgsmin.m: possible Matlab-style 
> short-circuit operator at line 90, column 35
> warning: /home/aurevc/octave/optim-1.0.6/bfgsmin.m: possible Matlab-style 
> short-circuit operator at line 90, column 46
> warning: /home/aurevc/octave/optim-1.0.6/bfgsmin.m: possible Matlab-style 
> short-circuit operator at line 98, column 17
> warning: load_path: /home/aurevc/octave/optim-1.0.6: No such file or directory
> parse error near line 110 of file 
> /home/aurevc/octave/optim-1.0.6/brent_line_min.m
> 
>   syntax error
> 
> >>> nev++;
>       ^
> error: called from `gen_doc_cache>create_cache' in file 
> /usr/local/share/octave/3.4.3/m/help/gen_doc_cache.m near line 93, column 17

optim-1.0.6 is an old version of the package, why are you trying to install 
that version?
I don't get any errors when installing the newest version (1.2.0), if you want 
to install it
you can try 

pkg istall -forge optim

but in general on Linux systems it is recommended that you try installing 
packages with your system 
package manager, apt-get or synaptic in your case.

c.



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to