Binary packages for 3.8

classic Classic list List threaded Threaded
86 messages Options
12345
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

Torsten
On 25.10.2013 13:56, Ben Abbott wrote:

> On Oct 25, 2013, at 6:11 AM, c. wrote:
>
>> On 25 Oct 2013, at 11:22, c. <[hidden email]> wrote:
>>
>>> Ben, I'm using qscintilla 2.4.6 as I recall you had problems
>>> linking to newer versions, is this still the case?
>>
>> Here's the thread where the problem was reported:
>>
>> http://octave.1599824.n4.nabble.com/editor-no-longer-working-on-MacOSX-tp4657753.html
>>
>>
>>
is the problem with qscintilla 2.7 still present, or can I try upgrading
qscintilla?
>>
>> c.
>
> Yes.  I'd assumed that the 2.7 version on Macports may have some
> problem, but it is also possible that 2.7 has new features that break
> our gui.
>
> Ben
>

Just installed qscintilla 2.7.2 on ubuntu (64 bit) and the gui is
working as expected.

Torsten
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

c.-2

On 25 Oct 2013, at 19:21, Torsten <[hidden email]> wrote:

> Just installed qscintilla 2.7.2 on ubuntu (64 bit) and the gui is
> working as expected.
>
> Torsten

I'l give it a try on OSX then ...
c.
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

Torsten
On 26.10.2013 19:14, c. wrote:

> I just tried once again building with qscintilla 2.7.2.
>
> Whenever I try to switch to the editor tab Octave crashes with error "Abort trap: 6"
>
> Here's the backtrace of the crash:
>
>
> * thread #1: tid = 0x146e47, 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread, stop reason = signal SIGABRT
> frame #0: 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10
> frame #1: 0x00007fff84a92b24 libsystem_c.dylib`pthread_kill + 90
> frame #2: 0x00007fff84ad6f61 libsystem_c.dylib`abort + 143
> frame #3: 0x00007fff84aaa989 libsystem_c.dylib`free + 392
> frame #4: 0x00007fff81c25b49 libstdc++.6.dylib`std::string::assign(std::string const&) + 77
> frame #5: 0x000000010257dfcd libqscintilla2.9.dylib`PropSetSimple::Set(char const*, char const*, int, int) + 141
> frame #6: 0x00000001025bec1e libqscintilla2.9.dylib`ScintillaBase::WndProc(unsigned int, unsigned long, long) + 1950
> frame #7: 0x0000000102491ab4 libqscintilla2.9.dylib`QsciScintilla::setLexer(QsciLexer*) + 340
> frame #8: 0x000000010004a400 liboctgui.0.dylib`file_editor_tab::update_lexer() + 1568
> frame #9: 0x000000010004b048 liboctgui.0.dylib`file_editor_tab::notice_settings(QSettings const*) + 24
> frame #10: 0x000000010004dcde liboctgui.0.dylib`file_editor_tab::file_editor_tab(QString const&) + 1230
> frame #11: 0x0000000100050ea2 liboctgui.0.dylib`file_editor::request_new_file(QString const&) + 50
> frame #12: 0x00000001000a4a13 liboctgui.0.dylib`file_editor_interface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 563
> frame #13: 0x00000001023ece80 QtCore`qDetectCPUFeatures()::features + 8

From the backtrace, you tried to create a new editor tab or were you
just switching to the editor?
Could you please check the following?

- Is there a directory $HOME/.config/octave/3.7.7+/qsci/
  with at least one file "octave.pap" with 387 Bytes or so?

- Does the crash also occur when you open a cpp-file?

Torsten

Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

c.-2

On 26 Oct 2013, at 19:54, Torsten <[hidden email]> wrote:

> From the backtrace, you tried to create a new editor tab or were you
> just switching to the editor?

To create that crash I:

1) clicked the "editor" button below the command prompt
2) clicked the "new document" icon at the top left of the window

The same crash occurs if I click the "new document" icon directly

> Could you please check the following?
>
> - Is there a directory $HOME/.config/octave/3.7.7+/qsci/
>  with at least one file "octave.pap" with 387 Bytes or so?

the directory ~/.config/octave/3.7.7+/qsci/ exists but it is empty.

> - Does the crash also occur when you open a cpp-file?

yes. it happens whenever I try to open or create any kind of document.

> Torsten

thanks,
c.
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

Torsten
On 27.10.2013 00:14, c. wrote:

>
> On 26 Oct 2013, at 19:54, Torsten <[hidden email]> wrote:
>
>> From the backtrace, you tried to create a new editor tab or were you
>> just switching to the editor?
>
> To create that crash I:
>
> 1) clicked the "editor" button below the command prompt
> 2) clicked the "new document" icon at the top left of the window
>
> The same crash occurs if I click the "new document" icon directly
>
>> Could you please check the following?
>>
>> - Is there a directory $HOME/.config/octave/3.7.7+/qsci/
>>  with at least one file "octave.pap" with 387 Bytes or so?
>
> the directory ~/.config/octave/3.7.7+/qsci/ exists but it is empty.
>
>> - Does the crash also occur when you open a cpp-file?
>
> yes. it happens whenever I try to open or create any kind of document.
>
>> Torsten
>
> thanks,
> c.
>

