Eric Noulard wrote
> 2013/4/19 hce <
> jupiter.hce@
> >:
>> Hi,
>>
>> I have another wired situation when I run "cpack -G RPM", the cpack
>> changed
>> a binary file permission:
>>
>> Original file in the build directory:
>
Hi,
I have another wired situation when I run "cpack -G RPM", the cpack changed
a binary file permission:
Original file in the build directory:
$ ls -l Robotic/Robotic-prefix/src/robotic/bin/CreateSystemObject
-rwxr-xr-x. 1 root root 15307640 Apr 19 12:01
Robotic/Robotic-prefix/src/robotic/bin/
Eric Noulard wrote
> 2013/4/17 jupiter <
> jupiter.hce@
> >:
>
> Could you check the size of the executable which gets into the RPM
> it should be located in:
>
> /_CPack_Packages/
>
> /RPM/
>
> /
>
> When CPackRPM runs you get a message like:
>
> CPackRPM: Will use GENERATED spec file:
Eric Noulard wrote
> 2013/4/5 hce <
> jupiter.hce@
> >
>
>> Eric Noulard wrote
>
> I did open a bug report for that.
>
> I did try a patch.
> Would you try it please?
> http://public.kitware.com/Bug/view.php?id=14063
>
> And comment on th
Eric Noulard wrote
> 2013/4/5 hce <
> jupiter.hce@
> >
>
> Yes for CPack RPM I can see why that is happening.
> The spec file generated by CPackRPM is
>1) generated
>2) configured (with @ONLY)
>
> This is handy for many reason so @ in pathname sh
Hi,
I have a binary directory contains subdirectories name with "@":
graph3d/@graph3d/@colorbar/colorbar.m
scribe/@scribe/@colorbar/colorbar.m
When I run cpack -G RPM, it removed @ and put following string name in the
spec:
graph3d/graph3d/colorbar/colorbar.m
scribe/scribe/colorbar/colorbar.m
Hi,
Has anyone built MATLAB Compiler Runtime (MCR) using cmake and cpack for RPM
package? I have built MCR using Cmake External Projects and installed the
binary in an installation directory, but when I run cpack -G RPM, it got
errors of missing many files in install directory. Why cpack created s
Andreas Stahl wrote
> Hello Jupiter,
>
> can you post the error message here? I wasn't aware that install(FILES
> ...) did any checking besides comparing the dates and overwriting if the
> file to be installed is newer.
> Also, you misunderstood what Petr meant. You need to escape the quotes in
>
not sure if 'not exists' can be given in lowercase.
>
> However, I'd strongly suggest using install(SCRIPT ...) instead of
> install(CODE ...), precisely because of the escaping issues.
>
> Petr
>
> On Mon, Mar 11, 2013 at 6:14 AM, hce <
> jupiter.hce@
&g
Hi,
I have following statement to install a file from source directory to
destination. It got a conflict error if the destination has already had the
file.
install(FILES "${source}/myfile.txt" DESTINATION ${destination})
Is there anyway to set either overwrite, or no overwrite if the file exist
Eric Noulard wrote
>> Has the issue been resolved in 2.8.10?
>
> Nope.
> And I have very little hope for 2.8.11 either since I have not free
> time windows visibility
> to work on that for myself now...
>
> Sorry.
> --
> Erk
> Le gouvernement représentatif n'est pas la démocratie --
> http://ww
Hi,
When will CMake 2.8.11 be released (Scheduled For Release 2013-01-30)?
The following bug Target Version is 2.8.11, is it still correct?
http://public.kitware.com/Bug/view.php?id=12997
Thank you.
Kind regards.
Jupiter
--
View this message in context:
http://cmake.3232098.n2.nabble.com/
just lack time to go through
> it.
> The work is not that difficult but it has many potential impact so that
> we shall take time to do it carefully.
Has the issue been resolved in 2.8.10?
Thank you.
Kind regards.
Jupiter
Eric Noulard wrote
> 2012/6/27 hce <
> jupiter.hce
Thanks Jean-Christophe. I did read the document before, but still could not
figure out how to switch all modules from default OFF to ON in ccmake
command line, and still could not figure out how to run ccmake without
interactive button push c-> configure, q-> quit.
I looked at ccmake --help, I gue
Hi,
I am writing a Linux bash script to run cmake, ccmake and cpack
automatically. The problem for ccmake is that is an interactive interface.
Is it possible to specify ccmake in command line to select all modules and
to run in a script without push buttons?
Please give an example how to run ccma
Hi,
I need to add an interfactive license agreement to an RPM package when it is
installed in Linux terminal (not GUI), it should display the license and
asked whether the user agree or not. I noticed from cmake 2.8.8 document
there is CPACK_RESOURCE_FILE_LICENSE may produce such process, am I rig
Hi,
I was able to run ctest -D Experimental and to submit test report from VTK
build process. Now I am setting up my own test project in
http://my.cdash.org, and hope to run ctest on my own source code and to
submit to my project in my.cdash.org.
I guess there are two ways to display results on
Hi,
i use install(FILE ..) to install a configuration file config.txt by both
RPM packages A.rpm and B.rpm, due to the name and version in config.txt, the
config.txt is not exactly the same in A.rpm and B.rpm. Now I've got an file
conflict error when A.rpm was installed, B.rpm failed the installat
Hi,
How do you control the file access permission when using file(WRITE filename
content)? The cmake 2.8.8 manual does not seem allow to specify access
permission in file(WRITE ..).
Thank you.
J
--
View this message in context:
http://cmake.3232098.n2.nabble.com/How-to-define-file-access-mod
Hi,
I am completely baffled by following results to get string values from a
function, please enlighten me what was wrong in following simplified
function?
function(GetParameterDebug oa ob oc od)
set(a "sa")
set(b "sb")
set(c "sc")
set(d "sd")
set(${oa} ${a} PARENT_SCOPE)
Thanks David and Michael.
Cheers.
Jupiter
--
View this message in context:
http://cmake.3232098.n2.nabble.com/Can-multiple-make-commands-be-set-in-BUILD-COMMAND-for-ExternalProject-Add-tp7580744p7580763.html
Sent from the CMake mailing list archive at Nabble.com.
--
Powered by www.kitware.com
Rolf Eike Beer wrote
>
> Of course it does, because the drop site is not set. And CTest should
> really
> be tought to do something sensible then and not trying to contact the
> universe
> and then complain it doesn't listen.
>
So both drop site http://public.kitware.com/cgi-bin/HTTPUploadDar
Hi,
In ExternalProject_Add, "BUILD_COMMAND make" works fine, but I need to add
multiple make commands. In Linux command line I can type "make && make
extra", but how can I set following BUILD_COMMAND for multiple make
commands, it just not working?
BUILD_COMMAND make && make extra
INSTALL_COMMAND
Thanks David. The wiki page I referenced is from
http://cmake.org/Wiki/CMake/Testing_With_CTest.
But I am not running ctest at VTK package, rather try to test cdash from my
own source package build, I added the setup from your link to the
CMakeLists.txt, but still failed at the same problem of cou
Hi,
I am running 2.8.8 on CentOS 6, and I followed VTK wiki instruction to set
following up and to run "ctest -D Experimental", but it failed to submit the
report. The error was that my hostname was not reachable. It is my PC, the
hostname is set to a proper domain name. But I thought it got right
Thanks Eike.
Cheers.
--
View this message in context:
http://cmake.3232098.n2.nabble.com/Why-execute-process-failed-escape-sequence-tp7580706p7580732.html
Sent from the CMake mailing list archive at Nabble.com.
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://w
Hi,
I can most of shell commands in execute_process(), but cmake failed at
following errors when I added "sed 's/^.\///g'" to execute_process():
Syntax error in cmake code, when parsing string 's/^.\///g', Invalid escape
sequence \/, Call Stack ...
But without the escape sequence \/, the shell c
m.hergarden wrote
>
> The unspecified may come from an Install statement that does not have a
> component specified.
>
> Micha
>
I actually double checked, there are only two install statements which all
have component specified. Could it be the bug?
Thank you.
Jupiter
--
View this messa
Hi,
I've read some discussions posted ten months ago on
http://cmake.3232098.n2.nabble.com/Component-Package-Name-td6976896.html
where Eric Noulard pointed out that we could not control component package
name for the reason of unique package name. I am currently running on 2.8.8
and generated very
Andreas Pakulat-2 wrote
>
> You can find extensive explanation where find_path works on the different
> platforms in the CMake documentation:
> http://cmake.org/cmake/help/v2.8.8/cmake.html#command:find_path
>
Thanks Andreas, but I am not looking for how to use find_path command. What
I really
Hi,
There were some discussions to fix %config at
http://public.kitware.com/Bug/view.php?id=10294. But I tried to use
CPACK_RPM_SPEC_IGNORE_FILES in 2.8.8, it does not seem work. What is current
situation to use %config? Even if the RPM variable works for %config, how
can the no replace files work
Hi,
I am running 2.8.8 on Linux. I have a library already been set up in
environment, I can see it in both LD_LIBRARY_PATH and $PATH, but when I was
compiling another source code which calling find_path() to check the library
package include path, it failed. In general, how the cmake find_path() t
Hi,
I am running 2.8.8 on Linux. I have a library already been set up in
environment, I can see it in both LD_LIBRARY_PATH and $PATH, but when I was
compiling another source code which calling find_path() to check the library
package include path, it failed. In general, how the cmake find_path() t
Hi,
I am using install command to package configuration files from source to
destination, but I don't want to overwrite the configuration files if the
files exist in destination. Are there any arguments in install(FILES ...)
command to specify NO REPLACE, NO OVERWRITE options to destination
instal
Hi,
I am using ccmake to configurate cache. The CMAKE_INSTALL_PREFIX is always
visible in the non-advinced mode and I don't want it. How can I remove the
CMAKE_INSTALL_PREFIX from the ccmake non-advinced mode?
Thank you.
--
View this message in context:
http://cmake.3232098.n2.nabble.com/How-to
oject?
Thank you.
Kind regards,
hce
--
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/unsubs
Thanks Eric, that helps.
Kind regards.
hce
On 2012-05-31 09:20+0200, Eric Noulard wrote:
2012/5/31 jupiter :
Hi,
Sorry for an FAQ, I am new to cpack. I am going to use cpack to generate an
rpm package to contain all binary files, bin, lib etc under
CMAKE_BINARY_DIR/myApplicationBinaryDir
37 matches
Mail list logo