2011/2/16 Yngve Inntjore Levinsen <[email protected]>:
> Dear Eric,
>
> First, thank you for a very quick reply!
>
> The log you requested is attached. The rpmbuild.out file is empty, and the 
> rpmbuild.err has one line which states:
> error: No compatible architectures found for build
>
> I am using cmake/cpack version 2.6-patch 4. I have rpmbuild version 4.4.2.3.

CMake 2.6.4 is ancient...and the 2.6.x branch has been stopped.
Would you be able to try 2.8.3
see http://www.cmake.org/files/v2.8/ ?

>
> Why I am doing it? I suppose it is a rather weird request, but I want to 
> build a 32bit binary on my 64bit server and distribute the program to many 
> people that still use a 32bit machine. In order to have maximum compability, 
> it has been decided that we should provide a statically linked 32bit 
> executable. It is not necessary to provide this in an rpm of course, but it 
> would be nice if it was possible.

It should be, and it should work because you build static.
I do not remember the state of CPack RPM in 2.6.4 so I have to dig it out
in order to see how you can enforce the appropriate arch.

Before I do that,
could you tell me if you can afford to use CMake 2.8.3 ?


-- 
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

Reply via email to