Re: [Fink-users] Failed: phase installing: octave-forge-20071212-1005 failed

2007-12-26 Thread Dominique Dhumieres
> Do you have octave packages in your ~/octave/ directory?

I had only .octave_hist, but that was not the problem.

> ... were installed by octave-2 and their structure is perhaps incompatible
> with octave-3.

That was it but in /sw/share/octave/:

[pbook] /Users/dominiq% lf /sw/share/octave/
3.0.0/  ls-R  octave_packages  packages/  site/

I moved everything but 3.0.0 and ls-R and now octave-forge is building.

The cleaning should probably be done automatically or the user should
be warned to do it (her|him)self. 

Note that the problem occured also when launching octave.

Thanks for the help.

Dominique

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Failed: phase installing: octave-forge-20071212-1005 failed

2007-12-26 Thread Martin Costabel
Dominique Dhumieres wrote:
[]
> reading commands from /sw/share/octave/site/m/startup/octaverc ... done.
> error: structure has no member `archprefix'

Do you have octave packages in your ~/octave/ directory? If yes, I could 
imagine (but I have no experience with such objects at all) that they 
were installed by octave-2 and their structure is perhaps incompatible 
with octave-3.

-- 
Martin


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Failed: phase installing: octave-forge-20071212-1005 failed

2007-12-25 Thread Dominique Dhumieres
Updating to octave-forge-20071212-1005 failed on ppc OSX 10.4.11 with:

/bin/rm -rf /sw/src/fink.build/root-octave-forge-20071212-1005
/bin/mkdir -p /sw/src/fink.build/root-octave-forge-20071212-1005/sw
/bin/mkdir -p /sw/src/fink.build/root-octave-forge-20071212-1005/DEBIAN
/usr/sbin/chown -R root:admin /sw/src/fink.build/root-octave-forge-20071212-1005
/var/tmp/tmp.2.MZDg7S
#!/bin/bash -ev
export CPATH=/usr/X11R6/include:/sw/include
m=/sw/src/fink.build/root-octave-forge-20071212-1005/sw/`octave-config 
--m-site-dir|cut -f3- -d/`
octave-config --m-site-dir|cut -f3- -d/
o=/sw/src/fink.build/root-octave-forge-20071212-1005/sw/`octave-config 
--oct-site-dir|cut -f3- -d/`
octave-config --oct-site-dir|cut -f3- -d/
mkdir -p 
/sw/src/fink.build/root-octave-forge-20071212-1005/sw/share/octave/packages $m 
$o
echo "pkg prefix $m $o" > tmp
echo "pkg global_list 
/sw/src/fink.build/root-octave-forge-20071212-1005/sw/share/octave/octave_packages"
 >> tmp
echo "pkg install -verbose *.tar.gz" >> tmp
octave -V tmp
GNU Octave, version 3.0.0
Copyright (C) 2007 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "powerpc-apple-darwin8.11.0".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <[EMAIL PROTECTED]> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

reading commands from /sw/share/octave/site/m/startup/octaverc ... done.
error: structure has no member `archprefix'
error: evaluating argument list element number 1
error: evaluating assignment expression near line 1955, column 11
error: called from `pkg:getarchdir' in file `/sw/share/octave/3.0.0/m/pkg/pkg.m'
error: evaluating assignment expression near line 2035, column 12
error: evaluating for command near line 2029, column 3
error: called from `pkg:load_packages_and_dependencies' in file 
`/sw/share/octave/3.0.0/m/pkg/pkg.m'
error: called from `pkg:load_packages' in file 
`/sw/share/octave/3.0.0/m/pkg/pkg.m'
error: evaluating switch command near line 243, column 3
error: called from `pkg' in file `/sw/share/octave/3.0.0/m/pkg/pkg.m'
error: near line 20 of file `/sw/share/octave/3.0.0/m/startup/octaverc'
error: near line 1 of file `tmp'
reading commands from /sw/share/octave/3.0.0/m/startup/octaverc ... done.

### execution of /var/tmp/tmp.2.MZDg7S failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-octave-forge-20071212-1005
(Reading database ... 346659 files and directories currently installed.)
Removing fink-buildlock-octave-forge-20071212-1005 ...
Failed: phase installing: octave-forge-20071212-1005 failed

TIA

Dominique

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users