Closed Bug 524785 Opened 12 years ago Closed 11 years ago

configure fails in NSPR when run with absolute path

Categories

(NSPR :: NSPR, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Dolske, Assigned: benjamin)

References

Details

Attachments

(1 file)

Found via bug 524636, when trying to get a pymake build working with my objdir on a different drive

$ cd d:/obj
$ e:/mozilla-central/configure

[...]
creating Makefile
sed: can't read d: No such file or directory
sed: can't read d:/mozilla-central/nsprpub//mozilla-central/nsprpub/Makefile.in:
 No such file or directory
creating config/Makefile
sed: can't read d: No such file or directory
sed: can't read d:/mozilla-central/nsprpub//mozilla-central/nsprpub/config/Makef
ile.in: No such file or directory
creating config/autoconf.mk
sed: can't read d: No such file or directory
sed: can't read d:/mozilla-central/nsprpub//mozilla-central/nsprpub/config/autoc
onf.mk.in: No such file or directory

[...]

invoking make to create js-config script
make.exe: *** No rule to make target `Makefile.in', needed by `Makefile'.  Stop.

configure: error: d:/mozilla-central/js/src/configure failed for js/src


I believe bsmedberg said this is because NSPR needs a patch ala bug 485409.
Assignee: nobody → wtc
Component: Build Config → NSPR
Product: Core → NSPR
QA Contact: build-config → nspr
Version: Trunk → other
Blocks: 550657
Attached patch PatchSplinter Review
This is an updated version of bsmedberg's patch. It seems to work fine.
Attachment #475542 - Flags: review?(ted.mielczarek)
Assignee: wtc → benjamin
Attachment #475542 - Flags: review?(ted.mielczarek) → review+
Committed to NSPR CVS:

RCS file: /cvsroot/mozilla/nsprpub/aclocal.m4,v
done
Checking in aclocal.m4;
/cvsroot/mozilla/nsprpub/aclocal.m4,v  <--  aclocal.m4
initial revision: 1.1
done
Checking in configure;
/cvsroot/mozilla/nsprpub/configure,v  <--  configure
new revision: 1.288; previous revision: 1.287
done
RCS file: /cvsroot/mozilla/nsprpub/build/autoconf/acwinpaths.m4,v
done
Checking in build/autoconf/acwinpaths.m4;
/cvsroot/mozilla/nsprpub/build/autoconf/acwinpaths.m4,v  <--  acwinpaths.m4
initial revision: 1.1
done
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Can the note at the bottom of https://developer.mozilla.org/en/pymake be changed now that this is fixed?
Target Milestone: --- → 4.8.7
You need to log in before you can comment on or make changes to this bug.