help-octave
[Top][All Lists]
Advanced

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

Re: Problem installing image-2.4.1 after fix in bug 65843


From: Andreas Weber
Subject: Re: Problem installing image-2.4.1 after fix in bug 65843
Date: Sat, 29 Aug 2015 09:25:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0

Am 29.08.2015 um 06:37 schrieb Terry Duell:
> Hello All,
> I have Octave-4.0.0 on Fedora 22, and when trying to update the image
> package got the message...
> 
> configure: error:
>     Your C++ compiler (are you using GCC 5.0 or 5.1?) has a bug that
>     prevents it from building the Octave Forge image package.  But you
>     can fix it very easily.  See https://savannah.gnu.org/bugs/?45096
>     for details on working around it.
> 
> So, went to the link, read about the fix (This issue is caused by gcc
> bug 65843. To workaround this issue, open the image package tarball, and
> remove the word "const" from lines 154 and 213 of
> "src/imreconstruct.cc"), downloaded image-2.4.1.tar.gz and made the
> changes.
> When I tried to install...
> 
>>> pkg install /home/terry/Downloads/image-2.4.1.tar.gz
> configure: error:
>     Your C++ compiler (are you using GCC 5.0 or 5.1?) has a bug that
>     prevents it from building the Octave Forge image package.  But you
>     can fix it very easily.  See https://savannah.gnu.org/bugs/?45096
>     for details on working around it.
> 
> Is the advice on how to fix this problem incorrect, or something else?
> 
> Cheers,

I haven't done this before but since the check in configure.ac only
checks gcc and not if the source is patched to avoid the problem, I
think you have to delete/comment the check
(http://hg.code.sf.net/p/octave/image/rev/c506938a4ca6) in configure.ac
and rerun bootstrap.

-- Andy



reply via email to

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