But for 1) and 2) you get different backtraces? The backtrace you posted
shows that the function update_lexer () and therein setlexer () are
called. That does not happen if you just set the focus to the editor
widget without opening a document.

Did you use octave 3.7.7+ already with the old version of qscintilla or
are there already other directories ~/.config/octave/3.7.x with
subfolders qsci?

Torsten

Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

c.-2

On 27 Oct 2013, at 09:14, Torsten <[hidden email]> wrote:

> Did you use octave 3.7.7+ already with the old version of qscintilla or
> are there already other directories ~/.config/octave/3.7.x with
> subfolders qsci?

I have been using qscintilla 2.4 until yesterday and I did have other
~/.config/octave/3.7.x/qsci directories but I deleted them before testing
with qscintilla 2.7.

Now I switched back to qscintilla 2.4 and I have:

$ ls -l ~/.config/octave/3.7.7+/qsci/bash.pap
-rw-r--r--  1 carlo  staff  2171 27 Oct 09:48 /Users/carlo/.config/octave/3.7.7+/qsci/bash.pap

c.
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

Torsten
On 27.10.2013 09:59, c. wrote:

>
> On 27 Oct 2013, at 09:14, Torsten <[hidden email]> wrote:
>
>> Did you use octave 3.7.7+ already with the old version of qscintilla or
>> are there already other directories ~/.config/octave/3.7.x with
>> subfolders qsci?
>
> I have been using qscintilla 2.4 until yesterday and I did have other
> ~/.config/octave/3.7.x/qsci directories but I deleted them before testing
> with qscintilla 2.7.
>
> Now I switched back to qscintilla 2.4 and I have:
>
> $ ls -l ~/.config/octave/3.7.7+/qsci/bash.pap
> -rw-r--r--  1 carlo  staff  2171 27 Oct 09:48 /Users/carlo/.config/octave/3.7.7+/qsci/bash.pap
>
> c.
>
Can you edit the editor styles with qsci 2.7.x in the settings dialog?

Attached, please find a patch that disables saving the lexer's prepared
api-info. Could you please give it a try?

Torsten


qsci_2_7_mac_p01.diff (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

c.-2

On 27 Oct 2013, at 10:42, Torsten <[hidden email]> wrote:
>
>
> Can you edit the editor styles with qsci 2.7.x in the settings dialog?
sorry, I cant' try at the moment as I have cleaned the buid directory,
and the installed version of Octave links to qscintilla 2.4

> Attached, please find a patch that disables saving the lexer's prepared
> api-info. Could you please give it a try?
It's building right now, thanks!

> Torsten
c.
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

c.-2
In reply to this post by bpabbott

On 25 Oct 2013, at 16:43, Ben Abbott <[hidden email]> wrote:

> Any chance bootcamp can be used to boot into different versions of MacOS X?
>
> That would simplify supporting multiple versions of MacOS.
>
> Ben
>

at second thought, do you believe it will make sense to spend time supporting other OSX versions
when Mavericks is a free upgrade for any hardware newer than 2009?

As a test survey, I asked all students in my course who own a mac on Friday, 8 out of 10 already
upgraded the other two said they would do so in the weekend ...

When do we expect to have 3.8 relesed? I think I will build the 3.8 bundle for Mountain Lion then
upgrade to Mavericks myself.

c.
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

c.-2
In reply to this post by c.-2

On 27 Oct 2013, at 11:44, c. <[hidden email]> wrote:

>> Attached, please find a patch that disables saving the lexer's prepared
>> api-info. Could you please give it a try?
> It's building right now, thanks!

The crash still occurs, here's the backtrace:

* thread #1: tid = 0x1bb719, 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread, stop reason = signal SIGABRT
    frame #0: 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff84a92b24 libsystem_c.dylib`pthread_kill + 90
    frame #2: 0x00007fff84ad6f61 libsystem_c.dylib`abort + 143
    frame #3: 0x00007fff84aaa989 libsystem_c.dylib`free + 392
    frame #4: 0x00007fff81c25b49 libstdc++.6.dylib`std::string::assign(std::string const&) + 77
    frame #5: 0x0000000102590abd libqscintilla2.9.dylib`PropSetSimple::Set(char const*, char const*, int, int) + 141
    frame #6: 0x00000001025d2fbf libqscintilla2.9.dylib`ScintillaBase::WndProc(unsigned int, unsigned long, long) + 1103
    frame #7: 0x00000001024902a2 libqscintilla2.9.dylib`QsciScintilla::setLexer(QsciLexer*) + 466
    frame #8: 0x000000010004a2de liboctgui.0.dylib`file_editor_tab::update_lexer() + 1006
    frame #9: 0x000000010004ad58 liboctgui.0.dylib`file_editor_tab::notice_settings(QSettings const*) + 24
    frame #10: 0x000000010004d9ee liboctgui.0.dylib`file_editor_tab::file_editor_tab(QString const&) + 1230
    frame #11: 0x0000000100050b72 liboctgui.0.dylib`file_editor::request_new_file(QString const&) + 50
    frame #12: 0x00000001000a46e3 liboctgui.0.dylib`file_editor_interface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 563
    frame #13: 0x00000001023eae80 QtCore`qDetectCPUFeatures()::features + 8

ls -l ~/.config/octave/
total 16
-rw-r--r--  1 carlo  staff  5623 27 Oct 11:56 qt-settings

I am able to edit the editor styles for the Octave lexer in the preferences pane.

c.
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

Torsten
On 27.10.2013 12:30, c. wrote:

>
> On 27 Oct 2013, at 11:44, c. <[hidden email]> wrote:
>
>>> Attached, please find a patch that disables saving the lexer's prepared
>>> api-info. Could you please give it a try?
>> It's building right now, thanks!
>
> The crash still occurs, here's the backtrace:
>
> * thread #1: tid = 0x1bb719, 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread, stop reason = signal SIGABRT
>     frame #0: 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10
>     frame #1: 0x00007fff84a92b24 libsystem_c.dylib`pthread_kill + 90
>     frame #2: 0x00007fff84ad6f61 libsystem_c.dylib`abort + 143
>     frame #3: 0x00007fff84aaa989 libsystem_c.dylib`free + 392
>     frame #4: 0x00007fff81c25b49 libstdc++.6.dylib`std::string::assign(std::string const&) + 77
>     frame #5: 0x0000000102590abd libqscintilla2.9.dylib`PropSetSimple::Set(char const*, char const*, int, int) + 141
>     frame #6: 0x00000001025d2fbf libqscintilla2.9.dylib`ScintillaBase::WndProc(unsigned int, unsigned long, long) + 1103
>     frame #7: 0x00000001024902a2 libqscintilla2.9.dylib`QsciScintilla::setLexer(QsciLexer*) + 466
>     frame #8: 0x000000010004a2de liboctgui.0.dylib`file_editor_tab::update_lexer() + 1006
>     frame #9: 0x000000010004ad58 liboctgui.0.dylib`file_editor_tab::notice_settings(QSettings const*) + 24
>     frame #10: 0x000000010004d9ee liboctgui.0.dylib`file_editor_tab::file_editor_tab(QString const&) + 1230
>     frame #11: 0x0000000100050b72 liboctgui.0.dylib`file_editor::request_new_file(QString const&) + 50
>     frame #12: 0x00000001000a46e3 liboctgui.0.dylib`file_editor_interface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 563
>     frame #13: 0x00000001023eae80 QtCore`qDetectCPUFeatures()::features + 8
>
> ls -l ~/.config/octave/
> total 16
> -rw-r--r--  1 carlo  staff  5623 27 Oct 11:56 qt-settings
>
> I am able to edit the editor styles for the Octave lexer in the preferences pane.
>
> c.
>
Could you please try the minimal example attached in order to sort out
the possibility that the octave lexer does not work at all? It provides
an editor with octave syntax-highlighting.

Torsten



example.tar.gz (546 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

c.-2

On 27 Oct 2013, at 14:52, Torsten <[hidden email]> wrote:
>
>
> Could you please try the minimal example attached in order to sort out
> the possibility that the octave lexer does not work at all? It provides
> an editor with octave syntax-highlighting.
>
> Torsten


the minimal example also crashes, whith the following error:

 QWidget: Must construct a QApplication before a QPaintDevice
 Abort trap: 6

here's the backtrace:

* thread #1: tid = 0x1c8606, 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread, stop reason = signal SIGABRT
    frame #0: 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff84a92b24 libsystem_c.dylib`pthread_kill + 90
    frame #2: 0x00007fff84ad6f61 libsystem_c.dylib`abort + 143
    frame #3: 0x0000000102d1eac8 QtCore`qt_message_output(QtMsgType, char const*) + 200
    frame #4: 0x0000000102d1ed58 QtCore`qt_message(QtMsgType, char const*, __va_list_tag*) + 408
    frame #5: 0x0000000102d1e64f QtCore`qFatal(char const*, ...) + 159
    frame #6: 0x00000001021b37fd QtGui`QWidgetPrivate::QWidgetPrivate(int) + 765
    frame #7: 0x0000000102501053 QtGui`QFramePrivate::QFramePrivate() + 19
    frame #8: 0x0000000102587965 QtGui`QAbstractScrollArea::QAbstractScrollArea(QWidget*) + 37
    frame #9: 0x0000000100010717 libqscintilla2.9.dylib`QsciScintillaBase::QsciScintillaBase(QWidget*) + 23
    frame #10: 0x0000000100006359 libqscintilla2.9.dylib`QsciScintilla::QsciScintilla(QWidget*) + 25
    frame #11: 0x0000000100001c6c example`main(argc=1, argv=0x00007fff5fbffa68) + 92 at main.cpp:9
    frame #12: 0x00007fff81cb97e1 libdyld.dylib`start + 1

c.
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

Torsten
On 27.10.2013 17:06, c. wrote:

>
> On 27 Oct 2013, at 14:52, Torsten <[hidden email]> wrote:
>>
>>
>> Could you please try the minimal example attached in order to sort out
>> the possibility that the octave lexer does not work at all? It provides
>> an editor with octave syntax-highlighting.
>>
>> Torsten
>
>
> the minimal example also crashes, whith the following error:
>
>  QWidget: Must construct a QApplication before a QPaintDevice
>  Abort trap: 6
>
> here's the backtrace:
>
> * thread #1: tid = 0x1c8606, 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread, stop reason = signal SIGABRT
>     frame #0: 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10
>     frame #1: 0x00007fff84a92b24 libsystem_c.dylib`pthread_kill + 90
>     frame #2: 0x00007fff84ad6f61 libsystem_c.dylib`abort + 143
>     frame #3: 0x0000000102d1eac8 QtCore`qt_message_output(QtMsgType, char const*) + 200
>     frame #4: 0x0000000102d1ed58 QtCore`qt_message(QtMsgType, char const*, __va_list_tag*) + 408
>     frame #5: 0x0000000102d1e64f QtCore`qFatal(char const*, ...) + 159
>     frame #6: 0x00000001021b37fd QtGui`QWidgetPrivate::QWidgetPrivate(int) + 765
>     frame #7: 0x0000000102501053 QtGui`QFramePrivate::QFramePrivate() + 19
>     frame #8: 0x0000000102587965 QtGui`QAbstractScrollArea::QAbstractScrollArea(QWidget*) + 37
>     frame #9: 0x0000000100010717 libqscintilla2.9.dylib`QsciScintillaBase::QsciScintillaBase(QWidget*) + 23
>     frame #10: 0x0000000100006359 libqscintilla2.9.dylib`QsciScintilla::QsciScintilla(QWidget*) + 25
>     frame #11: 0x0000000100001c6c example`main(argc=1, argv=0x00007fff5fbffa68) + 92 at main.cpp:9
>     frame #12: 0x00007fff81cb97e1 libdyld.dylib`start + 1
>
> c.
>

Unfortunately the crash has another reason here. I have no idea what is
going on there. Maybe my *.pro file needs som extra entries for MAC OSX?

Torsten

Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

bpabbott
Administrator
On Oct 27, 2013, at 1:45 PM, Torsten <[hidden email]> wrote:

>
>> On 27.10.2013 17:06, c. wrote:
>>
>>> On 27 Oct 2013, at 14:52, Torsten <[hidden email]> wrote:
>>>
>>>
>>> Could you please try the minimal example attached in order to sort out
>>> the possibility that the octave lexer does not work at all? It provides
>>> an editor with octave syntax-highlighting.
>>>
>>> Torsten
>>
>>
>> the minimal example also crashes, whith the following error:
>>
>> QWidget: Must construct a QApplication before a QPaintDevice
>> Abort trap: 6
>>
>> here's the backtrace:
>>
>> * thread #1: tid = 0x1c8606, 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread, stop reason = signal SIGABRT
>>    frame #0: 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10
>>    frame #1: 0x00007fff84a92b24 libsystem_c.dylib`pthread_kill + 90
>>    frame #2: 0x00007fff84ad6f61 libsystem_c.dylib`abort + 143
>>    frame #3: 0x0000000102d1eac8 QtCore`qt_message_output(QtMsgType, char const*) + 200
>>    frame #4: 0x0000000102d1ed58 QtCore`qt_message(QtMsgType, char const*, __va_list_tag*) + 408
>>    frame #5: 0x0000000102d1e64f QtCore`qFatal(char const*, ...) + 159
>>    frame #6: 0x00000001021b37fd QtGui`QWidgetPrivate::QWidgetPrivate(int) + 765
>>    frame #7: 0x0000000102501053 QtGui`QFramePrivate::QFramePrivate() + 19
>>    frame #8: 0x0000000102587965 QtGui`QAbstractScrollArea::QAbstractScrollArea(QWidget*) + 37
>>    frame #9: 0x0000000100010717 libqscintilla2.9.dylib`QsciScintillaBase::QsciScintillaBase(QWidget*) + 23
>>    frame #10: 0x0000000100006359 libqscintilla2.9.dylib`QsciScintilla::QsciScintilla(QWidget*) + 25
>>    frame #11: 0x0000000100001c6c example`main(argc=1, argv=0x00007fff5fbffa68) + 92 at main.cpp:9
>>    frame #12: 0x00007fff81cb97e1 libdyld.dylib`start + 1
>>
>> c.
>
> Unfortunately the crash has another reason here. I have no idea what is
> going on there. Maybe my *.pro file needs som extra entries for MAC OSX?

I suspect there is a problem with macports qscintilla 2.7 port

Ben
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

Pantxo
In reply to this post by Torsten
Torsten wrote
On 27.10.2013 17:06, c. wrote:
>
> On 27 Oct 2013, at 14:52, Torsten <[hidden email]> wrote:
>>
>>
>> Could you please try the minimal example attached in order to sort out
>> the possibility that the octave lexer does not work at all? It provides
>> an editor with octave syntax-highlighting.
>>
>> Torsten
>
>
> the minimal example also crashes, whith the following error:
>
>  QWidget: Must construct a QApplication before a QPaintDevice
>  Abort trap: 6
>
> here's the backtrace:
>
> * thread #1: tid = 0x1c8606, 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread, stop reason = signal SIGABRT
>     frame #0: 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill + 10
>     frame #1: 0x00007fff84a92b24 libsystem_c.dylib`pthread_kill + 90
>     frame #2: 0x00007fff84ad6f61 libsystem_c.dylib`abort + 143
>     frame #3: 0x0000000102d1eac8 QtCore`qt_message_output(QtMsgType, char const*) + 200
>     frame #4: 0x0000000102d1ed58 QtCore`qt_message(QtMsgType, char const*, __va_list_tag*) + 408
>     frame #5: 0x0000000102d1e64f QtCore`qFatal(char const*, ...) + 159
>     frame #6: 0x00000001021b37fd QtGui`QWidgetPrivate::QWidgetPrivate(int) + 765
>     frame #7: 0x0000000102501053 QtGui`QFramePrivate::QFramePrivate() + 19
>     frame #8: 0x0000000102587965 QtGui`QAbstractScrollArea::QAbstractScrollArea(QWidget*) + 37
>     frame #9: 0x0000000100010717 libqscintilla2.9.dylib`QsciScintillaBase::QsciScintillaBase(QWidget*) + 23
>     frame #10: 0x0000000100006359 libqscintilla2.9.dylib`QsciScintilla::QsciScintilla(QWidget*) + 25
>     frame #11: 0x0000000100001c6c example`main(argc=1, argv=0x00007fff5fbffa68) + 92 at main.cpp:9
>     frame #12: 0x00007fff81cb97e1 libdyld.dylib`start + 1
>
> c.
>

Unfortunately the crash has another reason here. I have no idea what is
going on there. Maybe my *.pro file needs som extra entries for MAC OSX?

Torsten
Hello,

Using fink for dependencies the example builds and works fine for me on mac os X 10.7.5. I could check that both double quoted strings and "endfunction" keyword were properly highlighted.

Unfortunately I am not able to build octave with the gui using fink at the moment. Build fails at link stage in libgui ("undefined symbol for architecture x86_64 " or something). My Qt4 package is not up to date so i'll try to upgrade and see what happens.

Just in case it may help, this is part of the output from otool :

$ otool -L /Users/pdiribarne/Downloads/example/example.app/Contents/MacOS/example
/Users/pdiribarne/Downloads/example/example.app/Contents/MacOS/example:
        /sw/lib/qt4-mac/lib/libqscintilla2.8.dylib (compatibility version 8.0.0, current version 8.0.2)
        /sw/lib/qt4-mac/lib/QtGui.framework/Versions/4/QtGui (compatibility version 4.7.0, current version 4.7.3)
        /sw/lib/qt4-mac/lib/QtCore.framework/Versions/4/QtCore (compatibility version 4.7.0, current version 4.7.3)
        /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 17.0.0)


Pantxo
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

c.-2

On 27 Oct 2013, at 19:13, Pantxo <[hidden email]> wrote:

> Torsten wrote
>> On 27.10.2013 17:06, c. wrote:
>>>
>>> On 27 Oct 2013, at 14:52, Torsten &lt;
>
>> ttl@
>
>> &gt; wrote:
>>>>
>>>>
>>>> Could you please try the minimal example attached in order to sort out
>>>> the possibility that the octave lexer does not work at all? It provides
>>>> an editor with octave syntax-highlighting.
>>>>
>>>> Torsten
>>>
>>>
>>> the minimal example also crashes, whith the following error:
>>>
>>> QWidget: Must construct a QApplication before a QPaintDevice
>>> Abort trap: 6
>>>
>>> here's the backtrace:
>>>
>>> * thread #1: tid = 0x1c8606, 0x00007fff894a0212
>>> libsystem_kernel.dylib`__pthread_kill + 10, queue =
>>> 'com.apple.main-thread, stop reason = signal SIGABRT
>>>    frame #0: 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill +
>>> 10
>>>    frame #1: 0x00007fff84a92b24 libsystem_c.dylib`pthread_kill + 90
>>>    frame #2: 0x00007fff84ad6f61 libsystem_c.dylib`abort + 143
>>>    frame #3: 0x0000000102d1eac8 QtCore`qt_message_output(QtMsgType, char
>>> const*) + 200
>>>    frame #4: 0x0000000102d1ed58 QtCore`qt_message(QtMsgType, char
>>> const*, __va_list_tag*) + 408
>>>    frame #5: 0x0000000102d1e64f QtCore`qFatal(char const*, ...) + 159
>>>    frame #6: 0x00000001021b37fd
>>> QtGui`QWidgetPrivate::QWidgetPrivate(int) + 765
>>>    frame #7: 0x0000000102501053 QtGui`QFramePrivate::QFramePrivate() +
>>> 19
>>>    frame #8: 0x0000000102587965
>>> QtGui`QAbstractScrollArea::QAbstractScrollArea(QWidget*) + 37
>>>    frame #9: 0x0000000100010717
>>> libqscintilla2.9.dylib`QsciScintillaBase::QsciScintillaBase(QWidget*) +
>>> 23
>>>    frame #10: 0x0000000100006359
>>> libqscintilla2.9.dylib`QsciScintilla::QsciScintilla(QWidget*) + 25
>>>    frame #11: 0x0000000100001c6c example`main(argc=1,
>>> argv=0x00007fff5fbffa68) + 92 at main.cpp:9
>>>    frame #12: 0x00007fff81cb97e1 libdyld.dylib`start + 1
>>>
>>> c.
>>>
>>
>> Unfortunately the crash has another reason here. I have no idea what is
>> going on there. Maybe my *.pro file needs som extra entries for MAC OSX?
>>
>> Torsten
>
> Hello,
>
> Using fink for dependencies the example builds and works fine for me on mac
> os X 10.7.5. I could check that both double quoted strings and "endfunction"
> keyword were properly highlighted.
>
> Unfortunately I am not able to build octave with the gui using fink at the
> moment. Build fails at link stage in libgui ("undefined symbol for
> architecture x86_64 " or something). My Qt4 package is not up to date so
> i'll try to upgrade and see what happens.
>
> Just in case it may help, this is part of the output from otool :
>
> $ otool -L
> /Users/pdiribarne/Downloads/example/example.app/Contents/MacOS/example
> /Users/pdiribarne/Downloads/example/example.app/Contents/MacOS/example:
> /sw/lib/qt4-mac/lib/libqscintilla2.8.dylib (compatibility version 8.0.0,
> current version 8.0.2)
> /sw/lib/qt4-mac/lib/QtGui.framework/Versions/4/QtGui (compatibility version
> 4.7.0, current version 4.7.3)
> /sw/lib/qt4-mac/lib/QtCore.framework/Versions/4/QtCore (compatibility
> version 4.7.0, current version 4.7.3)
> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility
> version 1.0.0, current version 17.0.0)
>
>
> Pantxo
>


