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: Terry Duell
Subject: Re: Problem installing image-2.4.1 after fix in bug 65843
Date: Sat, 29 Aug 2015 20:46:04 +1000
User-agent: Opera Mail/12.16 (Linux)

Hello Andreas,

On Sat, 29 Aug 2015 17:25:18 +1000, Andreas Weber <address@hidden> wrote:

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.


Not sure what or where bootstrap is.
I built from Fedora 24 src.rpm, so I am assuming from what you say that I have to rebuild Octave, which seems a bit at odds with the text describing the workaround, as it only talks about a patch to the image package on Octave Forge.
Can someone please clarify exactly what needs to be done?

Cheers,
--
Regards,
Terry Duell



reply via email to

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