On Jan 7, 2010, at 10:18 PM, monipol wrote: > For example, add the following Perl pie to PatchScript: > > perl -pi -e 's/-pedantic/-pedantic -Wno-long-long/' mkspecs/defs.pro
Thanks, that worked to get past that error. Next is this one: -------- Building QCad -------- cd src && make c++ -c -pipe -pedantic -Wno-long-long -Wall -W -Os -DQC_APPKEY="\"/ QCad\"" -DQC_APPDIR="\"qcad\"" -DQC_APPNAME="\"QCad\"" -DQT_NO_DEBUG - I/sw/lib/qt3/mkspecs/macx-g++ -I. -I../../fparser/include -I../../ dxflib/include -I../../qcadlib/include -I../../qcadcmd/include -I../../ qcadactions/include -I../../qcadguiqt/include -I/sw/lib/qt3/include - Imoc/ -o obj/qc_applicationwindow.o qc_applicationwindow.cpp qc_applicationwindow.cpp:250: warning: unused parameter 'name' c++ -c -pipe -pedantic -Wno-long-long -Wall -W -Os -DQC_APPKEY="\"/ QCad\"" -DQC_APPDIR="\"qcad\"" -DQC_APPNAME="\"QCad\"" -DQT_NO_DEBUG - I/sw/lib/qt3/mkspecs/macx-g++ -I. -I../../fparser/include -I../../ dxflib/include -I../../qcadlib/include -I../../qcadcmd/include -I../../ qcadactions/include -I../../qcadguiqt/include -I/sw/lib/qt3/include - Imoc/ -o obj/qc_dialogfactory.o qc_dialogfactory.cpp c++ -c -pipe -pedantic -Wno-long-long -Wall -W -Os -DQC_APPKEY="\"/ QCad\"" -DQC_APPDIR="\"qcad\"" -DQC_APPNAME="\"QCad\"" -DQT_NO_DEBUG - I/sw/lib/qt3/mkspecs/macx-g++ -I. -I../../fparser/include -I../../ dxflib/include -I../../qcadlib/include -I../../qcadcmd/include -I../../ qcadactions/include -I../../qcadguiqt/include -I/sw/lib/qt3/include - Imoc/ -o obj/qc_graphicview.o qc_graphicview.cpp c++ -c -pipe -pedantic -Wno-long-long -Wall -W -Os -DQC_APPKEY="\"/ QCad\"" -DQC_APPDIR="\"qcad\"" -DQC_APPNAME="\"QCad\"" -DQT_NO_DEBUG - I/sw/lib/qt3/mkspecs/macx-g++ -I. -I../../fparser/include -I../../ dxflib/include -I../../qcadlib/include -I../../qcadcmd/include -I../../ qcadactions/include -I../../qcadguiqt/include -I/sw/lib/qt3/include - Imoc/ -o obj/qc_mdiwindow.o qc_mdiwindow.cpp c++ -c -pipe -pedantic -Wno-long-long -Wall -W -Os -DQC_APPKEY="\"/ QCad\"" -DQC_APPDIR="\"qcad\"" -DQC_APPNAME="\"QCad\"" -DQT_NO_DEBUG - I/sw/lib/qt3/mkspecs/macx-g++ -I. -I../../fparser/include -I../../ dxflib/include -I../../qcadlib/include -I../../qcadcmd/include -I../../ qcadactions/include -I../../qcadguiqt/include -I/sw/lib/qt3/include - Imoc/ -o obj/main.o main.cpp /sw/lib/qt3/bin/uic -embed qcad images/contents.png images/ document.png images/editclear.png images/qcad16.png images/qcad.png -o qmake_image_collection.cpp c++ -c -pipe -pedantic -Wno-long-long -Wall -W -Os -DQC_APPKEY="\"/ QCad\"" -DQC_APPDIR="\"qcad\"" -DQC_APPNAME="\"QCad\"" -DQT_NO_DEBUG - I/sw/lib/qt3/mkspecs/macx-g++ -I. -I../../fparser/include -I../../ dxflib/include -I../../qcadlib/include -I../../qcadcmd/include -I../../ qcadactions/include -I../../qcadguiqt/include -I/sw/lib/qt3/include - Imoc/ -o obj/qmake_image_collection.o qmake_image_collection.cpp /sw/lib/qt3/bin/moc qc_applicationwindow.h -o moc/ moc_qc_applicationwindow.cpp c++ -c -pipe -pedantic -Wno-long-long -Wall -W -Os -DQC_APPKEY="\"/ QCad\"" -DQC_APPDIR="\"qcad\"" -DQC_APPNAME="\"QCad\"" -DQT_NO_DEBUG - I/sw/lib/qt3/mkspecs/macx-g++ -I. -I../../fparser/include -I../../ dxflib/include -I../../qcadlib/include -I../../qcadcmd/include -I../../ qcadactions/include -I../../qcadguiqt/include -I/sw/lib/qt3/include - Imoc/ -o obj/moc_qc_applicationwindow.o moc/moc_qc_applicationwindow.cpp /sw/lib/qt3/bin/moc qc_graphicview.h -o moc/moc_qc_graphicview.cpp c++ -c -pipe -pedantic -Wno-long-long -Wall -W -Os -DQC_APPKEY="\"/ QCad\"" -DQC_APPDIR="\"qcad\"" -DQC_APPNAME="\"QCad\"" -DQT_NO_DEBUG - I/sw/lib/qt3/mkspecs/macx-g++ -I. -I../../fparser/include -I../../ dxflib/include -I../../qcadlib/include -I../../qcadcmd/include -I../../ qcadactions/include -I../../qcadguiqt/include -I/sw/lib/qt3/include - Imoc/ -o obj/moc_qc_graphicview.o moc/moc_qc_graphicview.cpp /sw/lib/qt3/bin/moc qc_mdiwindow.h -o moc/moc_qc_mdiwindow.cpp c++ -c -pipe -pedantic -Wno-long-long -Wall -W -Os -DQC_APPKEY="\"/ QCad\"" -DQC_APPDIR="\"qcad\"" -DQC_APPNAME="\"QCad\"" -DQT_NO_DEBUG - I/sw/lib/qt3/mkspecs/macx-g++ -I. -I../../fparser/include -I../../ dxflib/include -I../../qcadlib/include -I../../qcadcmd/include -I../../ qcadactions/include -I../../qcadguiqt/include -I/sw/lib/qt3/include - Imoc/ -o obj/moc_qc_mdiwindow.o moc/moc_qc_mdiwindow.cpp test -d ../qcad.app/Contents/MacOS/ || mkdir -p ../qcad.app/Contents/ MacOS/ c++ -headerpad_max_install_names -prebind -o ../qcad.app/Contents/ MacOS/qcad obj/qc_applicationwindow.o obj/qc_dialogfactory.o obj/ qc_graphicview.o obj/qc_mdiwindow.o obj/main.o obj/ qmake_image_collection.o obj/moc_qc_applicationwindow.o obj/ moc_qc_graphicview.o obj/moc_qc_mdiwindow.o -L/sw/lib/qt3/lib - lqassistantclient ../../qcadguiqt/lib/libqcadguiqt.a ../../qcadactions/ lib/libqcadactions.a ../../qcadcmd/lib/libqcadcmd.a ../../qcadlib/lib/ libqcad.a ../../dxflib/lib/libdxf.a ../../fparser/lib/libfparser.a - lqt-mt Building qcad binary failed ### execution of /var/tmp/tmp.0.fkOzVB failed, exit code 1 ### execution of /var/tmp/tmp.4.SRxMoc failed, exit code 1 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-qcad-2.0.5.0-1-2 (Reading database ... 54238 files and directories currently installed.) Removing fink-buildlock-qcad-2.0.5.0-1-2 ... Failed: phase compiling: qcad-2.0.5.0-1-2 failed I don't see an error, except that the build failed... > > You haven't sent the patch file so I'm not sure if my build will > finish successfully. At any rate, the build has certainly got past > the previous build that had -pedantic only. The patch file can be found here: http://fink.cvs.sourceforge.net/viewvc/*checkout*/fink/dists/10.3/unstable/main/finkinfo/graphics/qcad.patch?revision=1.2 - Koen. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Fink-devel mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