Pantxo,

I don't have Fink installed at the moment, and I'm unable to access Fink's online
package database ...
Could you look at what are the configure options and patches for qscintilla in Fink?

c.
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

Alexander Hansen-2
On 10/27/13 11:43 AM, c. wrote:

>
> On 27 Oct 2013, at 19:13, Pantxo <[hidden email]> wrote:
>
>> Torsten wrote
>>> On 27.10.2013 17:06, c. wrote:
>>>>
>>>> On 27 Oct 2013, at 14:52, Torsten &lt;
>>
>>> ttl@
>>
>>> &gt; wrote:
>>>>>
>>>>>
>>>>> Could you please try the minimal example attached in order to sort out
>>>>> the possibility that the octave lexer does not work at all? It provides
>>>>> an editor with octave syntax-highlighting.
>>>>>
>>>>> Torsten
>>>>
>>>>
>>>> the minimal example also crashes, whith the following error:
>>>>
>>>> QWidget: Must construct a QApplication before a QPaintDevice
>>>> Abort trap: 6
>>>>
>>>> here's the backtrace:
>>>>
>>>> * thread #1: tid = 0x1c8606, 0x00007fff894a0212
>>>> libsystem_kernel.dylib`__pthread_kill + 10, queue =
>>>> 'com.apple.main-thread, stop reason = signal SIGABRT
>>>>     frame #0: 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill +
>>>> 10
>>>>     frame #1: 0x00007fff84a92b24 libsystem_c.dylib`pthread_kill + 90
>>>>     frame #2: 0x00007fff84ad6f61 libsystem_c.dylib`abort + 143
>>>>     frame #3: 0x0000000102d1eac8 QtCore`qt_message_output(QtMsgType, char
>>>> const*) + 200
>>>>     frame #4: 0x0000000102d1ed58 QtCore`qt_message(QtMsgType, char
>>>> const*, __va_list_tag*) + 408
>>>>     frame #5: 0x0000000102d1e64f QtCore`qFatal(char const*, ...) + 159
>>>>     frame #6: 0x00000001021b37fd
>>>> QtGui`QWidgetPrivate::QWidgetPrivate(int) + 765
>>>>     frame #7: 0x0000000102501053 QtGui`QFramePrivate::QFramePrivate() +
>>>> 19
>>>>     frame #8: 0x0000000102587965
>>>> QtGui`QAbstractScrollArea::QAbstractScrollArea(QWidget*) + 37
>>>>     frame #9: 0x0000000100010717
>>>> libqscintilla2.9.dylib`QsciScintillaBase::QsciScintillaBase(QWidget*) +
>>>> 23
>>>>     frame #10: 0x0000000100006359
>>>> libqscintilla2.9.dylib`QsciScintilla::QsciScintilla(QWidget*) + 25
>>>>     frame #11: 0x0000000100001c6c example`main(argc=1,
>>>> argv=0x00007fff5fbffa68) + 92 at main.cpp:9
>>>>     frame #12: 0x00007fff81cb97e1 libdyld.dylib`start + 1
>>>>
>>>> c.
>>>>
>>>
>>> Unfortunately the crash has another reason here. I have no idea what is
>>> going on there. Maybe my *.pro file needs som extra entries for MAC OSX?
>>>
>>> Torsten
>>
>> Hello,
>>
>> Using fink for dependencies the example builds and works fine for me on mac
>> os X 10.7.5. I could check that both double quoted strings and "endfunction"
>> keyword were properly highlighted.
>>
>> Unfortunately I am not able to build octave with the gui using fink at the
>> moment. Build fails at link stage in libgui ("undefined symbol for
>> architecture x86_64 " or something). My Qt4 package is not up to date so
>> i'll try to upgrade and see what happens.
>>
>> Just in case it may help, this is part of the output from otool :
>>
>> $ otool -L
>> /Users/pdiribarne/Downloads/example/example.app/Contents/MacOS/example
>> /Users/pdiribarne/Downloads/example/example.app/Contents/MacOS/example:
>> /sw/lib/qt4-mac/lib/libqscintilla2.8.dylib (compatibility version 8.0.0,
>> current version 8.0.2)
>> /sw/lib/qt4-mac/lib/QtGui.framework/Versions/4/QtGui (compatibility version
>> 4.7.0, current version 4.7.3)
>> /sw/lib/qt4-mac/lib/QtCore.framework/Versions/4/QtCore (compatibility
>> version 4.7.0, current version 4.7.3)
>> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility
>> version 1.0.0, current version 17.0.0)
>>
>>
>> Pantxo
>>
>
>
> Pantxo,
>
> I don't have Fink installed at the moment, and I'm unable to access Fink's online
> package database ...
> Could you look at what are the configure options and patches for qscintilla in Fink?
>
> c.
>

