Is your application an X11 app? If not, you should not need the OSXX11 generator. (And if so, you probably don&#39;t need the PackageMaker generator...?)<br><br>The OSXX11 generator gives you a wrapper application that sets up the X11 environment and then launches your X11 app. That way, end users can just double click on your bundle and X gets started automatically if necessary. But if your app is not an X11 app, you don&#39;t need this...<br>
<br><br>HTH,<br>David<br><br><br><div class="gmail_quote">On Thu, May 1, 2008 at 2:41 PM, Alin M Elena &lt;<a href="mailto:alin.elena@qub.ac.uk">alin.elena@qub.ac.uk</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi David,<br>
<br>
Thank &nbsp;you for the pointer that helped me to solve the problem of the .pkg<br>
<br>
Now the problem is with the OSXX11 generator. I still do not get a good<br>
package.<br>
<br>
I had a look in this source<br>
/home/alin/CMake/Source/CPack/cmCPackOSXX11Generator.cxx<br>
and it seems that the &quot;strange&quot; file gets created by this command<br>
<br>
 &nbsp; !this-&gt;CopyResourcePlistFile(&quot;OSXScriptLauncher&quot;, appdir,<br>
 &nbsp; &nbsp; &nbsp;this-&gt;GetOption(&quot;CPACK_PACKAGE_FILE_NAME&quot;), true)<br>
which just copies this file share/cmake-2.7/Modules/<a href="http://CPack.OSXScriptLauncher.in" target="_blank">CPack.OSXScriptLauncher.in</a><br>
to the MacOS folder.<br>
<br>
Any ideas?<br>
<div><div></div><div class="Wj3C7c"><br>
Alin<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
______________________________________________________________________<br>
&nbsp;&quot;...if the universities will not study useless subjects, who will?&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; G. F. Fitzgerald, Nature, 45/46, 392 (1892)<br>
______________________________________________________________________<br>
Mr. Alin M. ELENA<br>
Atomistic Simulation Centre<br>
School of Mathematics and Physics<br>
Queen&#39;s University Belfast<br>
Office: +44 (0)28 9097 1428<br>
Fax: +44 (0)28 9097 5359<br>
<a href="http://titus.phy.qub.ac.uk/group/Alin/" target="_blank">http://titus.phy.qub.ac.uk/group/Alin/</a><br>
<a href="mailto:alin.elena@yahoo.co.uk">alin.elena@yahoo.co.uk</a><br>
<a href="mailto:alin.elena@qub.ac.uk">alin.elena@qub.ac.uk</a><br>
______________________________________________________________________<br>
</div></div></blockquote></div><br>