help-octave
[Top][All Lists]
Advanced

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

Re: [OctDev] finishing up new release of image package


From: Alexander Hansen
Subject: Re: [OctDev] finishing up new release of image package
Date: Mon, 01 Oct 2012 07:38:23 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120907 Thunderbird/15.0.1

On 10/1/12 6:43 AM, Lukas Reichlin wrote:
> 
> On 01.10.2012, at 13:23, Carnë Draug <address@hidden> wrote:
> 
>> On 1 October 2012 12:43, Lukas Reichlin <address@hidden> wrote:
>>> On 01.10.2012, at 11:01, Carnë Draug <address@hidden> wrote:
>>>> Hi everyone
>>>>
>>>> I've been preparing a new release of the image package. There's a lot
>>>> of changes on it, I think enough changes to be version 2.0.0.
>>>>
>>>> I would be great if people could give it a try and report any problems.
>>>>
>>>> Thanks,
>>>> Carnë
>>>>
>>>
>>> Hi Carnë
>>>
>>> I'll give it a try. Is there an option to download a tarball from the new 
>>> repository [1]? The old repository [2] has the link "Download GNU tarball" 
>>> at the bottom of the page. It was very convenient. Links without revision 
>>> numbers (11177 in [1]) wouldn't be bad either.
>>>
>>> Best regards,
>>> Lukas
>>>
>>>
>>> [1]
>>> http://sourceforge.net/p/octave/code/11177/tree/trunk/octave-forge/main/image/
>>>
>>> [2]
>>> http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/image/
>>
>> Upps. I uploaded the file to my server but forgot to give the link.
>> Please download it from
>>
>> http://carandraug.no-ip.org/octave/image-1.9.90.tar.gz
>>
>> As far as I know there's no way to download a tarball directly from
>> the new repository but I haven't had much time to try the new
>> SourceForge. There's a bunch of other things I don't like such as
>> being much slower, not being able to order by last modification,
>> really hard to change revision, incorrectly identifying text as binary
>> files...
>>
>> Carnë
> 
> 
> Hi Carnë
> 
> There are many warnings and one error, please see below. The C++ compiler is 
> clang from Apple's Xcode 4.5 on OS X 10.8.2.
> 
> Best regards,
> Lukas
> 
> 
> octave:5> pkg install image*
> In file included from __spatial_filtering__.cc:20:
> In file included from /sw/include/octave-3.6.3/octave/../octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> 1 warning generated.
> In file included from __bilateral__.cc:16:
> In file included from /sw/include/octave-3.6.3/octave/../octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> 1 warning generated.
> In file included from __custom_gaussian_smoothing__.cc:16:
> In file included from /sw/include/octave-3.6.3/octave/../octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> 1 warning generated.
> In file included from __boundary__.cc:21:
> In file included from /sw/include/octave-3.6.3/octave/../octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> 1 warning generated.
> In file included from bwlabel.cc:16:
> In file included from /sw/include/octave-3.6.3/octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> 1 warning generated.
> In file included from bwfill.cc:5:
> In file included from /sw/include/octave-3.6.3/octave/../octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> 1 warning generated.
> In file included from rotate_scale.cc:11:
> In file included from /sw/include/octave-3.6.3/octave/../octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> 1 warning generated.
> In file included from hough_line.cc:24:
> In file included from /sw/include/octave-3.6.3/octave/../octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> 1 warning generated.
> In file included from graycomatrix.cc:24:
> In file included from /sw/include/octave-3.6.3/octave/../octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> 1 warning generated.
> In file included from deriche.cc:6:
> In file included from /sw/include/octave-3.6.3/octave/../octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> 1 warning generated.
> In file included from __bwdist.cc:19:
> In file included from /sw/include/octave-3.6.3/octave/../octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> 1 warning generated.
> In file included from nonmax_supress.cc:16:
> In file included from /sw/include/octave-3.6.3/octave/../octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> 1 warning generated.
> In file included from bwlabeln.cc:19:
> In file included from /sw/include/octave-3.6.3/octave/oct.h:36:
> In file included from /sw/include/octave-3.6.3/octave/defun-dld.h:30:
> In file included from /sw/include/octave-3.6.3/octave/defun-int.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-builtin.h:28:
> In file included from /sw/include/octave-3.6.3/octave/ov-fcn.h:35:
> In file included from /sw/include/octave-3.6.3/octave/symtab.h:34:
> /sw/include/octave-3.6.3/octave/regexp.h:90:3: warning: 'opts' defined as a 
> struct here but previously declared as a
>       class [-Wmismatched-tags]
>   struct opts
>   ^
> /sw/include/octave-3.6.3/octave/regexp.h:40:3: note: did you mean struct here?
>   class opts;
>   ^~~~~
>   struct
> bwlabeln.cc:22:10: fatal error: 'unordered_map' file not found
> #include <unordered_map>
>          ^
> 1 warning and 1 error generated.
> make: *** [bwlabeln.oct] Error 1
> 'make' returned the following error: mkoctfile -Wall __spatial_filtering__.cc
> mkoctfile -Wall __bilateral__.cc
> mkoctfile -Wall __custom_gaussian_smoothing__.cc
> mkoctfile -Wall __boundary__.cc
> mkoctfile -Wall bwlabel.cc
> mkoctfile -Wall bwfill.cc
> mkoctfile -Wall rotate_scale.cc
> mkoctfile -Wall hough_line.cc
> mkoctfile -Wall graycomatrix.cc
> mkoctfile -Wall deriche.cc
> mkoctfile -Wall __bwdist.cc
> mkoctfile -Wall nonmax_supress.cc
> CXXFLAGS='-g -O2 -std=c++0x -Wall' mkoctfile bwlabeln.cc
> error: called from `pkg>configure_make' in file 
> /sw/share/octave/3.6.3/m/pkg/pkg.m near line 1385, column 9
> error: called from:
> error:   /sw/share/octave/3.6.3/m/pkg/pkg.m at line 827, column 5
> error:   /sw/share/octave/3.6.3/m/pkg/pkg.m at line 383, column 9
> octave:5> 
> 
> 

You might try tweaking your mkoctfile symlinks to have mkoctfile point
to /sw/bin/mkoctfile-gcc4.7 .  If you then do your "pkg install" again
the C compilers from Fink's "gcc47-compiler" package will be used
instead of those from Xcode, and unordered_map is indeed included with
gcc47-compiler.

I created this alternative mkoctfile to use in building packages where
Xcode compilers didn't happen to provide libraries/headers that were needed.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/


reply via email to

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