Nobody can access our database.  The server it's on is out--we're
hopefully going to get a new one up soonish.  The VCS browser works:

http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.7/stable/main/finkinfo/devel/

According to

http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.7/stable/main/finkinfo/devel/qscintilla2.8-qt4.info?revision=1.2&view=markup

the configure options just include the  default (--prefix=%p, where %p
is the Fink tree), and the build-time patch is to append the full path
to the library to its install_name:

perl -pi -e
's|install_name\t|install_name\t%p\/lib\/qt4-%type_pkg[qt]\/lib\/|' Makefile
--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

c.-2

On 27 Oct 2013, at 19:56, Alexander Hansen <[hidden email]> wrote:

> Nobody can access our database.  The server it's on is out--we're hopefully going to get a new one up soonish.  The VCS browser works:
>
> http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.7/stable/main/finkinfo/devel/
>
> According to
>
> http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.7/stable/main/finkinfo/devel/qscintilla2.8-qt4.info?revision=1.2&view=markup
>
> the configure options just include the  default (--prefix=%p, where %p is the Fink tree), and the build-time patch is to append the full path to the library to its install_name:
>
> perl -pi -e 's|install_name\t|install_name\t%p\/lib\/qt4-%type_pkg[qt]\/lib\/|' Makefile

Thanks Alexander,

