octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #38091] image-2.0.0 install failure on Ubuntu


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #38091] image-2.0.0 install failure on Ubuntu 12.04 - diagnosed, outline fix
Date: Mon, 21 Jan 2013 08:12:38 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17

Follow-up Comment #1, bug #38091 (project octave):

A few comments:

1. You should use CPPFLAGS (preprocessor flags) instead of CXXFLAGS for things
like include paths. By using CXXFLAGS you probably disabled the default code
optimization (-O2).

2. A possible workaround might be to set CXXFLAGS in your environment to match
how you built Octave:


octave:1> putenv ("CXXFLAGS", "-I/usr/include/openmpi");
octave:2> pkg install ...


3. This exact problem is worked around in Debian and Ubuntu with the following
patch to mkoctfile:

http://anonscm.debian.org/gitweb/?p=pkg-octave/octave.git;a=blob;f=debian/patches/mkoctfile-mpi.diff

All that being said, a similar issue with mkoctfile was recently brought up on
the maintainers list, so someone may already be working on a fix that applies
here.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38091>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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