[cmake-developers] [CMake 0012129]: Add top level directory to component install

2011-04-27 Thread Mantis Bug Tracker

The following issue has been SUBMITTED. 
== 
http://public.kitware.com/Bug/view.php?id=12129 
== 
Reported By:Daniel Nelson
Assigned To:
== 
Project:CMake
Issue ID:   12129
Category:   CPack
Reproducibility:always
Severity:   feature
Priority:   normal
Status: new
== 
Date Submitted: 2011-04-27 15:12 EDT
Last Modified:  2011-04-27 15:12 EDT
== 
Summary:Add top level directory to component install
Description: 
When CPACK_ARCHIVE_COMPONENT_INSTALL is on, the packages do not contain a top
level directory, unlike with the non component install.  This is true even if
CPACK_INCLUDE_TOPLEVEL_DIRECTORY is enabled.

It would be nice if a top level directory could be added.  This would mirror the
behavior of the non component install and prevent an annoying surprise for
anyone untarring without listing the contents first.

I also think having this top level directory should be the default, since
CPACK_INCLUDE_TOPLEVEL_DIRECTORY=1 is the default for archives.
== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2011-04-27 15:12 Daniel Nelson  New Issue
==

___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Better Eclipse CDT support

2011-04-27 Thread Alexander Neundorf
On Monday 25 April 2011, Oliver Buchtala wrote:
 Am 20.04.2011 22:09, schrieb Alexander Neundorf:
  ...
 
  What would you expect there ?
 
  Some structure that gives me acces to the sources of the targets.
  I suppose, you try to achieve this with sub-projects, but it does not
  work properly in my case.
 
  How does it work not properly ?
  Don't you have project() calls or are they not created ?

 While creating a document on my generator implementation, I stumbled
 over the solution to this problem.

 [Subprojects] was empty in my setting because the generated link
 specifications have been invalid.
 Maybe, Eclipse CDT has changed here (?).

 You have to use 'locationURI' for virtual folders and 'location' for
 linked folders.
 I.e., specify a linked folder like that (in .cproject-file):

 ...
 linkedResources
 link
 name[Subprojects]/name
 type2/type
 locationURIvirtual:/virtual/locationURI
 /link
 link
 name[Subprojects]/LIBCURL/name
 type2/type
 locationD:/libraries/cmake-git/Utilities/cmcurl/location
 /link
 /linkedResources
 ...

Does the attached patch fix this for you ?

For me (Eclipse Helios under Linux) it doesn't make a difference.

Alex
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx
index c4ea425..8e26b8e 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -403,7 +403,7 @@ void cmExtraEclipseCDT4Generator::CreateProjectFile()
   // for each sub project create a linked resource to the source dir
   // - only if it is an out-of-source build
   this-AppendLinkedResource(fout, [Subprojects],
- virtual:/virtual);
+ virtual:/virtual, true);
 
   for (std::mapcmStdString, std::vectorcmLocalGenerator* ::const_iterator
it = this-GlobalGenerator-GetProjectMap().begin();
@@ -1082,17 +1082,24 @@ void cmExtraEclipseCDT4Generator
 void cmExtraEclipseCDT4Generator
 ::AppendLinkedResource (cmGeneratedFileStream fout,
 const std::string name,
-const std::string path)
+const std::string path,
+bool isVirtualFolder)
 {
+  const char* locationTag = location;
+  if (isVirtualFolder) // ... and not a linked folder
+{
+locationTag = locationURI;
+}
+
   fout 
 \t\tlink\n
 \t\t\tname
  cmExtraEclipseCDT4Generator::EscapeForXML(name)
  /name\n
 \t\t\ttype2/type\n
-\t\t\tlocationURI
+\t\t\t  locationTag  
  cmExtraEclipseCDT4Generator::EscapeForXML(path)
- /locationURI\n
+ /  locationTag  \n
 \t\t/link\n
 ;
 }
