![](https://secure.gravatar.com/avatar/789edbb3a9b9f3f13815d199bfa4c81b.jpg?s=120&d=mm&r=g)
On 21/3/10 18:38, Stuart Edwards wrote:
thanks for the prompt reply -- plenty to think about.
On Mar 21, 2010, at 12:35 PM, ~suv wrote:
On 21/3/10 15:33, Stuart Edwards wrote:
osx-app.sh exits back to osx-build.sh and I'm presented with the error: 'head: ../../.svn/entries: No such file or directory' This originates at line 268 which my almost non-existent bash scripting skills are unable to decipher.
ignore the warning about missing svn entries, IIRC it's not critical at this stage.
this appears to be more than a warning - the file can't be found, the script terminates.
no, the script doesn't terminate. The variable $REVISION is empty because the command on line 268 in osx-build.sh fails, but the script continues - this error does not prevent you from configuring the source tree, building inkscape and packaging Inkscape.app.
One difference I notice in the contents of Inkscape.app compared to my X11 build is that Contents/MacOS is empty in the aqua build and contains a small (45kb) executable (called inkscape) in the X11 build. Executing this file opens the application, so clearly it's a critical element.
The application will not start if the launcher binary is missing. I don't know what went wrong - you should have seen related error messages in the output from osx-build.sh.
on closer inspection - here's what happens when I run osx-build.sh:
SEsMacPro:macosx stu$ ./osx-build.sh p -py ../../../python/
<snipped>
=== BUILD NATIVE TARGET ScriptExec OF PROJECT ScriptExec WITH CONFIGURATION Deployment === Check dependencies error: There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk' [BEROR]error: There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk' ** BUILD FAILED **
<snipped>
Is the lack of MacOSX10.4u.sdk significant? My SDK file only contains 10.5 and 10.6.sdk. The reason for the missing launcher binary? Since the build apparently fails at this point, why does the script not terminate (as it seems to at other locations)?
Sorry, I was under the impression that you are using Mac OS X 10.5 Leopard, not Snow Leopard.
Yes, the lack of MacOSX10.4u.sdk is obviously significant for the available xcodeproject of the application launcher. Please be aware that the release version 0.47 was not built on Snow Leopard, nor are the current development snapshots built on Snow Leopard. I.e. you are trying to do something new that seems to require part of the packaging modules to be modified and updated to run on OS X 10.6 Snow Leopard.
I recommend to file a bug report, detailing the SL related errors you see when trying to package the application. Please include all relevant information about your OS and Xcode version.
The GTK+/Quartz (so-called "Aqua") version will also require changes to both the build scripts and the launcher scripts - but this should be handled in a separate bug report, similar to the one Wolf filed for removing the code launching X11 on Tiger [1].
Do you have an up-to-date and complete Xcode installation?
AFIK -- 3.2.1
Did you check if MacOSX10.4u.sdk is available as optional install for Xcode 3.2.x?
~suv
[1] Bug #528232 “Mac OS X: X11 is launched at inkscape aqua startup” https://bugs.launchpad.net/inkscape/+bug/528232