[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inadequate/inconsisten 'help pkg' message; problems with downloading
From: |
Sergei Steshenko |
Subject: |
Re: inadequate/inconsisten 'help pkg' message; problems with downloading |
Date: |
Tue, 2 Aug 2011 01:52:02 -0700 (PDT) |
--- On Mon, 8/1/11, Sergei Steshenko <address@hidden> wrote:
> From: Sergei Steshenko <address@hidden>
> Subject: Re: inadequate/inconsisten 'help pkg' message; problems with
> downloading
> To: address@hidden
> Date: Monday, August 1, 2011, 8:33 PM
>
>
> --- On Mon, 8/1/11, Sergei Steshenko <address@hidden>
> wrote:
>
> > From: Sergei Steshenko <address@hidden>
> > Subject: Re: inadequate/inconsisten 'help pkg'
> message; problems with downloading
> > To: address@hidden
> > Date: Monday, August 1, 2011, 8:23 PM
> > I've file a bug: https://savannah.gnu.org/bugs/index.php?33924 .
> >
> > Regards,
> > Sergei.
> > _______________________________________________
> > Help-octave mailing list
> > address@hidden
> > https://mailman.cae.wisc.edu/listinfo/help-octave
> >
>
> Even more strange problems occur:
>
> "
> octave:1> pkg install -global -verbose
> struct-1.0.9.tar.gz
> mkdir (/tmp/oct-H2BVKu)
> untar (struct-1.0.9.tar.gz, /tmp/oct-H2BVKu)
> make: Entering directory
> `/tmp/oct-H2BVKu/struct-1.0.9/src'
> /mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/bin/mkoctfile-3.4.2
> -s arefields.cc
> /mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/bin/mkoctfile-3.4.2
> -s fields2cell.cc
> /mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/bin/mkoctfile-3.4.2
> -s fieldempty.cc
> /mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/bin/mkoctfile-3.4.2
> -s structcat.cc
> /mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/bin/mkoctfile-3.4.2
> -s cell2fields.cc
> make: Leaving directory `/tmp/oct-H2BVKu/struct-1.0.9/src'
> copyfile /tmp/oct-H2BVKu/struct-1.0.9/src/arefields.oct
> /tmp/oct-H2BVKu/struct-1.0.9/src/cell2fields.oct
> /tmp/oct-H2BVKu/struct-1.0.9/src/fieldempty.oct
> /tmp/oct-H2BVKu/struct-1.0.9/src/fields2cell.oct
> /tmp/oct-H2BVKu/struct-1.0.9/src/structcat.oct
> /tmp/oct-H2BVKu/struct-1.0.9/inst/i686-pc-linux-gnu-api-v45+
> warning: addpath: /home/qemu/octave/struct-1.0.6: No such
> file or directory
> octave:2>
> "
>
> -please pay attention to '6' in
>
> "
> warning: addpath: /home/qemu/octave/struct-1.0.6: No such
> file or directory
> "
>
> vs '9' in
>
> "
> pkg install -global -verbose struct-1.0.9.tar.gz
> ",
>
> i.e. tarball name and directory name do not match.
>
> Regards,
> Sergei.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>
The problem is due to existence of ~/.octave_packages from some previous
octave and its bundle versions.
Which manifests a fundamental design flaw - many packages are built
using 'mkoctfile', i.e. the packages are _binaries_ - specifically
related to coming with particular 'octave' version and installation
(paths are definitely specific to installation).
I.e. there should _not_ be a default possibility to run an old bundle.
The solution is trivial - the ~/.octave_packages entity should rather
be ~/.octave-<version>_packages one, e.g. ~/.octave-3.4.2_packages
or something like this.
'octave' knows its version, so it is not a problem for it to both create
and query such an entity.
Regards,
Sergei.
- inadequate/inconsisten 'help pkg' message; problems with downloading, Sergei Steshenko, 2011/08/01
- Re: inadequate/inconsisten 'help pkg' message; problems with downloading, Sergei Steshenko, 2011/08/02
- Re: inadequate/inconsisten 'help pkg' message; problems with downloading, Sergei Steshenko, 2011/08/02
- Re: inadequate/inconsisten 'help pkg' message; problems with downloading, Sergei Steshenko, 2011/08/03
- Re: inadequate/inconsisten 'help pkg' message; problems with downloading, Sergei Steshenko, 2011/08/03
- Re: inadequate/inconsisten 'help pkg' message; problems with downloading, Sergei Steshenko, 2011/08/03
- Re: inadequate/inconsisten 'help pkg' message; problems with downloading, Sergei Steshenko, 2011/08/07
- Re: inadequate/inconsisten 'help pkg' message; problems with downloading, Sergei Steshenko, 2011/08/08
- Re: inadequate/inconsisten 'help pkg' message; problems with downloading, Sergei Steshenko, 2011/08/15