That seems not to be any different from macports, which just uses all defaults as well ...
Except I see the Fink package is named "qscintilla2.8-qt4" are you using qscintilla 2.8?
I was not aware of the existence of that version ...

c.
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

Pantxo
In reply to this post by Alexander Hansen-2



2013/10/27 Alexander Hansen <[hidden email]>
On 10/27/13 11:43 AM, c. wrote:

On 27 Oct 2013, at 19:13, Pantxo <[hidden email]> wrote:

Torsten wrote
On 27.10.2013 17:06, c. wrote:

On 27 Oct 2013, at 14:52, Torsten &lt;

ttl@

&gt; wrote:


Could you please try the minimal example attached in order to sort out
the possibility that the octave lexer does not work at all? It provides
an editor with octave syntax-highlighting.

Torsten


the minimal example also crashes, whith the following error:

QWidget: Must construct a QApplication before a QPaintDevice
Abort trap: 6

here's the backtrace:

* thread #1: tid = 0x1c8606, 0x00007fff894a0212
libsystem_kernel.dylib`__pthread_kill + 10, queue =
'com.apple.main-thread, stop reason = signal SIGABRT
    frame #0: 0x00007fff894a0212 libsystem_kernel.dylib`__pthread_kill +
10
    frame #1: 0x00007fff84a92b24 libsystem_c.dylib`pthread_kill + 90
    frame #2: 0x00007fff84ad6f61 libsystem_c.dylib`abort + 143
    frame #3: 0x0000000102d1eac8 QtCore`qt_message_output(QtMsgType, char
