> On Dec 5, 2014, at 10:11 AM, Geoffrey Smith <geoffrey.sm...@nrl.navy.mil> 
> wrote:
> 
> On 12/5/14 1:08 PM, Alexander Hansen wrote:
>> 
>>> On Dec 5, 2014, at 9:49 AM, Geoffrey Smith <geoffrey.sm...@nrl.navy.mil> 
>>> wrote:
>>> 
>>> Hello
>>> 
>>> I am having trouble installing image-oct382 on a MacBook Pro, 10.8.5 and 
>>> fink:
>>> 
>>> Package manager version: 0.38.3
>>> Distribution version: selfupdate-rsync Fri Dec  5 09:13:20 2014, 10.8, 
>>> x86_64
>>> Trees: local/main stable/main unstable/main
>>> 
>>> I am new to octave and that may be part of my problem.  I have octave-qtmac 
>>> installed and it is not clear that the image-oct382 package should be 
>>> expected to work with that.
>>> 
>>> If it should be working with that, the errors I get during build are below. 
>>>  If there is any other info I should have included please let me know.  Any 
>>> help is appreciated.
>>> 
>>> Thanks,
>>> -geoff s.
>>> 
>>> make: Entering directory '/private/var/tmp/oct-TN9wQm/image/src'
>>> /sw/bin/mkoctfile-3.8.2 __spatial_filtering__.cc
>>> /sw/bin/mkoctfile-3.8.2 __bilateral__.cc
>>> /sw/bin/mkoctfile-3.8.2 __custom_gaussian_smoothing__.cc
>>> /sw/bin/mkoctfile-3.8.2 __boundary__.cc
>>> /sw/bin/mkoctfile-3.8.2 bwfill.cc
>>> /sw/bin/mkoctfile-3.8.2 rotate_scale.cc
>>> /sw/bin/mkoctfile-3.8.2 hough_line.cc
>>> /sw/bin/mkoctfile-3.8.2 graycomatrix.cc
>>> /sw/bin/mkoctfile-3.8.2 bwdist.cc
>>> bwdist.cc:541:20: error: call to 'pow' is ambiguous
>>>      if (numel >= pow (2, 32))
>>>                   ^~~
>>> /usr/include/c++/4.2.1/cmath:365:3: note: candidate function
>>>  pow(double __x, int __i)
>>>  ^
>>> /usr/include/c++/4.2.1/cmath:369:3: note: candidate function
>>>  pow(float __x, int __n)
>>>  ^
>>> /usr/include/c++/4.2.1/cmath:373:3: note: candidate function
>>>  pow(long double __x, int __n)
>>>  ^
>>> /usr/include/math.h:436:15: note: candidate function
>>> extern double pow(double, double);
>>>              ^
>>> /usr/include/c++/4.2.1/cmath:357:3: note: candidate function
>>>  pow(float __x, float __y)
>>>  ^
>>> /usr/include/c++/4.2.1/cmath:361:3: note: candidate function
>>>  pow(long double __x, long double __y)
>>>  ^
>>> 1 error generated.
>>> Makefile:8: recipe for target 'bwdist.oct' failed
>>> make: *** [bwdist.oct] Error 1
>>> make: Leaving directory '/private/var/tmp/oct-TN9wQm/image/src'
>>> 
>>> pkg: error running `make' for the image package.
>>> error: called from 'configure_make' in file 
>>> /sw/share/octave/3.8.2/m/pkg/private/configure_make.m near line 82, column 9
>>> error: called from:
>>> error:   /sw/share/octave/3.8.2/m/pkg/private/install.m at line 199, column 
>>> 5
>>> error:   /sw/share/octave/3.8.2/m/pkg/pkg.m at line 394, column 9
>>> error:   /sw/src/fink.build/image-oct382-2.2.1-1/image/octave-forge-comp at 
>>> line 4, column 1
>>> ### execution of /tmp/fink.jPCcV failed, exit code 1
>>> Removing runtime build-lock...
>>> Removing build-lock package...
>>> /sw/bin/dpkg-lockwait -r fink-buildlock-image-oct382-2.2.1-1
>>> 
>>> 
>>> --
>>> Geoffrey Smith
>>> Code 7233
>>> Naval Research Laboratory
>>> 4555 Overlook Ave., SW
>>> Washington, DC  20375
>>> voice: 202.404.6324
>>> geoffrey.sm...@nrl.navy.mil
>> 
>> 
>> What Xcode version do you have?  I patched Octave for 10.9 and 10.10 to deal 
>> with this issue, and I don’t remember having seen it on my 10.8 test system.
>> 
> 
> Version 5.1.1 -- Thanks!
> 
> -geoff
> 
> 
> -- 
> Geoffrey Smith
> Code 7233
> Naval Research Laboratory
> 4555 Overlook Ave., SW
> Washington, DC  20375
> voice: 202.404.6324
> geoffrey.sm...@nrl.navy.mil <mailto:geoffrey.sm...@nrl.navy.mil>
> 

Ok.  I’m not really going to have a chance to start a 10.8 setup until I’m off 
work, so it’ll be a bit before I can look at this.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to