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

Michael Jackson mike.jackson at bluequartz.net
Wed Apr 27 12:32:44 EDT 2011


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.jackson at 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.jackson at 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.jackson at bluequartz.net
>> BlueQuartz Software               Dayton, Ohio
>> 
>> On Apr 27, 2011, at 12:03 PM, Eric Noulard wrote:
>> 
>>> 2011/4/27 Eric Noulard <eric.noulard at gmail.com>:
>>>> 2011/4/27 Michael Jackson <mike.jackson at 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



More information about the CMake mailing list