Skip to content

connman: DNS port issues on build 1

sethismyfriend edited this page Sep 25, 2014 · 3 revisions

UPDATE: the IOTDK does not conflict with port 53 - it has the updated version of connman

The current version of connman on the Galileo (1.12) conflicts with DNS. (They fight over port 53.)

We are still working to resolve this problem. Here are some notes related to building a newer version of connman on the Galileo 2.


Installing Packages

Make sure the system time is current.

The typical process for building a package is to download (use curl -O or wget) and then:

./configure
make
make install

Some packages require you to use autoconf to build the configure script from configure.ac autoconf -v

If there is an error about 'pkgconfig', you might need to do something along these lines: export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/ && ./configure && make

Automake must be === v. 1.13.*.

glib is distributed as .xz files. I had to unzip these on my mac tar -xJf tar.xz and then copy over to the galileo

Dependencies

These are packages I had to install in my effort to build connman.

http://www.zlib.net/ http://petio.org/tools/texinfo.html https://github.com/atgreen/libffi https://download.gnome.org/sources/glib/2.32/ http://www.linuxfromscratch.org/blfs/view/svn/general/glib2.html