• *
  • 3
Building on Linux Mint 18
« on: July 01, 2016, 06:43:33 am »
I've been building 'next' on Linux Mint 17.3 for some time now. No problems.  I was unable to get bluetooth to work though.  So I installed LM 18 and was (with a little tweaking) able to get a reliable bluetooth connection.  I decided to build from scratch but have run into a problem with the QT56 stuff.  Is this my problem or is the Qt56 stuff really missing in repository ppa:librepilot/tools?

Never mind. Went back to LM 17.3.  I need a GCS more than bluetooth I guess.  Something changed in LM 18 preventing getting the QT56 stuff.  If anyone figures it out please drop me a note how you did it.
« Last Edit: July 02, 2016, 05:24:52 am by mali »

Re: Building on Linux Mint 18
« Reply #1 on: July 04, 2016, 05:09:40 am »
I'm running Mint Mate 17.2.  There is a manual "system wide" install procedure documented in relation to 32 bit IIRC.  I did that, and each time I start a new terminal I run:

source  /opt/qt56/bin/

But I think that is not supposed to be required any more?


  • *
  • 3
Re: Building on Linux Mint 18
« Reply #2 on: July 07, 2016, 02:13:31 am »
Under Linux Mint 18 'Sarah' Cinnamon 64 bit this is the output of some of the commands (taken from Linux - Building and Packaging in the docs).  Under LM 17.3 everything works as expected, but under LM 18 the QT56 stuff can't be located and, of course, there is no directory created /opt/qt56.  Here it is, maybe someone will see what the problem is.

[email protected] ~/code/librepilot $ git checkout next
Already on 'next'
Your branch is up-to-date with 'origin/next'.
[email protected] ~/code/librepilot $ sudo add-apt-repository ppa:librepilot/tools -y
[sudo] password for greg:
You are about to add the following PPA:
 Build dependencies for LibrePilot
 More info:
Executing: /tmp/tmp.T41hxxEEkt/ --keyserver
gpg: requesting key 45DC3732 from hkp server
gpg: key 45DC3732: public key "Launchpad PPA for LibrePilot" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
[email protected] ~/code/librepilot $ sudo apt-get update -q
Get:1 xenial-security InRelease [94.5 kB]
Get:2 xenial InRelease [18.1 kB]
Hit:3 xenial InRelease
Hit:4 xenial InRelease
Get:5 xenial-updates InRelease [94.5 kB]
Hit:6 xenial-backports InRelease
Get:7 xenial/main Sources [1,088 B]
Get:8 xenial-updates/main amd64 Packages [248 kB]
Get:9 xenial/main amd64 Packages [2,128 B]
Get:10 xenial/main i386 Packages [2,132 B]
Get:11 xenial/main Translation-en [908 B]
Get:12 xenial-updates/main i386 Packages [244 kB]
Get:13 xenial-updates/main Translation-en [98.1 kB]
Get:14 xenial-updates/universe amd64 Packages [152 kB]
Get:15 xenial-updates/universe i386 Packages [149 kB]
Get:16 xenial-updates/universe Translation-en [74.9 kB]
Ign:17 sarah InRelease
Hit:18 sarah Release
Fetched 1,179 kB in 5s (216 kB/s)
Reading package lists...
[email protected] ~/code/librepilot $ sudo apt-get install -y libudev-dev \
> libusb-1.0-0-dev \
> libsdl1.2-dev \
> python \
> libopenscenegraph-dev \
> qt56-meta-minimal \
> qt56svg \
> qt56script \
> qt56serialport \
> qt56multimedia \
> qt56translations \
> qt56tools \
> qt56quickcontrols
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package qt56-meta-minimal
E: Unable to locate package qt56svg
E: Unable to locate package qt56script
E: Unable to locate package qt56serialport
E: Unable to locate package qt56multimedia
E: Unable to locate package qt56translations
E: Unable to locate package qt56tools
E: Unable to locate package qt56quickcontrols
[email protected] ~/code/librepilot $ source /opt/qt56/bin/
bash: /opt/qt56/bin/ No such file or directory


  • *
  • 3
Re: Building on Linux Mint 18
« Reply #3 on: July 07, 2016, 08:05:13 pm »
Ok, figured it out.  (Given enough time even a monkey can figure out how to type)

At some point someone who knows what they are doing (unlike me) should take a look at the docs for building and packaging Linux. The steps needed are different between LM 17.3 and LM 18. In some cases some steps are not needed and in others the order the steps are taken is different.  I suspect some difference in handling QT5.6.x. 
Also, I cane make a .deb package in LM 17.3 but not in LM 18......I'll just keep working on that