Quantcast

Image package installation fails with 64-bit indexing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Image package installation fails with 64-bit indexing

Fredrik Lingvall-3
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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/octave-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Image package installation fails with 64-bit indexing

Mike Miller
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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/octave-dev
Loading...