const*) + 200
    frame #4: 0x0000000102d1ed58 QtCore`qt_message(QtMsgType, char
const*, __va_list_tag*) + 408
    frame #5: 0x0000000102d1e64f QtCore`qFatal(char const*, ...) + 159
    frame #6: 0x00000001021b37fd
QtGui`QWidgetPrivate::QWidgetPrivate(int) + 765
    frame #7: 0x0000000102501053 QtGui`QFramePrivate::QFramePrivate() +
19
    frame #8: 0x0000000102587965
QtGui`QAbstractScrollArea::QAbstractScrollArea(QWidget*) + 37
    frame #9: 0x0000000100010717
libqscintilla2.9.dylib`QsciScintillaBase::QsciScintillaBase(QWidget*) +
23
    frame #10: 0x0000000100006359
libqscintilla2.9.dylib`QsciScintilla::QsciScintilla(QWidget*) + 25
    frame #11: 0x0000000100001c6c example`main(argc=1,
argv=0x00007fff5fbffa68) + 92 at main.cpp:9
    frame #12: 0x00007fff81cb97e1 libdyld.dylib`start + 1

c.


Unfortunately the crash has another reason here. I have no idea what is
going on there. Maybe my *.pro file needs som extra entries for MAC OSX?

Torsten

Hello,

