From: Fredrik L. <fre...@gm...> - 2012-09-02 12:22:45
|
Hi all, I have Octave configured with --enable-64 and I can't get the image package to build with this setup: octave:6> pkg install -forge image __spatial_filtering__.cc: In function 'ET_OUT entropy_filt(MT&, octave_idx_type, int) [with ET = octave_int<signed char>, MT = intNDArray<octave_int<signed char> >, ET_OUT = double, octave_idx_type = long int]': __spatial_filtering__.cc:558:9: instantiated from here __spatial_filtering__.cc:190:5: error: conversion from 'octave_int<signed char>' to 'long int' is ambiguous /usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:783:3: note: candidates are: octave_int<T>::operator float() const [with T = signed char] /usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:781:3: note: octave_int<T>::operator double() const [with T = signed char] /usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:777:3: note: octave_int<T>::operator T() const [with T = signed char] __spatial_filtering__.cc:192:5: error: conversion from 'octave_int<signed char>' to 'long int' is ambiguous /usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:783:3: note: candidates are: octave_int<T>::operator float() const [with T = signed char] /usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:781:3: note: octave_int<T>::operator double() const [with T = signed char] /usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:777:3: note: octave_int<T>::operator T() const [with T = signed char] __spatial_filtering__.cc: In function 'ET_OUT entropy_filt(MT&, octave_idx_type, int) [with ET = octave_int<unsigned char>, MT = intNDArray<octave_int<unsigned char> >, ET_OUT = double, octave_idx_type = long int]': __spatial_filtering__.cc:560:9: instantiated from here __spatial_filtering__.cc:190:5: error: conversion from 'octave_int<unsigned char>' to 'long int' is ambiguous /usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:783:3: note: candidates are: octave_int<T>::operator float() const [with T = unsigned char] /usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:781:3: note: octave_int<T>::operator double() const [with T = unsigned char] /usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:777:3: note: octave_int<T>::operator T() const [with T = unsigned char] __spatial_filtering__.cc:192:5: error: conversion from 'octave_int<unsigned char>' to 'long int' is ambiguous /usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:783:3: note: candidates are: octave_int<T>::operator float() const [with T = unsigned char] /usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:781:3: note: octave_int<T>::operator double() const [with T = unsigned char] /usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:777:3: note: octave_int<T>::operator T() const [with T = unsigned char] make: *** [__spatial_filtering__.oct] Error 1 'make' returned the following error: make: Entering directory `/tmp/oct-y3b3iW/image-1.0.15/src' mkoctfile -Wall __spatial_filtering__.cc make: Leaving directory `/tmp/oct-y3b3iW/image-1.0.15/src' error: called from `pkg>configure_make' in file /usr/share/octave/3.6.2/m/pkg/pkg.m near line 1384, column 9 error: called from: error: /usr/share/octave/3.6.2/m/pkg/pkg.m at line 826, column 5 error: /usr/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9 Is there a way to make this work or can I "disable" that the signal package (which is what I really want to install) depends on the image package? Regards, /Fredrik |
From: Mike M. <mtm...@ie...> - 2012-09-02 13:58:36
|
On Sun, Sep 2, 2012 at 8:22 AM, Fredrik Lingvall wrote: > Hi all, > > I have Octave configured with --enable-64 and I can't get the image > package to build with this setup: > > octave:6> pkg install -forge image > [...] > > Is there a way to make this work or can I "disable" that the signal > package (which is what I really want to install) depends on the image > package? Yes, simply add -nodeps to your pkg install command. BTW the next release of signal will no longer depend on image. -- mike |