help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pkg failed


From: Michael Goffioul
Subject: Re: pkg failed
Date: Mon, 15 Oct 2007 13:31:52 +0200

On 10/15/07, Tatsuro MATSUOKA <address@hidden> 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?

use -verbose flag with "pkg" command.

>
> ****************************
> 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
> /opt/octave/octave-2.9.15/shareoctave/2.9.15/m/pkg/pkg.m near line 1044, 
> column 2
> ************************
> in mkoctfile-2.9.15
>
> : ${CPPFLAGS="-I/opt/octave/gcc-3.4.4d/include 
> -I/opt/octave/octave-2.9.15/include"}
> : ${LDFLAGS="-L/opt/octave/gcc-3.4.4d/lib -L/opt/octave/octave-2.9.15/lib"}
>
> and
>
> in /opt/octave/octave-2.9.15/include
> ls /opt/octave/octave-2.9.15/include/ginac
> add.h         container.h    function.h  matrix.h     pseries.h     tinfos.h
> archive.h     ex.h           ginac.h     mul.h        ptr.h         version.h
> assertion.h   expair.h       hash_map.h  ncmul.h      registrar.h   wildcard.h
> basic.h       expairseq.h    idx.h       normal.h     relational.h
> class_info.h  exprseq.h      indexed.h   numeric.h    structure.h
> clifford.h    fail.h         inifcns.h   operators.h  symbol.h
> color.h       fderivative.h  integral.h  power.h      symmetry.h
> constant.h    flags.h        lst.h       print.h      tensor.h
>
> ls /opt/octave/octave-2.9.15/lib/libginac.a
> /opt/octave/octave-2.9.15/lib/libginac.a
>
> ****************************
> Mmmmmm What was wrong?

symbolic package now relies on pkg-config system to detect GiNaC.
This is because ginac-config script has been removed in 1.4.0 release
of GiNaC. IMO, the symbolic package should try both methods to
detect GiNaC (first pkg-config, then ginac-config). This will also be
a problem in my MSVC build.

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]