Closed Bug 463136 Opened 16 years ago Closed 16 years ago

Cleanup for objdir builds after srcdir builds doesn't work

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 461309

People

(Reporter: jimb, Unassigned)

Details

Trying to do a full browser build after configuring the source tree, one gets a warning message, with instructions on how to recover.  The instructions don't work:

h-135:shell-debug gal$ ../tracemonkey-repository/configure --enable-debug
Adding configure options from /Users/gal/.mozconfig:
  --enable-application=browser
  --disable-libxul
  --enable-debug
  --disable-optimize
  --enable-shared
  --disable-static
  --enable-xpcshell
creating cache ./config.cache
checking host system type... i386-apple-darwin9.5.0
checking target system type... i386-apple-darwin9.5.0
checking build system type... i386-apple-darwin9.5.0
checking for mawk... no
checking for gawk... gawk
***
*   Your source tree contains these files:
*         /Users/gal/workspace/tracemonkey-repository/Makefile
*         /Users/gal/workspace/tracemonkey-repository/config/autoconf.mk
*   This indicates that you previously built in the source tree.
*   A source tree build can confuse the separate objdir build.
*
*   To clean up the source tree:
*     1. cd /Users/gal/workspace/tracemonkey-repository
*     2. gmake distclean
***
h-135:shell-debug gal$ cd ..
h-135:workspace gal$ cd tracemonkey-repository/
h-135:tracemonkey-repository gal$ gmake distclean
-bash: gmake: command not found
h-135:tracemonkey-repository gal$ make distclean
Makefile:71: *** you need a "--enable-static or --enable-libxul" build to package a build.  Stop.
make: *** [distclean] Error 2
h-135:tracemonkey-repository gal$
(Reported by Andreas Gal, just to be clear.)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.