Closed
Bug 865856
Opened 11 years ago
Closed 11 years ago
Compiling 32-bit js shells on Ubuntu Linux 13.04 Raring Ringtail fails as zconf.h no longer seems to be present in /usr/include/
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: gkw, Unassigned)
References
Details
Attachments
(1 file)
2.14 KB,
text/plain
|
Details |
Compiling 32-bit js shells on Ubuntu Linux 13.04 Raring Ringtail fails probably because zconf.h is assumed to be in /usr/include (which was correct in 64-bit 12.04 and 32-bit 13.10 as I managed to verify on other machines), but on the new OS, it seems to be at /usr/include/x86_64-linux-gnu/zconf.h This breaks compilation with `gcc -m32` needed to cross-compile 32-bit shells in a 64-bit Linux OS.
Reporter | ||
Comment 1•11 years ago
|
||
That said, a simple program, e.g.: #include <zlib.h> int main () { return 0; } also causes an error with `gcc -m32`: /usr/include/zlib.h:34:19: fatal error: zconf.h: No such file or directory So I'm not sure if this is a Spidermonkey issue.
Reporter | ||
Comment 2•11 years ago
|
||
See also https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1155307
See Also: → https://launchpad.net/bugs/1155307
Comment 3•11 years ago
|
||
And see also bug 866489.
Comment 4•11 years ago
|
||
(In reply to Justin Lebar [:jlebar] from comment #3) > And see also bug 866489. Yes, just install both zlib1g-dev:{amd64,i386}. That works for B2G, but I'm not sure whether does it solve the problem here as well.
Comment 5•11 years ago
|
||
Maybe I'm doing something wrong, but apt-get told me that it was going to remove my whole toolchain if I wanted to install zlib1g-dev:i386. But let's talk about it in the PR so we don't have to have the discussion twice. :) https://github.com/mozilla-b2g/B2G/pull/236#issuecomment-17149521
Reporter | ||
Comment 6•11 years ago
|
||
The workaround in bug 866489 comment 2 worked around this issue for me.
Reporter | ||
Comment 7•11 years ago
|
||
Unlikely to be a Mozilla bug.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Reporter | ||
Updated•11 years ago
|
Severity: blocker → major
You need to log in
before you can comment on or make changes to this bug.
Description
•