octave-maintainers
[Top][All Lists]
Advanced

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

Re: Binary packages for 3.8


From: Pantxo Diribarne
Subject: Re: Binary packages for 3.8
Date: Sun, 27 Oct 2013 20:06:24 +0100




2013/10/27 Alexander Hansen <address@hidden>
On 10/27/13 11:43 AM, c. wrote:

On 27 Oct 2013, at 19:13, Pantxo <address@hidden> 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 via email to

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