Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
scottdeagan
Posts: 43
Registered: ‎05-07-2012
My Device: Z10 • Z30 • PlayBook
My Carrier: 3 Network UK
Accepted Solution

Ubuntu 13.10 and NDK 10.2

I'm trying to install the BB NDK 10.2 environment on Ubuntu 13.10. While everything installs without giving any errors, when I try to execute /bbndk/qde I get an error. After looking at the log file, it .urns out the problem is the absence of package ia32-libs. Unfortunately, ia32-libs no longer exists on Ubuntu 13.10 (so I can't just sudo apt-get install ia32-libs). I've also had zero luck trying to sudo apt-get install ia32-libs-multiarch.

 

Has anyone been able to install BB NDK 10.2 on Ubuntu 13.10?

Please use plain text.
Contributor
scottdeagan
Posts: 43
Registered: ‎05-07-2012
My Device: Z10 • Z30 • PlayBook
My Carrier: 3 Network UK

Re: Ubuntu 13.10 and NDK 10.2

Have managed to figure it out and now have NDK 10.2 up and running on Ubunut 13.10, yay! :smileyhappy:

 

1. If you try to sudo apt-get install ia32-libs, it will tell you that this package has been replaced with: lib32z1 lib32ncurses5 lib32bz2-1.0, so install those instead.

 

2. Run: sudo apt-get install libxtst6:i386

 

That should be it, although I did install a bunch of other packages so I'm not sure if I have missed anything here. I'll try repeating the installation in a fresh Ubuntu 13.10 virtual machine tomorrow just to make sure. If confirmed, it would be nice if Blackberry could update the NDK download page for Linux users (who like using bleeding edge Ubuntu releases).

Please use plain text.
Contributor
scottdeagan
Posts: 43
Registered: ‎05-07-2012
My Device: Z10 • Z30 • PlayBook
My Carrier: 3 Network UK

Re: Ubuntu 13.10 and NDK 10.2

It turns out libxtst6:i386 wasn't the only required package on a fresh intall of Ubuntu 13.10:

 

sudo apt-get install build-essential

 

sudo apt-get install libc6:i386 libstdc++6:i386

 

 

sudo apt-get install libatk1.0-0:i386 libc6:i386 libcairo2:i386 libexpat1:i386 libffi6:i386 libfontconfig1:i386 libfreetype6:i386 libgcc1:i386 libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libgtk2.0-0:i386 libpango1.0-0:i386 libpcre3:i386 libpixman-1-0:i386 libpng12-0:i386 libselinux1:i386 libstdc++6:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxrandr2:i386 libxrender1:i386 libxtst6:i386 zlib1g:i386

 

(from: http://devblog.blackberry.com/2013/01/linux-setup-blackberry-10-development/)

 

After that (if you installed to the default directory), you should be good to go:

 

/opt/bbndk/qde

 

 

Please use plain text.
Developer
madkristoff
Posts: 58
Registered: ‎11-30-2012
My Device: BlackBerry Z10
My Carrier: Telus

Re: Ubuntu 13.10 and NDK 10.2

Another thing, if you need qml preview you may need to follow this guide: http://supportforums.blackberry.com/t5/Native-Development/Blackberry-10-2-NDK-issue-on-Ubuntu-Linux/...

Someone should probably write a knowledge base article about Linux, the NDK and mounting devices with Linux. Maybe I will start one.
__________________________________________________________

If my post helped, click the like button!

Developer of Reader|YC , an open source Hackernews client
Please use plain text.
New Developer
lmuller
Posts: 20
Registered: ‎03-27-2012
My Device: Z10 LE, PlayBook & Dev Alpha C
My Carrier: Vodafone

Re: Ubuntu 13.10 and NDK 10.2

Thanks, this info should be on the download page of the Native SDK. Took me a while to figure it out.
Please use plain text.