Dear Andrey, I cannot check at the moment the reason for these compilation errors. I will have to install Gentoo or at least ImLib2 on my Mac. Please note that TeXmacs/Qt do not need ImLib2 to work, so as an option you can disable ImLib2 support (--with-imlib2=no). I think this will solve your problem. In any case I will have to dig further on the problem.
Thanks Best max On 5 nov. 2010, at 05:58, Andrey G. Grozin wrote: > 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 > > _______________________________________________ > Texmacs-dev mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/texmacs-dev _______________________________________________ Texmacs-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/texmacs-dev
