[Pkg-octave-devel] Packages with PKG_ADD fial to build

Rafael Laboissiere rafael at debian.org
Sun Mar 30 09:33:38 UTC 2008


* Ólafur Jens Sigurðsson <ojsbug at gmail.com> [2008-03-29 02:05]:

> On Fri, Mar 28, 2008 at 10:51:25PM +0100, Rafael Laboissiere wrote:
> > I have already asked this in octave-dev, but got no reply.  Asking again here:
> > 
> > I cannot build correctly packages having PKG_ADD files at the top dir.  For
> > instance, octave-combinatorics fails with the following error message:
> > 
> > octave3.0 -f -H -q --no-site-file --eval                   \
> >         "addpath ('/usr/share/octave/debian/m', '-begin'); \
> >          pkg ('prefix', [pwd(),'/debian/octave-combinatorics/usr/share/octave/packages'],       \
> >               [pwd(),'/debian/octave-combinatorics/usr/lib/octave/packages']);          \
> >          pkg ('local_list', [pwd(),'.']);               \
> >          pkg ('global_list', [pwd(),'.']);              \
> >          pkg -verbose -nodeps install ."
> > error: `fullfile' undefined near line 1 column 22
> > error: evaluating argument list element number 2
> > error: near line 1 of file `./PKG_ADD'
> > error: source: error sourcing file `./PKG_ADD'
> 
> Executing this command in the shell (not using the debian build
> system) works fine on my computer. Using Octave Version: 1:3.0.0-5
> 
> So I cant imagine what is wrong here.

Are you sure you are launching the command above from the unpacked directory
were there is a PKG_ADD file?  From the unpacked octave-combinatorics
directory, with the debian stuff added, I get:

$ ls -l PKG_ADD
-rw-r--r-- 1 rafael rafael 84 Feb 16 10:14 PKG_ADD
$ octave3.0 -f -H -q --no-site-file --eval
         "addpath ('/usr/share/octave/debian/m', '-begin'); \
         pkg ('prefix', [pwd(),'/debian/octave-combinatorics/usr/share/octave/packages'],       \
         [pwd(),'/debian/octave-combinatorics/usr/lib/octave/packages']);          \
         pkg ('local_list', [pwd(),'.']);               \
         pkg ('global_list', [pwd(),'.']);              \
         pkg -verbose -nodeps install ."
error: `fullfile' undefined near line 1 column 22
error: evaluating argument list element number 2
error: near line 1 of file `./PKG_ADD'
error: source: error sourcing file `./PKG_ADD'

Thomas, could you please try this too?

-- 
Rafael



More information about the Pkg-octave-devel mailing list