bugGNU Octave - Bugs: bug #44179, octave forge image 2.2.2 fails to...

 
 

bug #44179: octave forge image 2.2.2 fails to build under dev octave

Submitter:  John Donoghue <lostbard>
Submitted:  Tue 03 Feb 2015 07:17:41 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  lostbard Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 03 Feb 2015 09:47:46 PM UTC, comment #4: 

But is the specified changeset the only one required to build the stable branch of image on octave dev? Or were other changes made on the default branch of image required?

Carnë Draug <carandraug>
Group Member
Tue 03 Feb 2015 07:39:50 PM UTC, comment #3: 

That worked! Thanks!

Mercurial version of image will compile ok with dev octave.

John Donoghue <lostbard>
Group Member
Tue 03 Feb 2015 07:39:42 PM UTC, comment #2: 

I believe this fixed with http://hg.code.sf.net/p/octave/image/rev/cda9868e7641

could you confirm that this indeed fixes it?

Also, I thought that image 2.4.0 would be released before octave 4.2.0 but with default merged into gui I am not so sure anymore. It might be worth graft that cset into the image stable branch and make a new release.

Carnë Draug <carandraug>
Group Member
Tue 03 Feb 2015 07:26:17 PM UTC, comment #1: 

I think I had the same problem with an outdated autoconf-archive. Could you try clone the hg archive and then


cd octave-image/src
wget -O aclocal.m4 http://git.savannah.gnu.org/cgit/autoconf-archive.git/plain/m4/ax_cxx_compile_stdcxx_11.m4
cd ..
./bootstrap && cd src
./configure && cd ../..
tar czf image.tar.gz octave-image
octave --eval "pkg -verbose install image.tar.gz"


Andreas Weber <andy1978>
Group Member
Tue 03 Feb 2015 07:17:41 PM UTC, original submission:  


Failure using latest dev octave:


C:/Octave/Octave-3.9.0+/bin/mkoctfile-3.9.0+.exe --verbose imerode.cc strel.cc -o imerode.oct
g++ -c -I/home//mxe-octave-dev4-test/usr/i686-w64-mingw32/include  -IC:\Octave\Octave-3.9.0+\include\octav
e-3.9.0+\octave\.. -IC:\Octave\Octave-3.9.0+\include\octave-3.9.0+\octave -IC:\Octave\Octave-3.9.0+\include -mieee-fp -g -
O2 -pthread    imerode.cc -o imerode.o
imerode.cc: In function 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&)':
imerode.cc:255:68: error: there are no arguments to 'ind2sub' that depend on a template parameter, so a declaration of 'in
d2sub' must be available [-fpermissive]
       Array<idx_vector> sub = ind2sub (nhood_size, idx_vector (ind));
                                                                    ^
imerode.cc:255:68: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name
 is deprecated)
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = boolNDArray; std::string = std::basic_string<char>]':
imerode.cc:333:81:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = intNDArray<octave_int<signed char> >; std::string = std::basic_string<char>]':
imerode.cc:335:81:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = intNDArray<octave_int<short int> >; std::string = std::basic_string<char>]':
imerode.cc:337:83:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = intNDArray<octave_int<int> >; std::string = std::basic_string<char>]':
imerode.cc:339:83:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = intNDArray<octave_int<long long int> >; std::string = std::basic_string<char>]':
imerode.cc:341:83:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = intNDArray<octave_int<unsigned char> >; std::string = std::basic_string<char>]':
imerode.cc:343:83:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = intNDArray<octave_int<short unsigned int> >; std::string = std::basic_string<char>]':
imerode.cc:345:85:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = intNDArray<octave_int<unsigned int> >; std::string = std::basic_string<char>]':
imerode.cc:347:85:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = intNDArray<octave_int<long long unsigned int> >; std::string = std::basic_string<char>]':
imerode.cc:349:85:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = FloatNDArray; std::string = std::basic_string<char>]':
imerode.cc:352:85:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = NDArray; std::string = std::basic_string<char>]':
imerode.cc:354:74:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = FloatComplexNDArray; std::string = std::basic_string<char>]':
imerode.cc:357:100:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
imerode.cc: In instantiation of 'octave_value erode(const T&, const octave::image::strel&, const string&, const bool&) [wi
th T = ComplexNDArray; std::string = std::basic_string<char>]':
imerode.cc:359:89:   required from here
imerode.cc:255:68: error: 'ind2sub' was not declared in this scope
make: *** [imerode.oct] Error 1
make: Leaving directory `/tmp/oct-afRVA8/image/src'

pkg: error running `make' for the image package.
error: called from 'configure_make' in file C:\Octave\Octave-3.9.0+\share\octave\3.9.0+\m\pkg\private\configure_make.m nea
r line 94, column 9
>>



John Donoghue <lostbard>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by andy1978 (Posted a comment)
  • -email is unavailable- added by lostbard (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-26 jordigh DependenciesRemoved dependency from bugs #44377 -
    2015-02-26 jordigh Dependencies- bugs #44377 is dependent
    2015-02-03 carandraug Open/ClosedOpen Closed
    2015-02-03 carandraug StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code