Virtual pint to whoever can help!

Hi all,
free pint to you if you can tell me what Im doing wrong…!

This really is a newbie question, but Ive searched (here and elsewhere), and have played around with this for over a week now without being able to figure out what is wrong…

I have just re-installed Xcode Tools on my 12" powerbook (OSX 10.3.8/867MHz/640MB Ram). When I open a new project in Xcode 1.5 and hit ‘command’ + ‘R’ (to build/run the template) (without having done anything else), if it is an applescript template I get build failed (1 error). This doesnt happen if it is a cocoa/carbon template.

Anyone got any ideas why this is happening?

Many thanks, in advance

this would be an excellent time to share the details of the 1 error it is reporting :slight_smile:

Hi
Here is what the build log says (if that is what you need?)
Many thanks in advance

/Developer/Private/jam -d1 -k -j1
JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase
JAMFILE=- build ACTION=build _DEFAULT_GCC_VERSION=3.3
BUILD_STYLE=Development
CPP_HEADERMAP_FILE=/Users/aaroncormack/Desktop/dlfsk/build/dlfsk.build/dlfsk.build/dlfsk.hmap
SRCROOT=/Users/aaroncormack/Desktop/dlfsk
OBJROOT=/Users/aaroncormack/Desktop/dlfsk/build
SYMROOT=/Users/aaroncormack/Desktop/dlfsk/build
DSTROOT=/tmp/dlfsk.dst

OSACompile
/Users/aaroncormack/Desktop/dlfsk/build/dlfsk.app/Contents/Resources/Scripts/dlfsk.scpt

/usr/bin/osacompile  -d -i

/System/Library/Frameworks/AppleScriptKit.framework
-U dlfsk.applescript -o
/Users/aaroncormack/Desktop/dlfsk/build/dlfsk.app/Contents/Resources/Scripts/dlfsk.scpt
dlfsk.applescript
/bin/sh: line 1: /usr/bin/osacompile: No such file or
directory
…failed OSACompile
/Users/aaroncormack/Desktop/dlfsk/build/dlfsk.app/Contents/Resources/Scripts/dlfsk.scpt

…skipped dlfsk.app for lack of
dlfsk.app/Contents/Resources/Scripts/dlfsk.scpt…

PBXCp
/Users/aaroncormack/Desktop/dlfsk/build/dlfsk.app/Contents/PkgInfo

/Developer/Tools/pbxcp  -exclude .DS_Store

-exclude CVS -resolve-src-symlinks
/Users/aaroncormack/Desktop/dlfsk/build/dlfsk.build/dlfsk.build/PkgInfo

/Users/aaroncormack/Desktop/dlfsk/build/dlfsk.app/Contents

…skipped dlfsk.app for lack of
dlfsk.app…
…skipped dlfsk.app for lack
of dlfsk.app…
…skipped dlfsk.app
for lack of dlfsk.app…
…skipped dlfsk.app for lack of dlfsk.app…

Actually, I (or more importantly, you) only needed the error part of the build log:

What happened to that file on your system? Is it missing? It’s the tool that Xcode uses to compile your AppleScript code, so it’s pretty important. This is almost certainly the root of your problem.

Daniel
Thanks very much for your help.
I have to say I have no idea where that file has gone(!) I just updated my operating system (to 10.3.9) in the hope that that would rectify the problem, (I re-installed Xcode etc yesterday…) but to no avail…!?

Kind of at a loss - anyone else have any suggestions?
Thanks again

In case it helps anyone else - I needed to install BSD subsystem from install disc, now ll is well.

Hi Ron:

Glad you figured it out! And nice of you to share the results. I’m sure somebody searching the archives will appreciate that.

Daniel