Hi,

I do not get the infinite loop right now (not sure what caused it
then), but I get an error while trying.

djszapi@djszapi:/home/meego/gluon/buildroot /home/meego/gluon/build #  cpack
CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: Gluon
CPack: - Install project: Gluon
CPack: Create package
CPackRPM: Will use GENERATED spec file:
/home/meego/gluon/build/_CPack_Packages/Linux/RPM/SPECS/gluon.spec
CPack Error: Problem copying the package:
/home/meego/gluon/build/_CPack_Packages/Linux/RPM/Gluon-0.71.0.rpm to
/home/meego/gluon/build/Gluon-0.71.0.rpm
CPack Error: Error when generating package: Gluon
djszapi@djszapi:/home/meego/gluon/buildroot /home/meego/gluon/build #

The file is definitely not there, yes :o

http://www.mail-archive.com/cmake@cmake.org/msg20169.html

I have tried the aforementioned thread so that to add the
set(CPACK_SET_DESTDIR ON), but it ended up by printing this message:
CPackRPM:Warning: CPACK_SET_DESTDIR is set (=ON) while requesting a
relocatable package (CPACK_RPM_PACKAGE_RELOCATABLE is set): this is
not supported, the package won't be relocatable.

This is the relevant CPACK section in my CMakeLists.txt:
#Packaging options
#common package generation settings
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An open framework to create,
distribute and play games")
set(CPACK_PACKAGE_NAME "Gluon")
set(CPACK_PACKAGE_VERSION
"${GLUON_VERSION_MAJOR}.${GLUON_VERSION_MINOR}.${GLUON_VERSION_PATCH}")
set(CPACK_PACKAGE_FILE_NAME "Gluon-${GLUON_VERSION_STRING}")
set(CPACK_GENERATOR "RPM;TGZ")
set(CPACK_SET_DESTDIR ON) # this is the line I played off, but seems
not the culsprit.
set(CPACK_PACKAGE_CONTACT "Laszlo Papp <djsz...@archlinux.us>, Arjen
Hiemstra <ahiems...@heimr.nl>")

#debian package generation
#set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt4-gui (>= 4.6), libqt4-opengl
(>= 4.6), libopenal1, libsndfile1, libvorbis0a, libgles2")
#set(CPACK_DEBIAN_PACKAGE_SECTION "Games")

#rpm package generation

include(InstallRequiredSystemLibraries)
include(CPack)

Best Regards,
Laszlo Papp

On Sun, Mar 6, 2011 at 7:47 PM, Eric Noulard <eric.noul...@gmail.com> wrote:
> 2011/3/6 Laszlo Papp <djsz...@archlinux.us>:
>> CPack froze for hours.... What happened ? Seems a "nice" infinite loop... 
>> Idea ?
>>
>> Best Regards,
>> Laszlo Papp
>>
>> cpack
>> CPack: Create package using RPM
>> CPack: Install projects
>> CPack: - Run preinstall target for: Gluon
>
> try with verbose/debug mode:
>
> cpack --verbose
> or
> cpack --debug
> or
> both
> cpack --verbose --debug
>
> For CPackRPM you can have some more informations with
>
> cpack -D CPACK_RPM_PACKAGE_DEBUG=1 --verbose --debug
>
>  Then send me the log.
> --
> 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