diff --git a/Source/cmExtraEclipseCDT4Generator.h b/Source/cmExtraEclipseCDT4Generator.h
index 99e69c4..a683731 100644
--- a/Source/cmExtraEclipseCDT4Generator.h
+++ b/Source/cmExtraEclipseCDT4Generator.h
@@ -87,7 +87,8 @@ private:
 
   static void AppendLinkedResource (cmGeneratedFileStream fout,
 const std::string name,
-const std::string path);
+const std::string path,
+bool isVirtualFolder = false);
 
   bool AppendOutLinkedResource(cmGeneratedFileStream fout,
const std::string defname,
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Better Eclipse CDT support

2011-04-27 Thread Oliver Buchtala
Am 27.04.2011 21:28, schrieb Alexander Neundorf:
 On Monday 25 April 2011, Oliver Buchtala wrote:
 Am 20.04.2011 22:09, schrieb Alexander Neundorf:
 ...

 What would you expect there ?
 Some structure that gives me acces to the sources of the targets.
 I suppose, you try to achieve this with sub-projects, but it does not
 work properly in my case.
 How does it work not properly ?
 Don't you have project() calls or are they not created ?
 While creating a document on my generator implementation, I stumbled
 over the solution to this problem.

 [Subprojects] was empty in my setting because the generated link
 specifications have been invalid.
 Maybe, Eclipse CDT has changed here (?).

 You have to use 'locationURI' for virtual folders and 'location' for
 linked folders.
 I.e., specify a linked folder like that (in .cproject-file):

 ...
 linkedResources
 link
 name[Subprojects]/name
 type2/type
 locationURIvirtual:/virtual/locationURI
 /link
 link
 name[Subprojects]/LIBCURL/name
 type2/type
 locationD:/libraries/cmake-git/Utilities/cmcurl/location
 /link
 /linkedResources
 ...
 Does the attached patch fix this for you ?

 For me (Eclipse Helios under Linux) it doesn't make a difference.

 Alex
Yep.  This does under Windows as well.

Bye,
Oliver
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [CMake] Possiblity to speedup the build by compiling multiple files in one compiler invocation

2011-04-27 Thread Yuri Timenkov
However, it is well-known technique called Unity Build and has some side,
effects both useful (more room for optimizer) and not (always full rebuild).
You may google a bit more about it.

On Apr 27, 2011 12:01 AM, Alexander Neundorf a.neundorf-w...@gmx.net
wrote:
 On Tuesday 26 April 2011, Martin Nielsen wrote:
 Hi,

 I have been asked to look into the possibilities of compiling multiple
 files in one invocation of the compiler like:

 armcc.exe ... file1.c file2.c ... fileN.c -o mylib.lib

 The cross compiler we are using requires a license in order to compile
the
 file. It is a network floating license mechanism and the majority of the
 time it take to build the code is spent on acquiring the license.
Parallel
 build is sadly not an option either since it just requests multiple
 licenses and we quickly run out.

 I was wondering if CMake could be directed to somehow do this? or it
would
 break some dependency between the source files and the generation of the
 library.

 I suspect it isn't possible but would like to confirm this or explore
other
 ideas on how to get around this problem.

 In KDE we have an option KDE4_ENABLE_FINAL.
 If this is set to TRUE, then for each binary a cpp-file is generated,
which
 has #include file.cpp statements for each of the original source files,
and
 then this one file, which then contains basically the whole source code,
is
 compiled at once.

 You can search for enable_final e.g. here:

http://websvn.kde.org/branches/KDE/4.5/kdelibs/cmake/modules/KDE4Macros.cmake?revision=1143427view=markup

 This is transparent for the user.
 If he uses kde4_add_executable(foo a.cpp b.cpp main.cpp)
 and turns the option on, then the all-in-one file is created automatically
and
 built.

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

[CMake] CMake installation on Mac - compilers not found

2011-04-27 Thread Renan Mendes
Hello, everyone.

This is my first email to this group (and I fear it has not started so
well...). Before deciding to send it I've searched for a while on the web
not finding anything that would really solve my issue. Please, bear with me
while I try to describe my actions and the errors messages I got.

First, I have tried downloading the mac installer (
cmake-2.8.4-Darwin-universal.dmghttp://www.cmake.org/files/v2.8/cmake-2.8.4-Darwin-universal.dmg).
It appeared to be going very well, until it got to the part of running some
scripts. The CMake icon on the dock started jumping restlessly and nothing
seemed to happen. I had to kill the process manually. I've tried this
several times, and then I've decided to download the second option that
wouldn't make me compile everything myself. I've tried then with
cmake-2.8.4-Darwin-universal.tar.gzhttp://www.cmake.org/files/v2.8/cmake-2.8.4-Darwin-universal.tar.gz
.
Opening CMake 2.8-4.app turned out to be useless. Nothing happened but the
usual up-and-down movement of the dock icon.

Finally, I've succumbed to trying to compile the whole thing myself. I have
then downloaded
cmake-2.8.4.tar.gzhttp://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gz
and,
following the instructions on http://www.cmake.org/cmake/help/install.html I
have executed bootstrap. Well, of course, it failed too. But now I could see
why: the terminal wasn't recognizing the gcc command. Searching a little for
that on the web, I found out I was missing a path on my .bash_profile file.
Surprisingly, I did not have one. I created it and included the path to
where lied gcc et al.

The command itself was working perfectly. But it was not enough for CMake's
bootstrap, for when opening the error log, I've encountered what you'll find
attached. I don't seem to have *anything* I need to make this work (even
some libraries that the bootstrap relies on). It's been only one month that
I have this MacBook Pro. I never formatted it or anything, so everything
that comes with it, should be there.

If someone has been through the same ordeal or knows how to solve it, I'd
appreciate very much your insight.

Thank you,

Renan MENDES


cmake_bootstrap.log
Description: Binary data
___
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

Re: [CMake] Possiblity to speedup the build by compiling multiple files in one compiler invocation

2011-04-27 Thread Verweij, Arjen
Is this of use to you?

http://www.gmixer.com/archives/46/comment-page-1#comment-320

Regards,
Arjen

From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of 
Martin Nielsen
Sent: dinsdag 26 april 2011 15:11
To: cmake@cmake.org
Subject: [CMake] Possiblity to speedup the build by compiling multiple files in 
one compiler invocation

Hi,

I have been asked to look into the possibilities of compiling multiple files in 
one invocation of the compiler like:

armcc.exe ... file1.c file2.c ... fileN.c -o mylib.lib 

The cross compiler we are using requires a license in order to compile the 
file. It is a network floating license mechanism and the majority of the time 
it take to build the code is spent on acquiring the license. Parallel build is 
sadly not an option either since it just requests multiple licenses and we 
quickly run out.

I was wondering if CMake could be directed to somehow do this? or it would 
break some dependency between the source files and the generation of the 
library.

I suspect it isn't possible but would like to confirm this or explore other 
ideas on how to get around this problem.

Med venlig hilsen / Best Regards

Martin Nielsen


Member of the CSR plc group of companies. CSR plc registered in England and 
Wales, registered number 4187346, registered office Churchill House, Cambridge 
Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom 
___
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


Re: [CMake] CMake installation on Mac - compilers not found

2011-04-27 Thread Michael Jackson
Did you install the Xcode developer tools?

-
Mike Jackson www.bluequartz.net
Principal Software Engineer   mike.jack...@bluequartz.net
BlueQuartz Software   Dayton, Ohio
Sent from my mobile device.

On Apr 27, 2011, at 5:05, Renan Mendes renanmzmen...@gmail.com wrote:

Hello, everyone.

This is my first email to this group (and I fear it has not started so
well...). Before deciding to send it I've searched for a while on the web
not finding anything that would really solve my issue. Please, bear with me
while I try to describe my actions and the errors messages I got.

First, I have tried downloading the mac installer (
cmake-2.8.4-Darwin-universal.dmghttp://www.cmake.org/files/v2.8/cmake-2.8.4-Darwin-universal.dmg).
It appeared to be going very well, until it got to the part of running some
scripts. The CMake icon on the dock started jumping restlessly and nothing
seemed to happen. I had to kill the process manually. I've tried this
several times, and then I've decided to download the second option that
wouldn't make me compile everything myself. I've tried then with
cmake-2.8.4-Darwin-universal.tar.gzhttp://www.cmake.org/files/v2.8/cmake-2.8.4-Darwin-universal.tar.gz
.
Opening CMake 2.8-4.app turned out to be useless. Nothing happened but the
usual up-and-down movement of the dock icon.

Finally, I've succumbed to trying to compile the whole thing myself. I have
then downloaded
cmake-2.8.4.tar.gzhttp://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gz
and,
following the instructions on http://www.cmake.org/cmake/help/install.html I
have executed bootstrap. Well, of course, it failed too. But now I could see
why: the terminal wasn't recognizing the gcc command. Searching a little for
that on the web, I found out I was missing a path on my .bash_profile file.
Surprisingly, I did not have one. I created it and included the path to
where lied gcc et al.

The command itself was working perfectly. But it was not enough for CMake's
bootstrap, for when opening the error log, I've encountered what you'll find
attached. I don't seem to have *anything* I need to make this work (even
some libraries that the bootstrap relies on). It's been only one month that
I have this MacBook Pro. I never formatted it or anything, so everything
that comes with it, should be there.

If someone has been through the same ordeal or knows how to solve it, I'd
appreciate very much your insight.

Thank you,

Renan MENDES


 cmake_bootstrap.log

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

Re: [CMake] SuperBuild whoes

2011-04-27 Thread Michael Hertling
On 04/26/2011 03:19 PM, Michael Wild wrote:
 On 04/26/2011 02:48 PM, Michael Hertling wrote:
 On 04/25/2011 05:15 PM, Michael Wild wrote:
 On 04/25/2011 04:51 PM, Michael Hertling wrote: [...]
 [...] The only thing that required some thinking was writing a
 relocatable XXXConfig.cmake file. I think I will update my
 tutorial on the WIKI to use a un-configured, relocatable 
 XXXConfig.cmake file.

 Just a hint for that tutorial, though off-topic: Targets may
 usually not be defined multiple times, i.e. the export file
 generated by INSTALL(EXPORT ...) may not be included more than
 once, so the

 include(@FOOBAR_CMAKE_DIR@/FooBarLibraryDepends.cmake)

 should possibly be guarded by IF(NOT TARGET ...)/ENDIF()
 constructs. Otherwise, the resulting FooBarConfig.cmake file must
 not be loaded twice or more - unless one is aware of the imported
 targets' feature of being, say, half-scoped, cf. [1]. This
 might be an uncomfortable limitation, in particular w.r.t.
 multi-component packages. Regrettably, such IF(NOT TARGET
 ...)/ENDIF() constructs can hardly be automated, so one could
 perhaps consider to allow redefinitions for imported targets. Due
 to the absence of sources, this should be much easier to
 implement than for non-imported targets.

 Good point. I will do something like this:

 get_property(FOOBAR_INCLUDED GLOBAL PROPERTY FOOBAR_INCLUDED
 DEFINED) if(NOT FOOBAR_INCLUDED) # include
 FooBarLibraryDepends.cmake here set_property(GLOBAL PROPERTY
 FOOBAR_INCLUDED TRUE) endif()

 Don't do it in this way. First, the DEFINED clause of GET_PROPERTY() 
 queries if the property has been *defined* by DEFINE_PROPERTY(); if 
 it is *set* by SET_PROPERTY() et al. doesn't matter in this regard. 
 See the following CMakeLists.txt:

 CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR) PROJECT(PROPERTIES
 NONE) GET_PROPERTY(d GLOBAL PROPERTY P DEFINED) GET_PROPERTY(s GLOBAL
 PROPERTY P SET) MESSAGE(P initially: defined=${d}, set=${s}) 
 SET_PROPERTY(GLOBAL PROPERTY P TRUE) GET_PROPERTY(d GLOBAL PROPERTY P
 DEFINED) GET_PROPERTY(s GLOBAL PROPERTY P SET) MESSAGE(P after
 setting: defined=${d}, set=${s}) DEFINE_PROPERTY(GLOBAL PROPERTY P
 BRIEF_DOCS P FULL_DOCS P) GET_PROPERTY(d GLOBAL PROPERTY P
 DEFINED) GET_PROPERTY(s GLOBAL PROPERTY P SET) MESSAGE(P after
 defining: defined=${d}, set=${s})

 Thus, you must use GET_PROPERTY()'s SET clause to achieve your aim.
 
 Argh, sorry. I meant SET, of course.
 

 Moreover, imported targets - in contrast to traditional ones - are,
 as I said, half-scoped, i.e. they've a scope like variables, but
 cannot be overwritten/redefined. As a consequence, you can define an
 imported target in a subdirectory, and subsequently, i.e. after
 returning from ADD_SUBDIRECTORY(), you can define it again the
 current scope. If you guard an export file's inclusion by a global
 property, the inclusion will fail if it has taken place earlier in a
 subdirectory, so the imported targets will be undefined in the
 current scope. See the following CMakeLists.txt files:

 # CMakeLists.txt: CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR) 
 PROJECT(FOOBAR NONE) ADD_SUBDIRECTORY(subdir) 
 GET_PROPERTY(FOOBAR_DEFINED GLOBAL PROPERTY FOOBAR_DEFINED SET) 
 IF(NOT FOOBAR_DEFINED) ADD_EXECUTABLE(foobar IMPORTED) 
 SET_PROPERTY(GLOBAL PROPERTY FOOBAR_DEFINED TRUE) ENDIF() IF(TARGET
 foobar) MESSAGE(Target foobar defined at toplevel) ELSE() 
 MESSAGE(Target foobar NOT defined at toplevel) ENDIF()

 # subdir/CMakeLists.txt: GET_PROPERTY(FOOBAR_DEFINED GLOBAL PROPERTY
 FOOBAR_DEFINED SET) IF(NOT FOOBAR_DEFINED) ADD_EXECUTABLE(foobar
 IMPORTED) SET_PROPERTY(GLOBAL PROPERTY FOOBAR_DEFINED TRUE) ENDIF() 
 IF(TARGET foobar) MESSAGE(Target foobar defined in subdir) ELSE() 
 MESSAGE(Target foobar NOT defined in subdir) ENDIF()

 Instead, you should use either directory properties to protect
 imported targets from being redefined - appropriate to their scoping
 - or just ordinary variables, though none of these solutions is
 bullet-proof.
 
 This is truly infuriating... Inherited directory properties seem to be
 the way to go then... The reason I like to use properties is that they
 are much less used than variables, reducing the potential for naming
 conflicts.
 

 Alternatively, one might consider to provide a function specifically 
 designed for the accident-free inclusion of export files, e.g. like:

 FUNCTION(INCLUDE_EXPORT EXPORTFILE) SET(TARGETSDEFINED FALSE) 
 FOREACH(i IN LISTS ARGN) IF(TARGET ${i}) SET(TARGETSDEFINED TRUE) 
 ENDIF() ENDFOREACH() IF(NOT TARGETSDEFINED) INCLUDE(${EXPORTFILE}) 
 ENDIF() ENDFUNCTION()

 Apparently, a function's scope does not shield an imported target
 from the surrounding scope as a directory's scope does. However, one
 needs to provide the targets when invoking INCLUDE_EXPORT(), but
 probably it's quite possible to retrieve them automatically by
 scanning the export file, e.g. with an ADD_.+\(([^ ]+)IMPORTED\) or
 the like.
 
 Nah, too roundabout...
 
 

 IMO, the interdiction of - 

