2011/2/15 Yngve Inntjore Levinsen <yngve.levin...@gmail.com>: > Dear CMakers, > > I am trying to package a 32bit binary on a 64bit system. It breaks with the > (useless?) verbose output which follows below. What I could find of useful > information was in _CPack_Packages/Linux/RPM/rpmbuild.err, which stated > error: No compatible architectures found for build
Which version of CMake/CPack ? > I tried to set CPACK_RPM_PACKAGE_ARCHITECTURE and CPACK_PACKAGE_ARCHITECTURE > to i686, but that didn't do much. I found that e.g. the TGZ generator works > just fine, so I suppose it is something with the RPM generator, but I am not > clever enough to figure out what... > > Can anyone help? Could you send me the log obtained with: cpack -V -D CPACK_RPM_PACKAGE_DEBUG=1 -G RPM and send me the advertised "rpmbuild.err, rpmbuild.out, <yourpackageName>.spec" files? Some more questions: What is your linux distribution ? How did you build the 32bits binaries with CMake (? add -m32 using CFLAGS?) ? RPM packaging of 32bits apps on 64bits may not be portable at all, why are you trying to do that ? -- 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