texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] Qt TeXmacs-1.0.7.7, Qt-4.6.3 compilation error


From: Andrey G. Grozin
Subject: Re: [Texmacs-dev] Qt TeXmacs-1.0.7.7, Qt-4.6.3 compilation error
Date: Fri, 5 Nov 2010 10:58:42 +0600 (NOVT)
User-agent: Alpine 1.10 (LRH 962 2008-03-14)

On Sat, 30 Oct 2010, Andrey G. Grozin wrote:
i686-pc-linux-gnu-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/History -IData/Observers -IData/String -IData/Tmfs -IData/Tree -IGuile -IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics -IGraphics/Renderer -IPlugins -I/usr/include/freetype2 -pthread -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -DQTTEXMACS -Wall -Wno-return-type -O2 -march=core2 -mtune=generic -mssse3 -mfpmath=sse -pipe -fno-rtti -fno-exceptions -c ./Plugins/Imlib2/imlib2.cpp -o Objects/imlib2.o
In file included from /usr/include/qt4/QtCore/qsize.h:45,
                from /usr/include/qt4/QtCore/qrect.h:45,
                from /usr/include/qt4/QtCore/QRect:1,
                from Plugins/Qt/qt_utilities.hpp:14,
                from ./System/Files/image_files.cpp:26:
/usr/include/qt4/QtCore/qnamespace.h:1220: error: expected identifier before numeric constant /usr/include/qt4/QtCore/qnamespace.h:1220: error: expected unqualified-id before numeric constant
./Plugins/Imlib2/imlib2.cpp: In function ?void imlib2_initialize()?:
./Plugins/Imlib2/imlib2.cpp:57: warning: dereferencing type-punned pointer will break strict-aliasing rules ./Plugins/Imlib2/imlib2.cpp:58: warning: dereferencing type-punned pointer will break strict-aliasing rules ./Plugins/Imlib2/imlib2.cpp:59: warning: dereferencing type-punned pointer will break strict-aliasing rules ./Plugins/Imlib2/imlib2.cpp:60: warning: dereferencing type-punned pointer will break strict-aliasing rules ./Plugins/Imlib2/imlib2.cpp:61: warning: dereferencing type-punned pointer will break strict-aliasing rules ./Plugins/Imlib2/imlib2.cpp:63: warning: dereferencing type-punned pointer will break strict-aliasing rules ./Plugins/Imlib2/imlib2.cpp:64: warning: dereferencing type-punned pointer will break strict-aliasing rules ./Plugins/Imlib2/imlib2.cpp:65: warning: dereferencing type-punned pointer will break strict-aliasing rules ./Plugins/Imlib2/imlib2.cpp:66: warning: dereferencing type-punned pointer will break strict-aliasing rules ./Plugins/Imlib2/imlib2.cpp:67: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: *** [Objects/image_files.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/app-office/texmacs-1.0.7.7/work/TeXmacs-1.0.7.7-src/src'
make: *** [TEXMACS] Error 2
Can anybody who knows how to compile TeXmacs with --enable-qt comment about this?

I am the maintainer of the TeXmacs package in Gentoo. Several versions ago, there were 2 options for Gentoo users: compile TeXmacs with --disable-qt or --enable-qt. Then the latter option started to produce compilation errors, and I had to remove it. It seems others are able to compile TeXmacs with --enable-qt. But this does not work on Gentoo, and this is strange, because Gentoo uses rather standard tools and libraries, practically without deviations from the upstream.

So, it would be good to enable Gentoo users to build and install Qt-TeXmacs. It this requires some patch, I am ready to include it, but I cannot figure out what and how to patch exactly.

Andrey



reply via email to

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