Re: [CMake] CMake installation on Mac - compilers not found

2011-04-27 Thread Michael Wild
Also make sure to install the Unix command line support.

Michael

On 04/27/2011 02:29 PM, Michael Jackson wrote:
 Did you install the Xcode developer tools?
 
 -
 Mike Jackson
 http://www.bluequartz.netwww.bluequartz.net http://www.bluequartz.net
 Principal Software Engineer  
 mailto:mike.jack...@bluequartz.netmike.jack...@bluequartz.net
 mailto:mike.jack...@bluequartz.net
 BlueQuartz Software   Dayton, Ohio
 Sent from my mobile device. 
 
 On Apr 27, 2011, at 5:05, Renan Mendes renanmzmen...@gmail.com
 mailto:renanmzmen...@gmail.com wrote:
 
 Hello, everyone.

 This is my first email to this group (and I fear it has not started so
 well...). Before deciding to send it I've searched for a while on the
 web not finding anything that would really solve my issue. Please,
 bear with me while I try to describe my actions and the errors
 messages I got.

 First, I have tried downloading the mac installer
 (cmake-2.8.4-Darwin-universal.dmg
 http://www.cmake.org/files/v2.8/cmake-2.8.4-Darwin-universal.dmg).
 It appeared to be going very well, until it got to the part of running
 some scripts. The CMake icon on the dock started jumping restlessly
 and nothing seemed to happen. I had to kill the process manually. I've
 tried this several times, and then I've decided to download the second
 option that wouldn't make me compile everything myself. I've tried
 then with cmake-2.8.4-Darwin-universal.tar.gz
 http://www.cmake.org/files/v2.8/cmake-2.8.4-Darwin-universal.tar.gz . 
 Opening
 CMake 2.8-4.app turned out to be useless. Nothing happened but the
 usual up-and-down movement of the dock icon.

 Finally, I've succumbed to trying to compile the whole thing myself. I
 have then downloaded  cmake-2.8.4.tar.gz
 http://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gz and, following
 the instructions
 on 
 http://www.cmake.org/cmake/help/install.htmlhttp://www.cmake.org/cmake/help/install.html
 I have executed bootstrap. Well, of course, it failed too. But now I
 could see why: the terminal wasn't recognizing the gcc command.
 Searching a little for that on the web, I found out I was missing a
 path on my .bash_profile file. Surprisingly, I did not have one. I
 created it and included the path to where lied gcc et al.

 The command itself was working perfectly. But it was not enough for
 CMake's bootstrap, for when opening the error log, I've encountered
 what you'll find attached. I don't seem to have *anything* I need to
 make this work (even some libraries that the bootstrap relies on).
 It's been only one month that I have this MacBook Pro. I never
 formatted it or anything, so everything that comes with it, should be
 there.

 If someone has been through the same ordeal or knows how to solve it,
 I'd appreciate very much your insight.

 Thank you,

 Renan MENDES


 cmake_bootstrap.log
 ___
 Powered by http://www.kitware.comwww.kitware.com
 http://www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQhttp://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake
 
 
 ___
 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

___
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


[CMake] Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
Hi all,

I've just put my hand on a Mac OS host in order to port some project.
After struggling with XCode, CMake and other mac port install
I manage to compile my project, not too bad.

I'd like to provide my software as a nice Mac OS installer,
and I am back into the Mac OS jungle:

  Bundle  = Mac OSX bundle
  DragNDrop   = Mac OSX Drag And Drop
  OSXX11  = Mac OSX X11 bundle
  PackageMaker= Mac OSX Package Maker installer

Which one should I go with?
My current projects currently contains only command lines tools
which I expect to install in standard place (may be /usr?) on the Mac.
My project contains classic INSTALL commands and I can build
RPM, DEB and Archive Generator out of that without trouble.

Any help with that will be welcome.

My first try was to use PackageMaker since it seems to be used by CMake itself.
I manage to build the installer but it fails during the last step saying

The installation has failed
contact the software editor 

DragNDrop builds OK but when I open the DMG file I don't know how to
install the file I see there.

I am a complete newbie with Mac OSX
(in fact the last time I touched a Mac it was running Mac OS 7 )

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


Re: [CMake] Which MacOS installer to use and how?

2011-04-27 Thread Sean McBride
On Wed, 27 Apr 2011 15:34:45 +0200, Eric Noulard said:

I'd like to provide my software as a nice Mac OS installer,
and I am back into the Mac OS jungle:

  Bundle  = Mac OSX bundle
  DragNDrop   = Mac OSX Drag And Drop
  OSXX11  = Mac OSX X11 bundle
  PackageMaker= Mac OSX Package Maker installer

Which one should I go with?
My current projects currently contains only command lines tools
which I expect to install in standard place (may be /usr?) on the Mac.

The first thing to figure out is what you need to install where.  If
it's a bunch of command line tools, then maybe /usr/local/bin would be
the right place; don't install in /usr/bin !  Probably a .pkg is your
best bet.

-- 

Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com 
Mac Software Developer  Montréal, Québec, Canada


___
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


Re: [CMake] Which MacOS installer to use and how?

2011-04-27 Thread Sean McBride
On Wed, 27 Apr 2011 16:55:58 +0200, Eric Noulard said:

2011/4/27 Sean McBride s...@rogue-research.com:
 On Wed, 27 Apr 2011 15:34:45 +0200, Eric Noulard said:

I'd like to provide my software as a nice Mac OS installer,
and I am back into the Mac OS jungle:

  Bundle                      = Mac OSX bundle
  DragNDrop                   = Mac OSX Drag And Drop
  OSXX11                      = Mac OSX X11 bundle
  PackageMaker                = Mac OSX Package Maker installer

Which one should I go with?
My current projects currently contains only command lines tools
which I expect to install in standard place (may be /usr?) on the Mac.

 The first thing to figure out is what you need to install where.  If
 it's a bunch of command line tools, then maybe /usr/local/bin would be
 the right place; don't install in /usr/bin !   Probably a .pkg is your
 best bet.

Ok I'll go for /usr/local.

.pkg meaning ? which CPack generator?

Probably PackageMaker, though I've never used CPack.

I tried PackageMaker and even if I manage to build  execute the installer
it fails in the end.

Does it generate a .pkg file?  That's the format that the Mac OS X
installer (Installer.app) expects.

-- 

Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com 
Mac Software Developer  Montréal, Québec, Canada


___
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


Re: [CMake] CMake installation on Mac - compilers not found

2011-04-27 Thread Renan Mendes
I've uninstalled all developer tools and reinstalled XCode. It worked now.

Thanks for everything.

On 27 April 2011 20:49, Michael Wild them...@gmail.com wrote:

 Also make sure to install the Unix command line support.

 Michael

 On 04/27/2011 02:29 PM, Michael Jackson wrote:
  Did you install the Xcode developer tools?
 
  -
  Mike Jackson
  http://www.bluequartz.netwww.bluequartz.net http://www.bluequartz.net
 
  Principal Software Engineer
  mailto:mike.jack...@bluequartz.netmike.jack...@bluequartz.net
  mailto:mike.jack...@bluequartz.net
  BlueQuartz Software   Dayton, Ohio
  Sent from my mobile device.
 
  On Apr 27, 2011, at 5:05, Renan Mendes renanmzmen...@gmail.com
  mailto:renanmzmen...@gmail.com wrote:
 
  Hello, everyone.
 
  This is my first email to this group (and I fear it has not started so
  well...). Before deciding to send it I've searched for a while on the
  web not finding anything that would really solve my issue. Please,
  bear with me while I try to describe my actions and the errors
  messages I got.
 
  First, I have tried downloading the mac installer
  (cmake-2.8.4-Darwin-universal.dmg
  http://www.cmake.org/files/v2.8/cmake-2.8.4-Darwin-universal.dmg).
  It appeared to be going very well, until it got to the part of running
  some scripts. The CMake icon on the dock started jumping restlessly
  and nothing seemed to happen. I had to kill the process manually. I've
  tried this several times, and then I've decided to download the second
  option that wouldn't make me compile everything myself. I've tried
  then with cmake-2.8.4-Darwin-universal.tar.gz
  http://www.cmake.org/files/v2.8/cmake-2.8.4-Darwin-universal.tar.gz .
 Opening
  CMake 2.8-4.app turned out to be useless. Nothing happened but the
  usual up-and-down movement of the dock icon.
 
  Finally, I've succumbed to trying to compile the whole thing myself. I
  have then downloaded  cmake-2.8.4.tar.gz
  http://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gz and, following
  the instructions
  on http://www.cmake.org/cmake/help/install.html
 http://www.cmake.org/cmake/help/install.html
  I have executed bootstrap. Well, of course, it failed too. But now I
  could see why: the terminal wasn't recognizing the gcc command.
  Searching a little for that on the web, I found out I was missing a
  path on my .bash_profile file. Surprisingly, I did not have one. I
  created it and included the path to where lied gcc et al.
 
  The command itself was working perfectly. But it was not enough for
  CMake's bootstrap, for when opening the error log, I've encountered
  what you'll find attached. I don't seem to have *anything* I need to
  make this work (even some libraries that the bootstrap relies on).
  It's been only one month that I have this MacBook Pro. I never
  formatted it or anything, so everything that comes with it, should be
  there.
 
  If someone has been through the same ordeal or knows how to solve it,
  I'd appreciate very much your insight.
 
  Thank you,
 
  Renan MENDES
 
 
  cmake_bootstrap.log
  ___
  Powered by http://www.kitware.comwww.kitware.com
  http://www.kitware.com
 
  Visit other Kitware open-source projects at
  http://www.kitware.com/opensource/opensource.html
 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
 http://www.cmake.org/Wiki/CMake_FAQ
 
  Follow this link to subscribe/unsubscribe:
  http://www.cmake.org/mailman/listinfo/cmake
 
 
  ___
  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

 ___
 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

___
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

[CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
Forgot the list.


-- Forwarded message --
From: Eric Noulard eric.noul...@gmail.com
Date: 2011/4/27
Subject: Re: [CMake] Which MacOS installer to use and how?
To: Sean McBride s...@rogue-research.com


2011/4/27 Sean McBride s...@rogue-research.com:
 On Wed, 27 Apr 2011 16:55:58 +0200, Eric Noulard said:


Ok I'll go for /usr/local.

.pkg meaning ? which CPack generator?

 Probably PackageMaker, though I've never used CPack.

I tried PackageMaker and even if I manage to build  execute the installer
it fails in the end.

 Does it generate a .pkg file?  That's the format that the Mac OS X
 installer (Installer.app) expects.

it generates a .dmg file which contains a .pkg file.
I mounted the DMG and executed the .pkg but as I said it fails during
the last step
and I don't know how to investigate the issue.


--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org



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


Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Michael Jackson
Take a look at /Applications/Utilities/Console.app and seem if anything shows 
up in the logs as to why it failed. Permissions maybe? Missing /usr/local/ 
directory? 
___
Mike Jackson  www.bluequartz.net
Principal Software Engineer   mike.jack...@bluequartz.net 
BlueQuartz Software   Dayton, Ohio

On Apr 27, 2011, at 11:16 AM, Eric Noulard wrote:

 Forgot the list.
 
 
 -- Forwarded message --
 From: Eric Noulard eric.noul...@gmail.com
 Date: 2011/4/27
 Subject: Re: [CMake] Which MacOS installer to use and how?
 To: Sean McBride s...@rogue-research.com
 
 
 2011/4/27 Sean McBride s...@rogue-research.com:
 On Wed, 27 Apr 2011 16:55:58 +0200, Eric Noulard said:
 
 
 Ok I'll go for /usr/local.
 
 .pkg meaning ? which CPack generator?
 
 Probably PackageMaker, though I've never used CPack.
 
 I tried PackageMaker and even if I manage to build  execute the installer
 it fails in the end.
 
 Does it generate a .pkg file?  That's the format that the Mac OS X
 installer (Installer.app) expects.
 
 it generates a .dmg file which contains a .pkg file.
 I mounted the DMG and executed the .pkg but as I said it fails during
 the last step
 and I don't know how to investigate the issue.
 
 
 --
 Erk
 Membre de l'April - « promouvoir et défendre le logiciel libre » -
 http://www.april.org
 
 
 
 -- 
 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

___
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


Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
2011/4/27 Michael Jackson mike.jack...@bluequartz.net:
 Take a look at /Applications/Utilities/Console.app and seem if anything shows 
 up in the logs as to why it failed. Permissions maybe? Missing /usr/local/ 
 directory?


/usr/local is there.
I do have the permission: I have admin right and the installer asked
for the credential
during the run (as other installer (e.g. CMake) who succeed did).

Unfortunately Console does not give me more detailed information.
-- 
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


Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
2011/4/27 Eric Noulard eric.noul...@gmail.com:
 2011/4/27 Michael Jackson mike.jack...@bluequartz.net:
 Take a look at /Applications/Utilities/Console.app and seem if anything 
 shows up in the logs as to why it failed. Permissions maybe? Missing 
 /usr/local/ directory?


 /usr/local is there.
 I do have the permission: I have admin right and the installer asked
 for the credential
 during the run (as other installer (e.g. CMake) who succeed did).

 Unfortunately Console does not give me more detailed information.

My Mac OS experiment is about to timeout for today but
if someone wants to give my trouble a try the project
which exhibit the issue is public:
https://savannah.nongnu.org/cvs/?group=certi

The port is currently rough but it works
however the PackageMaker installer is not working.

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


Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Michael Jackson
4/27/11 12:14:11 PM Installer[9262] 

4/27/11 12:14:11 PM Installer[9262] User picked Standard Install
4/27/11 12:14:11 PM Installer[9262] Choices selected for installation:
4/27/11 12:14:11 PM Installer[9262] Install: CERTI
4/27/11 12:14:11 PM Installer[9262] 

4/27/11 12:14:11 PM Installer[9262] Configuring volume 640GB
4/27/11 12:14:11 PM Installer[9262] Free space on 640GB: 639.17 GB 
(639172743168 bytes).
4/27/11 12:14:11 PM Installer[9262] Create temporary directory 
/var/folders/Zm/ZmwaqVZrGbee7mHKbefzNU+++TI/-Tmp-//Install.9262EktmQL
4/27/11 12:14:11 PM Installer[9262] IFPKInstallElement (1 packages)
4/27/11 12:14:11 PM installd[9297]  PackageKit: - Begin install -
4/27/11 12:14:12 PM installd[9297]  PackageKit: Install Failed: PKG: 
writing receipt for com.ONERA/DTIM.CERTI
Error Domain=NSCocoaErrorDomain Code=4 UserInfo=0x103804680 The file 
“DTIM.CERTI.bom” doesn’t exist. Underlying Error=(Error 
Domain=NSPOSIXErrorDomain Code=2 The operation couldn’t be completed. No such 
file or directory) {
NSFilePath = /Volumes/640GB/Library/Receipts/com.ONERA/DTIM.CERTI.bom;
NSUnderlyingError = Error Domain=NSPOSIXErrorDomain Code=2 \The operation 
couldn\U2019t be completed. No such file or directory\;
}
4/27/11 12:14:12 PM Installer[9262] Install failed: The Installer 
encountered an error that caused the installation to fail. Contact the software 
manufacturer for assistance.
4/27/11 12:14:12 PM Installer[9262] IFDInstallController 5005A0 state = 7
4/27/11 12:14:12 PM Installer[9262] Displaying 'Install Failed' UI.
4/27/11 12:14:12 PM Installer[9262] 'Install Failed' UI displayed 
message:'The Installer encountered an error that caused the installation to 
fail. Contact the software manufacturer for assistance.'.
4/27/11 12:14:12 PM Installer[9262] The Installer encountered an error that 
caused the installation to fail. Contact the software manufacturer for 
assistance.


looks like there is a problem with the created package? The bom (Bill of 
Materials) file is missing. Maybe a CPack issue? 

___
Mike Jackson  www.bluequartz.net
Principal Software Engineer   mike.jack...@bluequartz.net 
BlueQuartz Software   Dayton, Ohio

On Apr 27, 2011, at 12:03 PM, Eric Noulard wrote:

 2011/4/27 Eric Noulard eric.noul...@gmail.com:
 2011/4/27 Michael Jackson mike.jack...@bluequartz.net:
 Take a look at /Applications/Utilities/Console.app and seem if anything 
 shows up in the logs as to why it failed. Permissions maybe? Missing 
 /usr/local/ directory?
 
 
 /usr/local is there.
 I do have the permission: I have admin right and the installer asked
 for the credential
 during the run (as other installer (e.g. CMake) who succeed did).
 
 Unfortunately Console does not give me more detailed information.
 
 My Mac OS experiment is about to timeout for today but
 if someone wants to give my trouble a try the project
 which exhibit the issue is public:
 https://savannah.nongnu.org/cvs/?group=certi
 
 The port is currently rough but it works
 however the PackageMaker installer is not working.
 
 -- 
 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


Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
Could you retry.
I did just have to rename the license file and forgot to commit it.
Just update and retry.
The package is building just fine.
The install is failing.

By the way how did you get the verbose output from Installer the log
I did get was far less verbose than that?

2011/4/27 Michael Jackson mike.jack...@bluequartz.net:
 4/27/11 12:14:11 PM     Installer[9262] 
 
 4/27/11 12:14:11 PM     Installer[9262] User picked Standard Install
 4/27/11 12:14:11 PM     Installer[9262] Choices selected for installation:
 4/27/11 12:14:11 PM     Installer[9262]         Install: CERTI
 4/27/11 12:14:11 PM     Installer[9262] 
 
 4/27/11 12:14:11 PM     Installer[9262] Configuring volume 640GB
 4/27/11 12:14:11 PM     Installer[9262] Free space on 640GB: 639.17 GB 
 (639172743168 bytes).
 4/27/11 12:14:11 PM     Installer[9262] Create temporary directory 
 /var/folders/Zm/ZmwaqVZrGbee7mHKbefzNU+++TI/-Tmp-//Install.9262EktmQL
 4/27/11 12:14:11 PM     Installer[9262] IFPKInstallElement (1 packages)
 4/27/11 12:14:11 PM     installd[9297]  PackageKit: - Begin install -
 4/27/11 12:14:12 PM     installd[9297]  PackageKit: Install Failed: PKG: 
 writing receipt for com.ONERA/DTIM.CERTI
 Error Domain=NSCocoaErrorDomain Code=4 UserInfo=0x103804680 The file 
 “DTIM.CERTI.bom” doesn’t exist. Underlying Error=(Error 
 Domain=NSPOSIXErrorDomain Code=2 The operation couldn’t be completed. No 
 such file or directory) {
    NSFilePath = /Volumes/640GB/Library/Receipts/com.ONERA/DTIM.CERTI.bom;
    NSUnderlyingError = Error Domain=NSPOSIXErrorDomain Code=2 \The 
 operation couldn\U2019t be completed. No such file or directory\;
 }
 4/27/11 12:14:12 PM     Installer[9262] Install failed: The Installer 
 encountered an error that caused the installation to fail. Contact the 
 software manufacturer for assistance.
 4/27/11 12:14:12 PM     Installer[9262] IFDInstallController 5005A0 state = 7
 4/27/11 12:14:12 PM     Installer[9262] Displaying 'Install Failed' UI.
 4/27/11 12:14:12 PM     Installer[9262] 'Install Failed' UI displayed 
 message:'The Installer encountered an error that caused the installation to 
 fail. Contact the software manufacturer for assistance.'.
 4/27/11 12:14:12 PM     Installer[9262] The Installer encountered an error 
 that caused the installation to fail. Contact the software manufacturer for 
 assistance.


 looks like there is a problem with the created package? The bom (Bill of 
 Materials) file is missing. Maybe a CPack issue?

 ___
 Mike Jackson                      www.bluequartz.net
 Principal Software Engineer       mike.jack...@bluequartz.net
 BlueQuartz Software               Dayton, Ohio

 On Apr 27, 2011, at 12:03 PM, Eric Noulard wrote:

 2011/4/27 Eric Noulard eric.noul...@gmail.com:
 2011/4/27 Michael Jackson mike.jack...@bluequartz.net:
 Take a look at /Applications/Utilities/Console.app and seem if anything 
 shows up in the logs as to why it failed. Permissions maybe? Missing 
 /usr/local/ directory?


 /usr/local is there.
 I do have the permission: I have admin right and the installer asked
 for the credential
 during the run (as other installer (e.g. CMake) who succeed did).

 Unfortunately Console does not give me more detailed information.

 My Mac OS experiment is about to timeout for today but
 if someone wants to give my trouble a try the project
 which exhibit the issue is public:
 https://savannah.nongnu.org/cvs/?group=certi

 The port is currently rough but it works
 however the PackageMaker installer is not working.

 --
 Erk
 Membre de l'April - « promouvoir et défendre le logiciel libre » -
 http://www.april.org





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


Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Michael Jackson
I did a Touch COPYING.txt file to simply create the file then CMake ran all the 
way through. I ran make -j16; make package then mounted the .dmg file and ran 
the installer. I selected an external disk (so not to mess up my current boot 
disk) and the installer failed. I took a look in the Console.app and clicked on 
the /private/var/log/install.log file and scrolled to the bottom.

___
Mike Jackson  www.bluequartz.net
Principal Software Engineer   mike.jack...@bluequartz.net 
BlueQuartz Software   Dayton, Ohio

On Apr 27, 2011, at 12:25 PM, Eric Noulard wrote:

 Could you retry.
 I did just have to rename the license file and forgot to commit it.
 Just update and retry.
 The package is building just fine.
 The install is failing.
 
 By the way how did you get the verbose output from Installer the log
 I did get was far less verbose than that?
 
 2011/4/27 Michael Jackson mike.jack...@bluequartz.net:
 4/27/11 12:14:11 PM Installer[9262] 
 
 4/27/11 12:14:11 PM Installer[9262] User picked Standard Install
 4/27/11 12:14:11 PM Installer[9262] Choices selected for installation:
 4/27/11 12:14:11 PM Installer[9262] Install: CERTI
 4/27/11 12:14:11 PM Installer[9262] 
 
 4/27/11 12:14:11 PM Installer[9262] Configuring volume 640GB
 4/27/11 12:14:11 PM Installer[9262] Free space on 640GB: 639.17 GB 
 (639172743168 bytes).
 4/27/11 12:14:11 PM Installer[9262] Create temporary directory 
 /var/folders/Zm/ZmwaqVZrGbee7mHKbefzNU+++TI/-Tmp-//Install.9262EktmQL
 4/27/11 12:14:11 PM Installer[9262] IFPKInstallElement (1 packages)
 4/27/11 12:14:11 PM installd[9297]  PackageKit: - Begin install -
 4/27/11 12:14:12 PM installd[9297]  PackageKit: Install Failed: PKG: 
 writing receipt for com.ONERA/DTIM.CERTI
 Error Domain=NSCocoaErrorDomain Code=4 UserInfo=0x103804680 The file 
 “DTIM.CERTI.bom” doesn’t exist. Underlying Error=(Error 
 Domain=NSPOSIXErrorDomain Code=2 The operation couldn’t be completed. No 
 such file or directory) {
NSFilePath = /Volumes/640GB/Library/Receipts/com.ONERA/DTIM.CERTI.bom;
NSUnderlyingError = Error Domain=NSPOSIXErrorDomain Code=2 \The 
 operation couldn\U2019t be completed. No such file or directory\;
 }
 4/27/11 12:14:12 PM Installer[9262] Install failed: The Installer 
 encountered an error that caused the installation to fail. Contact the 
 software manufacturer for assistance.
 4/27/11 12:14:12 PM Installer[9262] IFDInstallController 5005A0 state = 7
 4/27/11 12:14:12 PM Installer[9262] Displaying 'Install Failed' UI.
 4/27/11 12:14:12 PM Installer[9262] 'Install Failed' UI displayed 
 message:'The Installer encountered an error that caused the installation to 
 fail. Contact the software manufacturer for assistance.'.
 4/27/11 12:14:12 PM Installer[9262] The Installer encountered an error 
 that caused the installation to fail. Contact the software manufacturer for 
 assistance.
 
 
 looks like there is a problem with the created package? The bom (Bill of 
 Materials) file is missing. Maybe a CPack issue?
 
 ___
 Mike Jackson  www.bluequartz.net
 Principal Software Engineer   mike.jack...@bluequartz.net
 BlueQuartz Software   Dayton, Ohio
 
 On Apr 27, 2011, at 12:03 PM, Eric Noulard wrote:
 
 2011/4/27 Eric Noulard eric.noul...@gmail.com:
 2011/4/27 Michael Jackson mike.jack...@bluequartz.net:
 Take a look at /Applications/Utilities/Console.app and seem if anything 
 shows up in the logs as to why it failed. Permissions maybe? Missing 
 /usr/local/ directory?
 
 
 /usr/local is there.
 I do have the permission: I have admin right and the installer asked
 for the credential
 during the run (as other installer (e.g. CMake) who succeed did).
 
 Unfortunately Console does not give me more detailed information.
 
 My Mac OS experiment is about to timeout for today but
 if someone wants to give my trouble a try the project
 which exhibit the issue is public:
 https://savannah.nongnu.org/cvs/?group=certi
 
 The port is currently rough but it works
 however the PackageMaker installer is not working.
 
 --
 Erk
 Membre de l'April - « promouvoir et défendre le logiciel libre » -
 http://www.april.org
 
 
 
 
 
 -- 
 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


Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
2011/4/27 Michael Jackson mike.jack...@bluequartz.net:
 I did a Touch COPYING.txt file to simply create the file then CMake ran all 
 the way through.

Ok fine, sorry about that.

 I ran make -j16; make package then mounted the .dmg file and ran the 
 installer. I selected an external disk (so not to mess up my current boot 
 disk) and the installer failed. I took a look in the Console.app and clicked 
 on the /private/var/log/install.log file and scrolled to the bottom.

Ok I missed the /private/var/log/install.log part.
I didn't find any reference to whatever bom in the PackageMaker
cpack generator source code,
I'll try to investigate further tomorrow.


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


Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
2011/4/27 Eric Noulard eric.noul...@gmail.com:
 2011/4/27 Michael Jackson mike.jack...@bluequartz.net:
 I did a Touch COPYING.txt file to simply create the file then CMake ran all 
 the way through.

 Ok fine, sorry about that.

 I ran make -j16; make package then mounted the .dmg file and ran the 
 installer. I selected an external disk (so not to mess up my current boot 
 disk) and the installer failed. I took a look in the Console.app and clicked 
 on the /private/var/log/install.log file and scrolled to the bottom.

 Ok I missed the /private/var/log/install.log part.
 I didn't find any reference to whatever bom in the PackageMaker
 cpack generator source code,
 I'll try to investigate further tomorrow.

By the way,
Thank you very much to have taken time to checkout/compile/install and
report with more detailed infos.

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


[CMake] Top level directory with component install

2011-04-27 Thread Daniel Nelson
I am using CPACK_ARCHIVE_COMPONENT_INSTALL to create separate tar files
for each component, but when I enable it I no longer have a top level
directory in the tar.

For example, if archive component install is off then the tar files
contains files with paths like foobar-1.2.3-Linux-x86_64/bin/foobar, but
with component install on the paths are just bin/foobar.  I tried
turning CPACK_INCLUDE_TOPLEVEL_DIRECTORY on but it doesn't seem to help.
Is this behavior on purpose and if so is it possible to change?
--
Daniel
___
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


Re: [CMake] Top level directory with component install

2011-04-27 Thread Eric Noulard
2011/4/27 Daniel Nelson tor...@connect2.com:
 I am using CPACK_ARCHIVE_COMPONENT_INSTALL to create separate tar files
 for each component, but when I enable it I no longer have a top level
 directory in the tar.

 For example, if archive component install is off then the tar files
 contains files with paths like foobar-1.2.3-Linux-x86_64/bin/foobar, but
 with component install on the paths are just bin/foobar.  I tried
 turning CPACK_INCLUDE_TOPLEVEL_DIRECTORY on but it doesn't seem to help.
 Is this behavior on purpose and if so is it possible to change?

This was not intentional, this is not really a bug because the
component splitting
wasn't available before but you can file a bug and we'll discuss what to do.


Which version of CMake are you using?


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


Re: [CMake] Top level directory with component install

2011-04-27 Thread Daniel Nelson
On Wed, Apr 27, 2011 at 08:49:56PM +0200, Eric Noulard wrote:
 2011/4/27 Daniel Nelson tor...@connect2.com:
  I am using CPACK_ARCHIVE_COMPONENT_INSTALL to create separate tar files
  for each component, but when I enable it I no longer have a top level
  directory in the tar.
 
  For example, if archive component install is off then the tar files
  contains files with paths like foobar-1.2.3-Linux-x86_64/bin/foobar, but
  with component install on the paths are just bin/foobar.  I tried
  turning CPACK_INCLUDE_TOPLEVEL_DIRECTORY on but it doesn't seem to help.
  Is this behavior on purpose and if so is it possible to change?
 
 This was not intentional, this is not really a bug because the
 component splitting
 wasn't available before but you can file a bug and we'll discuss what to do.
 
 
 Which version of CMake are you using?

I'm using 2.8.4 from debian.  Added an issue:
http://public.kitware.com/Bug/view.php?id=12129

If it will help I could probably prepare a patch this weekend.
--
Daniel
___
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


Re: [CMake] Top level directory with component install

2011-04-27 Thread Eric Noulard
2011/4/27 Daniel Nelson tor...@connect2.com:
 On Wed, Apr 27, 2011 at 08:49:56PM +0200, Eric Noulard wrote:
 2011/4/27 Daniel Nelson tor...@connect2.com:
  I am using CPACK_ARCHIVE_COMPONENT_INSTALL to create separate tar files
  for each component, but when I enable it I no longer have a top level
  directory in the tar.
 
  For example, if archive component install is off then the tar files
  contains files with paths like foobar-1.2.3-Linux-x86_64/bin/foobar, but
  with component install on the paths are just bin/foobar.  I tried
  turning CPACK_INCLUDE_TOPLEVEL_DIRECTORY on but it doesn't seem to help.
  Is this behavior on purpose and if so is it possible to change?

 This was not intentional, this is not really a bug because the
 component splitting
 wasn't available before but you can file a bug and we'll discuss what to do.


 Which version of CMake are you using?

 I'm using 2.8.4 from debian.  Added an issue:
 http://public.kitware.com/Bug/view.php?id=12129

 If it will help I could probably prepare a patch this weekend.

Off course, yes it will.
Please attach it to the bug report I'll review it.
Thanks.
-- 
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


Re: [CMake] CDash Dynamic Analysis

2011-04-27 Thread Mika . Rajala
Hi

Another update and a question

I'v reverse engineered and hacked the CDash/CMake/CTest code a bit to see 
how it works.

I'v now come to the conclusion that the best way to handle custom tools 
(style checks, static code analysis) is to use custom builds and custom 
build groups

The issue I currently have is this:

How to generate a custom Build.xml file for CDash, based on output of a 
program?

The extreme solution I see is to make my own executable that generates a 
Build.xml file as output.

What I'd like to do is to tell CTest to pick up  errors / warnings  from 
line that match with a regular expression i give.

What would be the best way to do this?

-mika




From:   mika.raj...@patria.fi
To: mika.raj...@patria.fi
Cc: cmake@cmake.org, cmake-boun...@cmake.org
Date:   21.04.2011 09:54
Subject:Re: [CMake] CDash Dynamic Analysis
Sent by:cmake-boun...@cmake.org



Hi 

I went for the custom DynamicAnalysis.xml thing 

I think I figured out what the file should contain. 

There is a slight problem however. 

The Labels in the defect list of CDash are that of some other tool 

How do I change them? 

-mika 



From:mika.raj...@patria.fi 
To:mika.raj...@patria.fi 
Cc:cmake@cmake.org, cmake-boun...@cmake.org 
Date:15.04.2011 15:47 
Subject:Re: [CMake] CDash Dynamic Analysis 
Sent by:cmake-boun...@cmake.org 



Hi 

This doesn't seem to be very easy, fun or well documented. 

I'v resolved to looking aroung the CTest source code to see what is going 
on. 

From what I'v found out, there seems to be some syntax to what the defect 
list contains! 

DefectList 
   Defect Type=mystery/ 
DefectList 

I'm not certain if this is the easy way through, but it's the only way i 
see possible at the moment. 

I think i need to create my own program which eats program output and 
poops DynamicAnalysis.xml files. 

Perhaps i'll even add some way of configuration to it. 

-mika 



From:mika.raj...@patria.fi 
To:cmake@cmake.org 
Date:14.04.2011 09:11 
Subject:[CMake] CDash Dynamic Analysis 
Sent by:cmake-boun...@cmake.org 



Hi 

I'm trying to integrate custom tools to CDash Dynamic analysis. 

I'm not that certain on what is the way I should be going. 

Is there a way to tell cmake to pick up lines from a program as defects in 
the custom tool submission xml? 

Do i need to make a program that generates a valid xml file? 

If so, where do I find the documentation on how to do it? 

I downloaded the example XML files from http://www.itk.org/Wiki/CDash:XML 

here is a part of it 

Results / 
Log / 
/Test 
DefectList / 
EndDateTimeSep 15 19:36 CEST/EndDateTime 
ElapsedMinutes644.3/ElapsedMinutes 
/DynamicAnalysis 
/Site 

I think that I should modify the part DefectList. 
But this file doesn't give much information on what to do. 

There was a XML Schema file as well, but it wasn't of much use. 

/xs:element 
 xs:element name=DefectList type=xs:string minOccurs=0 / 
 xs:element name=EndDateTime type=xs:string minOccurs=0 / 
 xs:element name=ElapsedMinutes type=xs:float minOccurs=0 
/ 
 /xs:sequence 

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

[Cmake-commits] CMake branch, master, updated. v2.8.4-402-gcade780

2011-04-27 Thread KWSys Robot
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  cade78040dc2a3996795bbd7c29579d0b444cc82 (commit)
  from  a3a581f8cd9aac31c22498eb87aafc60ab1f35c3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cade78040dc2a3996795bbd7c29579d0b444cc82
commit cade78040dc2a3996795bbd7c29579d0b444cc82
Author: KWSys Robot kwro...@kitware.com
AuthorDate: Thu Apr 28 00:01:05 2011 -0400
Commit: KWSys Robot kwro...@kitware.com
CommitDate: Thu Apr 28 00:13:04 2011 -0400

KWSys Nightly Date Stamp

diff --git a/Source/kwsys/kwsysDateStamp.cmake 
b/Source/kwsys/kwsysDateStamp.cmake
index e9220c0..1046118 100644
--- a/Source/kwsys/kwsysDateStamp.cmake
+++ b/Source/kwsys/kwsysDateStamp.cmake
@@ -18,4 +18,4 @@ SET(KWSYS_DATE_STAMP_YEAR  2011)
 SET(KWSYS_DATE_STAMP_MONTH 04)
 
 # KWSys version date day component.  Format is DD.
-SET(KWSYS_DATE_STAMP_DAY   27)
+SET(KWSYS_DATE_STAMP_DAY   28)

---

Summary of changes:
 Source/kwsys/kwsysDateStamp.cmake |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits