Closed
Bug 866489
Opened 12 years ago
Closed 12 years ago
Can't build B2G on Ubuntu 13.04: zconf.h is missing
Categories
(Firefox OS Graveyard :: GonkIntegration, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: justin.lebar+bug, Unassigned)
Details
Attachments
(5 files)
This is some multilib crap that I don't really understand.
https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1155307
I'm not sure if there's anything we can do to work around this, but at the very least I wanted to have a bug on file.
Reporter | ||
Comment 1•12 years ago
|
||
See also bug 865856.
Reporter | ||
Comment 2•12 years ago
|
||
This seemed to let my build proceed. It's probably no more broken than it was in the old version of Ubuntu...
ln -s /usr/include/x86_64-linux-gnu/zconf.h /usr/include
Comment 3•12 years ago
|
||
You can install both zlib1g-dev:amd64 and zlib1g-dev:i386 at the same time.
Comment 4•12 years ago
|
||
Address requiring zlib1g-dev:{amd64,i386} on Ubuntu 13.04 in README.md only.
Attachment #742915 -
Flags: review?(justin.lebar+bug)
Comment 5•12 years ago
|
||
Or, you might rather close this issue as WORKFORME :)
Reporter | ||
Comment 6•12 years ago
|
||
Comment on attachment 742915 [details]
Github PR for B2G.git
Clearing this r? until we get things cleared up in the PR.
Attachment #742915 -
Flags: review?(justin.lebar+bug)
Comment 7•12 years ago
|
||
Minimum installed package set for building B2G emulator.
Comment 8•12 years ago
|
||
Minimum installed package set for building B2G emulator.
Comment 9•12 years ago
|
||
Minimum installed package set for building B2G emulator.
Comment 10•12 years ago
|
||
Minimum installed package set for building B2G emulator.
Comment 11•12 years ago
|
||
Comment on attachment 742915 [details]
Github PR for B2G.git
Merged on github:
https://github.com/mozilla-b2g/B2G/commit/3da95ea75b03000ed9dc8611e0425441c16dd6ca
Attachment #742915 -
Flags: review+
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 12•12 years ago
|
||
I've modified the build prerequisites page on MDN with the new information, can you please double-check if the packages listed and options are correct?
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites#64_bit_install_examples.3A
Comment 13•12 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #12)
> I've modified the build prerequisites page on MDN with the new information,
> can you please double-check if the packages listed and options are correct?
>
> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/
> Firefox_OS_build_prerequisites#64_bit_install_examples.3A
Hi Gabriele,
This takes a long long time to verify and I have only packages list for Ubuntu 12.04 Precise for now. I'll try my best to gather necessary information asap, okay?
$ sudo aptitude --visual-preview -R install libgl1-mesa-dev libgl1-mesa-dev \
libncurses5-dev:i386 libasound2 flex ccache git zlib1g-dev zlib1g-dev:i386 \
libxt6 autoconf2.13 g++-4.6-multilib bison libgtk2.0-0 patch zip unzip \
libgl1-mesa-glx:i386 libdbus-glib-1-2 libx11-dev:i386 make
Note that `aptitude --visual-preview -R` works exactly the same with `apt-get install --no-install-recommends` but with visual preview, of course.
Comment 14•12 years ago
|
||
Great! Just found why I can't re-create a new chroot with selections above. libncurses5-dev listed is actually libncurses5-dev:i386, but it seems `dpkg --get-selections` doesn't reflect this. I have to attach results of `dpkg -l` instead for more detailed, complete information of all installed packages.
Comment 15•11 years ago
|
||
This error occurred to me in Mint 17 Qiana 64 bits.
Solved by manually installing this package: https://launchpad.net/ubuntu/trusty/i386/zlib1g-dev/1:1.2.8.dfsg-1ubuntu1
You need to log in
before you can comment on or make changes to this bug.
Description
•