Bug 1787628 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Okay, I think all you'll need to do to get around this then is to create a `mozconfig` with this in it:
```
ac_add_options --enable-application=js
ac_add_options --enable-debug
ac_add_options --with-ccache
ac_add_options --enable-gczeal
ac_add_options --enable-debug-symbols
ac_add_options --disable-bootstrap
ac_add_options --disable-tests
```

Then run `./mach configure` and it should do what you need.

I think the root of the problem you're encountering is that you're not in the `mach` virtualenv when you invoke configure that way, and all the 'imports` for the [`mach` site](https://searchfox.org/mozilla-central/source/python/sites/mach.txt) aren't done since you're just in the system Python environment. I'm sure you could find a way to make it work, but I think using `./mach configure` will probably be easier in the long run.
Okay, I think all you'll need to do to get around this then is to create a `mozconfig` with this in it:
```
ac_add_options --enable-application=js
ac_add_options --enable-debug
ac_add_options --with-ccache
ac_add_options --enable-gczeal
ac_add_options --enable-debug-symbols
ac_add_options --disable-bootstrap
ac_add_options --disable-tests
```

Then run `./mach configure` and it should do what you need.

I think the root of the problem you're encountering is that you're not in the `mach` virtualenv when you invoke configure that way, and all the 'imports' for the [`mach` site](https://searchfox.org/mozilla-central/source/python/sites/mach.txt) aren't done since you're just in the system Python environment. I'm sure you could find a way to make it work, but I think using `./mach configure` will probably be easier in the long run.
Okay, I think all you'll need to do to get around this then is to create a `mozconfig` with this in it:
```
ac_add_options --enable-application=js
ac_add_options --enable-debug
ac_add_options --with-ccache
ac_add_options --enable-gczeal
ac_add_options --enable-debug-symbols
ac_add_options --disable-bootstrap
ac_add_options --disable-tests
```

Then run `./mach configure` and it should do what you need.

I think the root of the problem you're encountering is that you're not in the `mach` virtualenv when you invoke configure that way, and all the 'imports' for the [`mach` site](https://searchfox.org/mozilla-central/source/python/sites/mach.txt) aren't done since you're just in the system Python environment. I'm sure you could find a way to make it work, but I think using `./mach configure` together with `mozconfig` will probably be easier in the long run.

Back to Bug 1787628 Comment 4