texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] Experimental Qt port


From: Juan Pablo Romero Méndez
Subject: Re: [Texmacs-dev] Experimental Qt port
Date: Tue, 30 Sep 2008 01:25:57 -0500

Now it compiles with just one change:

in src/Plugins/Qt/QTMGuiHelper.hpp

line 45:

virtual int QTMStyle::pixelMetric(PixelMetric metric, const
QStyleOption *opt, const QWidget *widget) const;


gcc 4.2.1 requires:

virtual int pixelMetric(PixelMetric metric, const QStyleOption *opt,
const QWidget *widget) const;


The problem is in execution; it seg faults with any keystroke.

I've tried debugging it, but I'm not sure how. I tried launching "gdb
texmacs.bin procID"

this is the result of "bt":

(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program:
/home/jpablo/extra/texmacs-cvs/libexec/TeXmacs/bin/texmacs.bin
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb6efb9b0 (LWP 12021)]
TeXmacs] couldn't concretize ? (none)
TeXmacs] couldn't concretize ? (none)
TeXmacs] couldn't concretize ? (concat, xxx, ? (concat, fonts, type1))
TeXmacs] couldn't concretize ? (concat, xxx, ? (concat, fonts, type1))

TeXmacs]
TeXmacs] Installation problem: please send a bug report.
TeXmacs] The initialization file init-texmacs.scm could not be found.
TeXmacs] Please check the values of the environment variables
TeXmacs] TEXMACS_PATH and GUILE_LOAD_PATH. init-texmacs.scm should
TeXmacs] be readable and in the directory $TEXMACS_PATH/progs
TeXmacs] or in the directory $GUILE_LOAD_PATH
TeXmacs]

Fatal error: Guile could not be found in 'init_guile'
See file   : init_texmacs.cpp

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6efb9b0 (LWP 12021)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb70568f5 in raise () from /lib/libc.so.6
#2  0xb70581e1 in abort () from /lib/libc.so.6
#3  0x08421b85 in FT_Select_Charmap ()
#4  0x085ba300 in ?? ()
#5  0x085950fd in ?? ()
#6  0x00000001 in ?? ()
#7  0xbfccac7c in ?? ()
#8  0x00000018 in ?? ()
#9  0x00000018 in ?? ()
#10 0x0000000a in ?? ()
#11 0x0841fdb0 in FT_Select_Charmap ()
#12 0x00000020 in ?? ()
#13 0x0863bc01 in ?? ()
#14 0x705ba300 in ?? ()
#15 0xbfccac7c in ?? ()
#16 0xbfccac78 in ?? ()
#17 0xbfccac74 in ?? ()
#18 0xbfccac98 in ?? ()
#19 0x083237d8 in FT_Select_Charmap ()
#20 0xbfccac7c in ?? ()
#21 0xbfccac78 in ?? ()
#22 0xbfccac74 in ?? ()
#23 0xbfccac68 in ?? ()
#24 0xb7095179 in free () from /lib/libc.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)





On Mon, Sep 29, 2008 at 2:36 PM,  <address@hidden> wrote:
> Hi,
>  sorry, I just commited a fix for this bug.
>
> best
> massimiliano
>
> ps: the port is configured with --enable-qt
>
>
> On Sep 29, 2008, at 7:34 PM, Juan Pablo Romero Méndez wrote:
>
>> Great!
>>
>> I'm trying it now. Just one problem:
>>
>> The build system thinks  my system is a mac. In reality it is SUSE 10.3.
>>
>> g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files
>> -ISystem/Link -ISystem/Misc -ISystem/Language -IKernel/Abstractions
>> -IKernel/Containers -IKernel/Types -IData/Convert -IData/Drd
>> -IData/Observers -IData/String -IData/Tmfs -IData/Tree -IGuile
>> -IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui
>> -IGraphics/Mathematics -IGraphics/Renderer -IPlugins -pipe -Os -Wall
>> -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
>> -I/usr/share/qt4/mkspecs/macx-g++ -I. -I/usr/include/QtCore
>> -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui
>> -I/usr/include -I. -I. -I. -I/usr/local/include/freetype2
>> -I/usr/local/include -pthread -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
>> -DQT_SHARED -I/usr/share/qt4/mkspecs/macx-g++ -I.
>> -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui
>> -I/usr/include/QtGui -I/usr/include -I. -I. -I. -Wall -Wno-return-type
>> -O3 -fexpensive-optimizations -fno-rtti -fno-exceptions -c
>> ./Plugins/Qt/qt_gui.cpp -o Objects/qt_gui.o
>> In file included from ./Plugins/Qt/QTMGuiHelper.moc:10,
>>                from ./Plugins/Qt/qt_gui.cpp:484:
>> ./Plugins/Qt/QTMGuiHelper.hpp:16:21: error: QMacStyle: No such file or
>> directory
>> ./Plugins/Qt/QTMGuiHelper.hpp:52:7: warning: no newline at end of file
>> ./Plugins/Qt/qt_gui.cpp:615: warning: ignoring #pragma mark GUI
>>
>>
>>
>>
>> On Mon, Sep 29, 2008 at 3:10 AM, Joris van der Hoeven
>> <address@hidden> wrote:
>>>
>>> Hi all,
>>>
>>> I am happy to announce an experimental Qt port, by Massimiliano
>>> Gubinelli,
>>> which is a reworked version of his previous Cocoa port. The port has been
>>> put on the CVS server of TeXmacs. Any comments are welcome (please send
>>> them to address@hidden). Things should improve this and next week,
>>> when I intend to release a new version of TeXmacs.
>>>
>>> Best wishes, Joris
>>>
>>>
>>> _______________________________________________
>>> Texmacs-dev mailing list
>>> address@hidden
>>> http://lists.gnu.org/mailman/listinfo/texmacs-dev
>>>
>>
>>
>> _______________________________________________
>> Texmacs-dev mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/texmacs-dev
>
>
>
> _______________________________________________
> Texmacs-dev mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/texmacs-dev
>




reply via email to

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