Re: Problem With shell script build phase
Re: Problem With shell script build phase
- Subject: Re: Problem With shell script build phase
- From: Tommy Nordgren <email@hidden>
- Date: Sat, 20 May 2006 03:43:09 +0200
On 20 maj 2006, at 02.59, Chris Espinosa wrote:
On May 19, 2006, at 4:05 PM, Tommy Nordgren wrote:
I have a problem with custom shell script build phases in my
projects.
I get one error message for each output file of every shell script
build phase.
Checking the build log, I see calls of mkdir, without a parameter.
My shell scripts don't even use mkdir.
How can I silence theese (nonfatal, but irritating) error messages.
The troublesome projects are based on the C++ Tool stationery.
Perhaps if you post a little of the build log we could help.
Also, if you set the tool to "/bin/sh -x" it emits diagnostics into
the build log, showing you what commands are executed.
Often if you have a script that invokes other scripts or tools,
downstream errors are reported in the immediate tool (such as
mkdir) rather than in the higher-level tool or the script itself.
Chris
Heres the exerpt from my build log:
#Exerpt of build log:
Native Build of Target "Expression" using Build Configuration "Debug"
PhaseScriptExecution /Users/emac/Desktop/Expression/build/
Expression.build/Debug/Expression.build/
Script-8443E50F09C9F7C3004BDE4B.sh
mkdir
mkdir
mkdir
mkdir
mkdir
cd /Users/emac/Desktop/Expression
setenv ACTION build
... # setting up of environment varibles left out
setenv ZERO_LINK YES
/bin/sh -c /Users/emac/Desktop/Expression/build/Expression.build/
Debug/Expression.build/Script-8443E50F09C9F7C3004BDE4B.sh
error: couldn't create directory : Bad address
error: couldn't create directory : Bad address
error: couldn't create directory : Bad address
error: couldn't create directory : Bad address
error: couldn't create directory : Bad address
##C++ compilation and linking phases not shown
#and here is the full text of my custom build script, using a local
install of bison 2.1
/usr/local/bin/bison -d -S lalr1.cc Parser.yy
------------------------------------------------------
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden