<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Eric,<br><br> I already had this buildroot problem and fixed it, I copied the file locally and can create packages (rpm, deb) on my local computer without any problems.<br><br> The problem I have now is on another computer, accessed through SSH, and I already replaced the CPackRPM.cmake file. Where could the "File must begin with "/": come from? I tried to grep this error string in the cmake folder and didn't find it?<br><br>Thanks for your help,<br>Pascale<br><br>> Date: Thu, 25 Jun 2009 16:09:25 +0200<br>> Subject: Re: [CMake] CPack, error generating rpm file, error "File must begin         with "/": "<br>> From: eric.noulard@gmail.com<br>> To: chose29@hotmail.com<br>> CC: cmake@cmake.org<br>> <br>> 2009/6/25 Pascale B <chose29@hotmail.com>:<br>> > Hi All,<br>> ><br>> > I am using CMake, CPack to generate packages. I successfully generated<br>> > .tar.Z, .rpm and .deb files on my local computer. I am now trying to make<br>> > tests on a computer that I access with SSH and I am getting an error only<br>> > for the rpm file.<br>> ><br>> > The error presents as:<br>> > CPack Error: Problem copying the package:<br>> > .../lnx/_CPack_Packages/Linux/RPM/drop_sources-1.04.0-Linux.rpm to<br>> > .../lnx/MyApp.rpm<br>> ><br>> > and when looking at file rpmbuild.err, the content is:<br>> ><br>> > error: File must begin with "/":<br>> > File must begin with "/":<br>> > I'm not able to locate where this error comes from. Do you have any idea?<br>> <br>> You may be facing the buildroot problem with rpmbuild version greater<br>> than 4.6.0.<br>> See:<br>> http://www.vtk.org/Wiki/CMake:CPackPackageGenerators#CPack_RPM_currently_pending_bugs.2Ffeatures<br>> <br>> Which version of CMake are you using?<br>> Could you check the rpmbuild version?<br>> If it is greater than 4.6.x please upgrade to CMake CVS or<br>> replace your CPackRPM.cmake file with the one from CMake CVS HEAD.<br>> <br>> You may search the list archive for similar issues:<br>> <br>> http://www.cmake.org/Wiki/CMake_FAQ#Where_can_I_find_searchable_CMake_Mailing_Archives.3F<br>> -- <br>> Erk<br>> Membre de l'April - « promouvoir et défendre le logiciel libre » -<br>> http://www.april.org<br><br /><hr />Create a cool, new character for your Windows Live™ Messenger. <a href='http://go.microsoft.com/?linkid=9656621' target='_new'>Check it out</a></body>
</html>