Android build prerequisites--lib32asound2-dev,ia32-libs can't installed on Ubuntu 14.04.2 LTS

246 views
Skip to first unread message

胡海

unread,
Sep 18, 2015, 5:34:22 AM9/18/15
to discuss-webrtc
As discribed on https://sites.google.com/site/webrtc/native-code/development/prerequisite-sw, to build a android webrtc we can manually install these  prerequisite packets:
g++ (>= 4.2)
python (>= 2.4)
libnss3-dev >= 3.12
libasound2-dev
libpulse-dev
libjpeg62-dev
libxv-dev
libgtk2.0-dev
libexpat1-dev
For 32-bit builds on a 64-bit system:
lib32asound2-dev
ia32-libs
For my Ubuntu is 64-bit, if I want build an android webrtc, should I install "lib32asound-dev" and "ia32-libs"?If should, how can I install them?
When I run "sudo apt-get install lib32asound-dev", error info is:
E: Unable to locate package lib32asound2-dev

When I run "sudo apt-get install ia32-libs", error info is:
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1 lib32ncurses5 lib32bz2-1.0

E: Package 'ia32-libs' has no installation candidate


Shall I install "lib32z1", "lib32ncurses5" and "lib32bz2-1.0" instead of "ia32-libs"?

Henrik Kjellander

unread,
Oct 5, 2015, 1:14:15 AM10/5/15
to discuss...@googlegroups.com
That seems to be the case. 

On Fri, Sep 18, 2015 at 11:34 AM, 胡海 <huhai1...@gmail.com> wrote:
As discribed on https://sites.google.com/site/webrtc/native-code/development/prerequisite-sw, to build a android webrtc we can manually install these  prerequisite packets:
g++ (>= 4.2)
python (>= 2.4)
libnss3-dev >= 3.12
libasound2-dev
libpulse-dev
libjpeg62-dev
libxv-dev
libgtk2.0-dev
libexpat1-dev
For 32-bit builds on a 64-bit system:
lib32asound2-dev
ia32-libs
For my Ubuntu is 64-bit, if I want build an android webrtc, should I install "lib32asound-dev" and "ia32-libs"?

Only if you need to do 32-bit builds targeting a 32-bit Linux system. You don't need these to build for ARM (32-bit). 
 
If should, how can I install them?
When I run "sudo apt-get install lib32asound-dev", error info is:
E: Unable to locate package lib32asound2-dev

When I run "sudo apt-get install ia32-libs", error info is:
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1 lib32ncurses5 lib32bz2-1.0

E: Package 'ia32-libs' has no installation candidate 


Shall I install "lib32z1", "lib32ncurses5" and "lib32bz2-1.0" instead of "ia32-libs"?

That seems to be the case (please confirm if you were about to do 32-bit builds). I'll update the webpage.

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/7171bb9c-f257-4136-8d29-f73017fb31de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages