Restore the mailing list ! Well, first I cannot build :)
cd /home/meego/gluon/build/core && /usr/bin/c++ -DMAKE_GLUON_CORE_LIB -Wall -Wno-psabi -Wall -g3 -ggdb -O0 -Wno-psabi -fPIC -I/home/meego/gluon -I/home/meego/gluon/build -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtGui -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/home/meego/gluon/build/core -I/home/meego/gluon/core -o CMakeFiles/GluonCore.dir/debughelper.cpp.o -c /home/meego/gluon/core/debughelper.cpp /tmp/cc9jVmy7.s: Assembler messages: /tmp/cc9jVmy7.s:8659: Error: selected processor does not support `ldrex r4,[r3]' /tmp/cc9jVmy7.s:8661: Error: selected processor does not support `strex r5,r4,[r3]' /tmp/cc9jVmy7.s:8711: Error: selected processor does not support `ldrex r4,[r3]' /tmp/cc9jVmy7.s:8713: Error: selected processor does not support `strex r5,r4,[r3]' make[2]: *** [core/CMakeFiles/GluonCore.dir/debughelper.cpp.o] Error 1 make[2]: Leaving directory `/home/meego/gluon/build' make[1]: *** [core/CMakeFiles/GluonCore.dir/all] Error 2 make[1]: Leaving directory `/home/meego/gluon/build' make: *** [all] Error 2 I have been said by Thiago, it is because of the missing -march=armv7-a option. It should be handled internally by cmake, can you fix this bug, please and tell me the hackaround that I can use until the release ? Thank you in advance! Best Regards, Laszlo Papp On Fri, Mar 4, 2011 at 9:50 PM, Eric Noulard <eric.noul...@gmail.com> wrote: > 2011/3/4 Laszlo Papp <djsz...@archlinux.us>: >> On Fri, Mar 4, 2011 at 3:05 PM, Eric Noulard <eric.noul...@gmail.com> wrote: >>> 2011/3/4 Laszlo Papp <djsz...@archlinux.us>: >>>> Hi, >>>> >>>> Can I create an rpm package with cpack in order to not deal with spec >>>> files ? >>> >>> Yes you can CPackRPM is meant to do that: >>> http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM_.28Unix_Only.29 >>> >>> The fastest path is to try: >>> >>> $ cd /path/to/builddir >>> $ cpack -G RPM >> >> Right, so you are saying it will create the rpm package with no spec >> file reuqested. > > Yes. > CPackRPM required some CPACK_RPM_xxxx var def, > however most of them have default values. > > The following command will give you the list: > > $ cmake --help-module CPackRPM | grep -B 1 -A 1 "Mandatory : YES" > >>>> We did not need to put any debian/{changelog,rules,control} files >>>> related implementation into the project so that to build a debian >>>> package for arm with cpack. >>> >>> However are you cross-compiling to arm or do you package natively on >>> arm-linux ? >> >> Well not. I am developing on x86_64 in a cross-compilation way for >> arm, N900, MeeGo. >> http://wiki.meego.com/Developing_in_a_MeeGo_Environment > > I do not know that setup and AFAIK CPackRPM has never been used > in a cross-compiling env. so like I said before give it a try and > tell me what happen. > >> CPack seems an easier way than OBS if one does not know how to write >> spec files. That is why I started this whole thread whether or not >> cpack is an easy way to generate rpm package for the N900 mobile - >> like previously debian packages with cpack for the same mobile, but >> Maemo5/Fremantle platform - or I need to make some other further >> hackery. > > Again CPackRPM has been tested in "native" environnement, > I don't know how it will behave in a chroot ARM Meego image. > > Try it, and tell me what happen. > >>>> PS: I am not on the list, so please drop me into the 'CC' field. >>> >>> This is usually a bad habitI am even surprised that you can post >>> without being on list. >>> You could subscribe to the list for the duration of your discussion >>> and then un-subscribe afterwards. >> >> I subscribed only for the posting and unsubscribe then immediately >> since I am not interested in other mails. > > Seems awkward to me but OK, that's your choice :-] > > > -- > Erk > Membre de l'April - « promouvoir et défendre le logiciel libre » - > http://www.april.org > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake