help-octave
[Top][All Lists]
Advanced

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

Re: "pkg" command not found


From: Søren Hauberg
Subject: Re: "pkg" command not found
Date: Wed, 07 Oct 2009 18:00:39 +0200

ons, 07 10 2009 kl. 08:57 -0700, skrev Brian Kaczynski:
> Installing the package from the Unix command-line sounds like the best idea.
> 
> Unfortunately, I only got through "configure."  When I try to "make all" 
> I get the following errors:
> 
> gsl-1.0.8 [65]% make all
> make[1]: Entering directory `/people/briankaz/gsl-1.0.8/src'
> /bin/sh buildgsl_sf.sh
> mkoctfile -DHAVE_OCTAVE_21 -v  coupling_3j.cc -lgsl
> g++ -c -fPIC -I/usr/include/octave-2.1.57 
> -I/usr/include/octave-2.1.57/octave -g -O2 -DHAVE_OCTAVE_21 
> coupling_3j.cc -o coupling_3j.o
> coupling_3j.cc: In function `octave_value_list Fcoupling_3j(const 
> octave_value_list&, int)':
> /usr/include/octave-2.1.57/octave/defun-int.h:36: error: too few 
> arguments to function `void print_usage(const std::string&, bool)'
> coupling_3j.cc:54: error: at this point in file
> /usr/include/octave-2.1.57/octave/defun-int.h:36: error: too few 
> arguments to function `void print_usage(const std::string&, bool)'
> coupling_3j.cc:64: error: at this point in file
> /usr/include/octave-2.1.57/octave/defun-int.h:36: error: too few 
> arguments to function `void print_usage(const std::string&, bool)'
> coupling_3j.cc:75: error: at this point in file
> make[1]: *** [coupling_3j.oct] Error 1
> make[1]: Leaving directory `/people/briankaz/gsl-1.0.8/src'
> make: *** [build] Error 2
> gsl-1.0.8 [66]%
> 
> Any ideas what else I'm missing?

This looks like the package in question is using parts of the API from
more recent version. So, if you really want to make the package work
with your old Octave version, you'll have to change the package source
code.

I think you're better of either running a more recent version of Octave
(even if that includes a lot of updates to your system), or running the
old monolithic version of Octave-Forge.

Søren



reply via email to

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