Hi Carnë

Carnë Draug wrote:
> On 12 March 2012 19:47, Philip Nienhuis<pr.nienh...@hccnet.nl>  wrote:
>> Carnė Draug wrote:
>>> I have just read that you're preparing a new release of the io
>>> package. I'm right now preparing a new release of the miscellaneous
>>> package and there's two functions that I believe would fit better on
>>> the IO package. They are xmlread and xmlwrite
< + later added: csv2cell, cell2csv, csvconcat, csvexplode >
:
<snip>
:
>> If you want you can commit all five to the respective dirs. Note that since
>> (I think) io-1.0.15 there's no more ./src subdir so it has to be re-created.
>> If you find it too much work I can do it as well.
>
> I can take care of this. When are you planning the release then? Also,
> maybe the new release should be 1.1.0 since there's quite a changes.

Thanks for moving the six files + Makefile into the io package.

I'm preparing a new release (1.0.18) right now, and I hit some trouble.

Under Windows using Octave-3.6.1_MinGW, the new release installs just fine.
However, under Linux (Octave-3.6.1 release on Mandriva 2010.2), it 
doesn't create the required directories when run as non-root:

octave:1> pkg install -verbose -auto io-1.0.18.tar.gz
mkdir (/tmp/oct-fOh9mw)
untar (io-1.0.18.tar.gz, /tmp/oct-fOh9mw)
<...snip some warnings...>
mkoctfile -Wall csvexplode.cc
mkoctfile -Wall csv2cell.cc
mkoctfile -Wall csvconcat.cc
mkoctfile -Wall cell2csv.cc
mkoctfile -Wall -c xmlread.cc
mkoctfile -Wall -c xmltree_read.c
mkoctfile -Wall -c xmltree.c
mkoctfile -Wall xmlread.o xmltree_read.o xmltree.o
make: Leaving directory `/tmp/oct-fOh9mw/io/src'
copyfile /tmp/oct-fOh9mw/io/src/cell2csv.oct 
/tmp/oct-fOh9mw/io/src/csv2cell.oct /tmp/oct-fOh9mw/io/src/csvconcat.oct 
/tmp/oct-fOh9mw/io/src/csvexplode.oct /tmp/oct-fOh9mw/io/src/xmlread.oct 
/tmp/oct-fOh9mw/io/inst/i686-pc-linux-gnu-api-v48+
lines 1-13/13 (END)

## <so far so good, but then:>

warning: load_path: 
/home/philip/octave/io-1.0.18/i686-pc-linux-gnu-api-v48+: No such file 
or directory
`chk_spreadsheet_support' undefined near line 10 column 18
error: called from 
`/home/philip/octave/io-1.0.18/i686-pc-linux-gnu-api-v48+/PKG_ADD' in 
file /home/philip/octave/io-1.0.18/i686-pc-linux-gnu-api-v48+/PKG_ADD 
near line 10, column 16
error: called from:
error:   /usr/local/share/octave/3.6.1/m/pkg/pkg.m at line 869, column 5
error:   /usr/local/share/octave/3.6.1/m/pkg/pkg.m at line 383, column 9
octave:1>

As super user the io pkg installs OK.

I tried to update the linear-algebra package as ordinary user and that 
proceeds OK as well; so I conclude there's something wrong in the io pkg 
setup in the ./src subdir.
I compared with a few other pkgs containing binary files but I can't 
assess what's wrong.

(In the mean time I'ĺl proceed preparing the html stuff for the web site)

Philip

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to