[OS X TeX] Compiling MikTex tools for Unix
benoit.rivet at free.fr
Sat Jan 9 09:17:23 EST 2010
I'm trying to compile the latest version of miktex tools (with MiKTeX 2.8.3541 Source Code as found on http://miktex.org/unx/) on a brand new Mac OS X.6 (Snow Leopard) system. I stumbled on a first bug about malloc (while about 31% of compiling was finished) :
error: malloc.h: No such file or directory
which the log file said was related to line 26 of gram.y (in Build Utilities/c4p).
Googling this error gave me a simple fix : changing line 26 of gram.y (in Build Utilities/c4p) from
apparently solved the problem. Compiling again gives another challenging problem. Here is the relevant part of the compilation log :
Scanning dependencies of target ui-Qt-static
[ 56%] Building CXX object Libraries/MiKTeX/UI/Qt-static/CMakeFiles/ui-Qt-static.dir/__/Qt/ConnectionSettingsDialog.cpp.o
In file included from /Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45,
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2: error: #error "You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration."
In file included from /Library/Frameworks/QtGui.framework/Headers/qmatrix.h:46,
/Library/Frameworks/QtGui.framework/Headers/qregion.h: In member function ‘OpaqueRgnHandle* QRegion::handle(bool) const’:
/Library/Frameworks/QtGui.framework/Headers/qregion.h:160: error: ‘toQDRgn’ was not declared in this scope
make: *** [Libraries/MiKTeX/UI/Qt-static/CMakeFiles/ui-Qt-static.dir/__/Qt/ConnectionSettingsDialog.cpp.o] Error 1
make: *** [Libraries/MiKTeX/UI/Qt-static/CMakeFiles/ui-Qt-static.dir/all] Error 2
make: *** [all] Error 2
I'm really unable to overcome this error all by myself. Did anybody try and compile this version of miktex tools ?
Thank you in advance,
PS: I asked the same question on the Miktex User list, and I'll let you know if MikTex Users help me finish compile MikTex Tools.
More information about the MacOSX-TeX