Using fink for dependencies the example builds and works fine for me on mac
os X 10.7.5. I could check that both double quoted strings and "endfunction"
keyword were properly highlighted.

Unfortunately I am not able to build octave with the gui using fink at the
moment. Build fails at link stage in libgui ("undefined symbol for
architecture x86_64 " or something). My Qt4 package is not up to date so
i'll try to upgrade and see what happens.

Just in case it may help, this is part of the output from otool :

$ otool -L
/Users/pdiribarne/Downloads/example/example.app/Contents/MacOS/example
/Users/pdiribarne/Downloads/example/example.app/Contents/MacOS/example:
        /sw/lib/qt4-mac/lib/libqscintilla2.8.dylib (compatibility version 8.0.0,
current version 8.0.2)
        /sw/lib/qt4-mac/lib/QtGui.framework/Versions/4/QtGui (compatibility version
4.7.0, current version 4.7.3)
        /sw/lib/qt4-mac/lib/QtCore.framework/Versions/4/QtCore (compatibility
version 4.7.0, current version 4.7.3)
        /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility
version 1.0.0, current version 17.0.0)


Pantxo



Pantxo,

I don't have Fink installed at the moment, and I'm unable to access Fink's online
package database ...
Could you look at what are the configure options and patches for qscintilla in Fink?

c.


Nobody can access our database.  The server it's on is out--we're hopefully going to get a new one up soonish.  The VCS browser works:

http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.7/stable/main/finkinfo/devel/

According to

http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.7/stable/main/finkinfo/devel/qscintilla2.8-qt4.info?revision=1.2&view=markup

the configure options just include the  default (--prefix=%p, where %p is the Fink tree), and the build-time patch is to append the full path to the library to its install_name:

perl -pi -e 's|install_name\t|install_name\t%p\/lib\/qt4-%type_pkg[qt]\/lib\/|' Makefile
--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

By the way I could check that the example also works for me using macports. The output from otool:

$ otool -L ./example.app/Contents/MacOS/example
./example.app/Contents/MacOS/example:
    /opt/local/lib/libqscintilla2.9.dylib (compatibility version 9.0.0, current version 9.0.2)
    /opt/local/Library/Frameworks/QtGui.framework/Versions/4/QtGui (compatibility version 4.8.0, current version 4.8.5)
    /opt/local/Library/Frameworks/QtCore.framework/Versions/4/QtCore (compatibility version 4.8.0, current version 4.8.5)
    /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)

Pantxo
Reply | Threaded
Open this post in threaded view
|

Re: Binary packages for 3.8

Alexander Hansen-2
In reply to this post by c.-2
On 10/27/13 12:04 PM, c. wrote:

>
> On 27 Oct 2013, at 19:56, Alexander Hansen <[hidden email]> wrote:
>
>> Nobody can access our database.  The server it's on is out--we're hopefully going to get a new one up soonish.  The VCS browser works:
>>
>> http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.7/stable/main/finkinfo/devel/
>>
>> According to
>>
>> http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.7/stable/main/finkinfo/devel/qscintilla2.8-qt4.info?revision=1.2&view=markup
>>
>> the configure options just include the  default (--prefix=%p, where %p is the Fink tree), and the build-time patch is to append the full path to the library to its install_name:
>>
>> perl -pi -e 's|install_name\t|install_name\t%p\/lib\/qt4-%type_pkg[qt]\/lib\/|' Makefile
>
> Thanks Alexander,
>
> That seems not to be any different from macports, which just uses all defaults as well ...
> Except I see the Fink package is named "qscintilla2.8-qt4" are you using qscintilla 2.8?
> I was not aware of the existence of that version ...
>
> c.
>

The package is version 2.6.2. "2.8" refers to the version attached to
its dynamic library.

--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/
12345