[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pkg failed
From: |
David Bateman |
Subject: |
Re: pkg failed |
Date: |
Mon, 15 Oct 2007 13:59:55 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
Tatsuro MATSUOKA wrote:
> The following was successfully build under octave-2.9.14 and
> octave-forge-bundle-20070821
> *****case1
> octave:4> pkg install -local audio-1.0.2.tar.gz
> error: value on right hand side of assignment is undefined
> error: called from `pkg:configure_make' in file
> /opt/octave/octave-2.9.15/share/octave/2.9.15/m/pkg/pkg.m near line 1098,
> column 9
> ********************
> What can I do to see the error in detail?
>
Try the "-verbose" flag to pkg.. In any case I suspect the issue can be
addressed with the attached patch, that I needed to build the
octave-forge website. If you need this patch it probably means that the
audio package probably doesn't help you much in any case...
> ****************************
> octave:4> pkg install -local symbolic-1.0.3.tar.gz
> make: *** [all] Error 1
> error: 'make' returned the following error: make: Entering directory
> `/tmp/oct-2d86c.2/symbolic-1.0.3/src'
> Ginac library or headers not found
> false
> make: Leaving directory `/tmp/oct-22d86c.2/symbolic-1.0.3/src'
> error: called from `pkg:configure_make' in file
>
So you have the ginac package installed, bur octave-forge isn't find it.
I suspect you are missing the pkg-config function that is used by the m4
macro and the libtool installation of ginac to determine the appropriate
flags for the ginac install..
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
Index: scripts/pkg/pkg.m
===================================================================
RCS file: /usr/local/cvsroot/octave/scripts/pkg/pkg.m,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- scripts/pkg/pkg.m 12 Oct 2007 21:27:23 -0000 1.63
+++ scripts/pkg/pkg.m 14 Oct 2007 19:28:42 -0000 1.64
@@ -1095,7 +1095,11 @@
endif
## Split into architecture dependent and independent files
- idx = cellfun (@(x) is_architecture_dependent (x), filenames);
+ if (isempty (filenames))
+ idx = [];
+ else
+ idx = cellfun (@(x) is_architecture_dependent (x), filenames);
+ endif
archdependent = filenames (idx);
archindependent = filenames (!idx);