Open
Bug 971431
Opened 11 years ago
Updated 3 years ago
Mach should offer help if prerequisites are not found
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: me, Unassigned)
Details
I just built Firefox for the first time. I went through the guide but missed the prerequisites part; in consequence, the build didn't work:
~/vc/fx-team$ ./mach build
0:00.11 /usr/bin/make -f client.mk -s
0:00.18 /home/chris/vc/fx-team/client.mk:315: *** Could not find autoconf 2.13. Stop.
0:00.18 make: *** [build] Error 2
0:00.23 0 compiler warnings present.
Yes, it stated *what* the problem was, but didn't attempt to *diagnose* the problem. It seems to me likely that in just about every case where a program is missing, the prerequisites not having been installed will be the problem.
Not having seen the prerequisites part of the documentation, I hunted around for a bit, found nothing, and got help in #introduction.
This problem can be eased significantly for new developers; Mach should detect such failures and diagnose the problem with a message like this:
Did you install all the prerequisites? If not, check https://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions#Build_prerequisites
Comment 1•11 years ago
|
||
Yes, we should do something better.
glandium: do you think we should install an "on failed handler" in configure or would you prefer to have mach detect the failure as happening inside configure?
Flags: needinfo?(mh+mozilla)
Comment 2•11 years ago
|
||
That particular one is not even in configure. It's *before* configure.
Flags: needinfo?(mh+mozilla)
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•