octave-maintainers
[Top][All Lists]
Advanced

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

Re: Build error on Ubuntu 12.10


From: Torsten
Subject: Re: Build error on Ubuntu 12.10
Date: Mon, 11 Mar 2013 19:28:26 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130221 Thunderbird/17.0.3

On 11.03.2013 18:58, Jordi Gutiérrez Hermoso wrote:
> On 11 March 2013 13:44, Ma Xiaojun <address@hidden> wrote:
>> On Tue, Mar 12, 2013 at 1:25 AM, Jordi Gutiérrez Hermoso
>> <address@hidden> wrote:
>>> Can you provide a patch?
>>
>> No, since I have (yet) limited experience with Autotools and Octave
>> codebase in general.
> 
> Yeah, we all have limited experience. Looks like you correctly figured
> out the problem and diagnosis despite your limited experience.
> 
>> As I checked configure.ac, there is detection for QScintilla,
>> starting from line 2604. However, line 2627-2628 looks like no
>> action except displaying a warning message is taken when QScintilla
>> is not found.
> 
> This warning should be rather prominent at the end of the ./configure
> run. Is it?
> 
>> As I also checked generated config.h, HAVE_QSCINTILLA macro is
>> correctly undefed. However, the file where the build error occurs has
>> no check for such macro. (Currently no idea whether QScintilla can be
>> made optional or not.)

Could you please add

#ifdef HAVE_QSCINTILLA
#endif

around line 40 of main-window.cc and build octave again. The
main-window.cc is full of these #ifdefs around editor-code but the
include obviously was forgotten.

> 
> Without Qscintilla, the GUI editor won't work. Perhaps that could be
> done? The GUI without the editor?

The settings dialog allows to configure an external editor but this
setting is not used when opening a file. At the moment I don't know
whether this feature was never implemented or has accidentally been
overwritten by a changeset.

Torsten



reply via email to

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