Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322224

Summary: Debugger BUILD not working
Product: [Tools] PTP Reporter: Swatch Puppy <swatchpuppy>
Component: Debug SDMAssignee: Greg Watson <g.watson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: beth, swatchpuppy
Version: 4.0.2   
Target Milestone: 4.0.2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Swatch Puppy CLA 2010-08-10 09:00:48 EDT
Wen the command "sh BUILD" is run for the newest version of PTP (4.02), it results in:

sh ./org.eclipse.ptp.linux.x86_4.0.2.201008071123/BUILD 
Building org.eclipse.ptp.debug.sdm_4.0.2.201008071123...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
configure: line 2272: 0: command not found
configure: error: utils directory not found

I found that this lines correspond to:

VERSION="_$PACKAGE_VERSION"
if  `expr "$VERSION" : "_@[^@]*@"` -gt 0 ; then
	VERSION=
fi
UTILS="../org.eclipse.ptp.utils"
if test ! -d $UTILS; then
	UTILS="`echo ${UTILS}${VERSION}`"
	if test ! -d $UTILS; then
		{ { echo "$as_me:$LINENO: error: utils directory not found" >&5
echo "$as_me: error: utils directory not found" >&2;}
   { (exit 1); exit 1; }; }
	fi
fi


And it can be found also in the configure file of the package proxy. 
I don't know anything about scripting or config files, so i can't help.
Comment 1 Beth Tibbitts CLA 2010-08-10 10:58:20 EDT
We're looking at this... I get the same thing.
Comment 2 Greg Watson CLA 2010-08-10 12:28:13 EDT
Some changes weren't checked in for some reason. I'll do a respin of 4.0.2, but should be fixed now.
Comment 3 Beth Tibbitts CLA 2010-08-10 16:20:09 EDT
Try the 4.0.2 build which is up on the wiki now
http://wiki.eclipse.org/PTP/builds/4.0.2