On Friday 01 May 2009 10:04:03 am dean talbot wrote: > On Fri, 1 May 2009 02:37:59 +0100 > > lux-integ <[email protected]> wrote: > > ---snip--- > > > > the file in question is:- > > qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_entity.cpp > > Gentoo use the attached src-intptr-patch, which refers to that file - > Arch also use it in the package on their user-repository. > > The Gentoo ebuild also uses a gcc43-patch and a doc-patch, so i'll try > to attach them as well for your perusal (despite the 2.0.4.0-version, > they're all used by the 2.0.5.0-ebuild) - hope they help. > > Dean thanks for your help. I applied the patches and the build progressed and ended as shown below:- ########### g++ -c -pipe -pedantic -Wall -W -O2 -DRS_NO_COMPLEX_ENTITIES -DQT_NO_DEBUG -I/opt/qt-3.3.8b/mkspecs/linux-g++-64 -I. -I../include -I../../dxflib/include -I../../fparser/include -I../../qcadcmd/include -I/opt/qt-3.3.8b/include -Imoc/ -o obj/rs_actioninterface.o actions/rs_actioninterface.cpp In file included from /opt/qt-3.3.8b/include/qobjectdefs.h:45, from /opt/qt-3.3.8b/include/qobject.h:45, from actions/rs_actioninterface.h:31, from actions/rs_actioninterface.cpp:28: /opt/qt-3.3.8b/include/qglobal.h:734: error: ISO C++ 1998 does not support 'long long' /opt/qt-3.3.8b/include/qglobal.h:735: error: ISO C++ 1998 does not support 'long long' make[2]: *** [obj/rs_actioninterface.o] Error 1 make[2]: Leaving directory `~/qcad-2.0.5.0-1-community.src/qcadlib/src' make[1]: *** [lib/libqcad.a] Error 2 make[1]: Leaving directory `~/qcad-2.0.5.0-1-community.src/qcadlib' make: *** [all] Error 2 Building qcadlib failed
########### in otherwords same as where I reached before (cf positing on this list last Wednesday 12:12:55 pm) >From this point, I tried the SED recommended by DavidJensen (on this list) and it worked until I bumped into the data-type problem in file qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_entity.cpp (line 864) (I am using a 64-bit build. If you (or anyone on list) are on a 32-bit setup (with qt-3.3.8b), perhaps you could attempt the build and see if it fails at the same place.) (remark the 'ribbonsoft' recommended version is qt-3.3.4) Thanks againf for your input and please pass any other suggestions you (et al ) might have this way. Yours sincerely lux-integ. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
