The following is a rather frequent type of problem ; one new way to solve it is using dmacks' "flag-sort" package.
The build of qtiplot-qt4-x11 broke down with: > c++ -c -pipe -O2 -Wall -W -D__USE_WS_X11__ -DSCRIPTING_CONSOLE - > DSCRIPTING_DIALOG -DQT_PLUGIN -DSCRIPTING_MUPARSER - > DGL2PS_HAVE_LIBPNG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB - > DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB - > DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/sw/lib/qt4-x11/mkspecs/ > darwin-g++ -I. -I/sw/lib/qt4-x11/include/QtCore -I/sw/lib/qt4-x11/ > include/QtNetwork -I/sw/lib/qt4-x11/include/QtGui -I/sw/lib/qt4-x11/ > include/QtOpenGL -I/sw/lib/qt4-x11/include/QtXml -I/sw/lib/qt4-x11/ > include/Qt3Support -I/sw/lib/qt4-x11/include/QtSvg -I/sw/lib/qt4-x11/ > include -I/sw/lib/qt4-x11/include/QtAssistantClient -I/sw/lib/qt4- > x11/include/QtAssistant -I/sw/include -I/sw/include/gsl -I/sw/ > include/boost-1_35/boost -I/sw/lib/qt4-x11/include/qwt -I../3rdparty/ > qwtplot3d/include -I../3rdparty/liborigin -I../3rdparty/zlib -Iicons > -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/lib/include - > Isrc/plot2D -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/ > origin -Isrc/table -Isrc/scripting -I/sw/include -I/usr/X11/include - > I/sw/bld/qtiplot-qt4-x11-0.9.7.6-2/qtiplot-0.9.7.6/tmp/qtiplot -I. - > o ../tmp/qtiplot/fft2D.o src/analysis/fft2D.cpp > src/analysis/fft2D.cpp: In function 'void fft2d(double**, double**, > int, int)': > src/analysis/fft2D.cpp:120: error: 'Matrix' has not been declared > src/analysis/fft2D.cpp:120: error: 'allocateMatrixData' was not > declared in this scope > ... This is because, given the flag-ordering, libecat's %p/include/ matrix.h is included (on case-insensitive FS) instead of ./src/matrix/Matrix.h. Too lazy to try fixing this cmake stuff.. (sure there must be a way, either to fix the flag-ordering, or to change compiler and linker); so, dirty solution : Adding to the patchscript the lines > echo '#!/bin/sh -ev > name=`basename $0` > flag-sort -v /usr/bin/$name $@' >> ../c++ > chmod a+x ../c++ > ln ../c++ ../cc and changing the PATH line to : > export PATH="%b/..:$QTDIR/bin:%p/lib/freetype219/bin:$PATH" fixes the problem. JF Mertens ------------------------------------------------------------------------------ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel