how to compile Freecad on ARM Tablet bq m10 15.04 (Ubuntu Touch)

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: how to compile Freecad on ARM Tablet bq m10 15.04 (Ubuntu Touch)

Post by triplus »

Yes lines like this:

Code: Select all

libpyside-dev : Depends: libpyside1.2 (= 1.2.2-1) but 1.2.2-2+b1 is to be installed
Indicate you manually installed some .deb packages from Debian and now that is getting in the way. Try out:

Code: Select all

sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
Hopefully that should remove such packages from the cache.

P.S. After try again with installing the dependencies.
243750496
Posts: 11
Joined: Mon Dec 26, 2016 6:49 pm

Re: how to compile Freecad on ARM Tablet bq m10 15.04 (Ubuntu Touch)

Post by 243750496 »

triplus wrote:Yes lines like this:

Code: Select all

libpyside-dev : Depends: libpyside1.2 (= 1.2.2-1) but 1.2.2-2+b1 is to be installed
Indicate you manually installed some .deb packages from Debian and now that is getting in the way. Try out:

Code: Select all

sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
Hopefully that should remove such packages from the cache.

P.S. After try again with installing the dependencies.
The following packages have unmet dependencies:
libboost-thread1.55-dev : Depends: libboost-date-time1.55-dev (= 1.55.0+dfsg-3ubuntu2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Code: Select all

cc@CC:~$ adb shell
phablet@ubuntu-phablet:~$ libertine-container-manager exec --command "/bin/bash" --id vivid-2
groups: cannot find name for group ID 1001
groups: cannot find name for group ID 1002
groups: cannot find name for group ID 1003
groups: cannot find name for group ID 1004
groups: cannot find name for group ID 1005
groups: cannot find name for group ID 1013
groups: cannot find name for group ID 1015
groups: cannot find name for group ID 1021
groups: cannot find name for group ID 2001
groups: cannot find name for group ID 3002
groups: cannot find name for group ID 3003
groups: cannot find name for group ID 3004
groups: cannot find name for group ID 9997
groups: cannot find name for group ID 32011
root@ubuntu-phablet:/# sudo apt-get clean
bash: sudo: command not found
root@ubuntu-phablet:/# apt-get clean
root@ubuntu-phablet:/# apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
root@ubuntu-phablet:/# apt-get autoremove
Reading package lists... Done
Building dependency tree        
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-phablet:/# apt-get install doxygen libboost1.55-dev libboost-filesystem1.55-dev libboost-program-options1.55-dev libboost-python1.55-dev libboost-regex1.55-dev libboost-signals1.55-dev libboost-system1.55-dev libboost-thread1.55-dev libboost-thread1.55-dev libcoin80 libcoin80-dev libeigen3-dev liboce-foundation-dev liboce-modeling-dev liboce-ocaf-dev liboce-ocaf-lite-dev liboce-visualization-dev libpyside-dev libqtcore4 libshiboken-dev libxerces-c-dev libxmu-dev libxmu-headers libxmu6 libxmuu-dev libxmuu1 netgen netgen-headers oce-draw pyside-tools python-dev python-pyside python-matplotlib qt4-dev-tools qt4-qmake shiboken libmed-dev libmedc-dev asciidoc
Reading package lists... Done
Building dependency tree        
Reading state information... Done
libboost-filesystem1.55-dev is already the newest version.
libboost-filesystem1.55-dev set to manually installed.
libboost-system1.55-dev is already the newest version.
libboost-system1.55-dev set to manually installed.
libboost1.55-dev is already the newest version.
libboost1.55-dev set to manually installed.
libxmu6 is already the newest version.
libxmu6 set to manually installed.
libxmuu1 is already the newest version.
libxmuu1 set to manually installed.
python-dev is already the newest version.
pyside-tools is already the newest version.
libqtcore4 is already the newest version.
libqtcore4 set to manually installed.
python-pyside is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libboost-thread1.55-dev : Depends: libboost-date-time1.55-dev (= 1.55.0+dfsg-3ubuntu2) but it is not going to be installed
 libpyside-dev : Depends: libpyside1.2 (= 1.2.2-1) but 1.2.2-2+b1 is to be installed
 libshiboken-dev : Depends: libshiboken1.2 (= 1.2.2-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@ubuntu-phablet:/# apt-get remove libpyside1.2
Reading package lists... Done
Building dependency tree        
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dconf-gsettings-backend dconf-service glib-networking glib-networking-common
  glib-networking-services gsettings-desktop-schemas gstreamer1.0-plugins-good
  gstreamer1.0-pulseaudio gstreamer1.0-x libaa1 libavc1394-0 libcaca0
  libcairo-gobject2 libdconf1 libdv4 libgstreamer-plugins-good1.0-0
  libiec61883-0 libphonon4 libproxy1 libpulse-mainloop-glib0 libraw1394-11
  libshout3 libsoup2.4-1 libspeex1 libtag1-vanilla libtag1c2a libv4l-0
  libv4lconvert0 libvpx1 libwavpack1 phonon phonon-backend-gstreamer
  phonon-backend-gstreamer-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  libpyside1.2 pyside-tools python-pyside python-pyside.phonon
  python-pyside.qtcore python-pyside.qtdeclarative python-pyside.qtgui
  python-pyside.qthelp python-pyside.qtnetwork python-pyside.qtopengl
  python-pyside.qtscript python-pyside.qtsql python-pyside.qtsvg
  python-pyside.qttest python-pyside.qtuitools python-pyside.qtwebkit
  python-pyside.qtxml
0 upgraded, 0 newly installed, 17 to remove and 0 not upgraded.
After this operation, 14.9 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 42701 files and directories currently installed.)
Removing python-pyside (1.2.2-2) ...
Removing python-pyside.qtuitools (1.2.2-2+b1) ...
Removing python-pyside.qtscript (1.2.2-2+b1) ...
Removing pyside-tools (0.2.15-1) ...
Removing python-pyside.phonon (1.2.2-2+b1) ...
Removing python-pyside.qtdeclarative (1.2.2-2+b1) ...
Removing python-pyside.qtwebkit (1.2.2-2+b1) ...
Removing python-pyside.qtsql (1.2.2-2+b1) ...
Removing python-pyside.qthelp (1.2.2-2+b1) ...
Removing python-pyside.qtopengl (1.2.2-2+b1) ...
Removing python-pyside.qtsvg (1.2.2-2+b1) ...
Removing python-pyside.qttest (1.2.2-2+b1) ...
Removing python-pyside.qtxml (1.2.2-2+b1) ...
Removing python-pyside.qtnetwork (1.2.2-2+b1) ...
Removing python-pyside.qtgui (1.2.2-2+b1) ...
Removing python-pyside.qtcore (1.2.2-2+b1) ...
Removing libpyside1.2:armhf (1.2.2-2+b1) ...
Processing triggers for man-db (2.7.0.2-5) ...
/usr/bin/mandb: error while loading shared libraries: libmandb-2.7.0.2.so: cannot open shared object file: No such file or directory
Processing triggers for libc-bin (2.21-0ubuntu4.0.1) ...
root@ubuntu-phablet:/# apt-get install doxygen libboost1.55-dev libboost-filesystem1.55-dev libboost-program-options1.55-dev libboost-python1.55-dev libboost-regex1.55-dev libboost-signals1.55-dev libboost-system1.55-dev libboost-thread1.55-dev libboost-thread1.55-dev libcoin80 libcoin80-dev libeigen3-dev liboce-foundation-dev liboce-modeling-dev liboce-ocaf-dev liboce-ocaf-lite-dev liboce-visualization-dev libpyside-dev libqtcore4 libshiboken-dev libxerces-c-dev libxmu-dev libxmu-headers libxmu6 libxmuu-dev libxmuu1 netgen netgen-headers oce-draw pyside-tools python-dev python-pyside python-matplotlib qt4-dev-tools qt4-qmake shiboken libmed-dev libmedc-dev asciidoc
Reading package lists... Done
Building dependency tree        
Reading state information... Done
libboost-filesystem1.55-dev is already the newest version.
libboost-filesystem1.55-dev set to manually installed.
libboost-system1.55-dev is already the newest version.
libboost-system1.55-dev set to manually installed.
libboost1.55-dev is already the newest version.
libboost1.55-dev set to manually installed.
libxmu6 is already the newest version.
libxmu6 set to manually installed.
libxmuu1 is already the newest version.
libxmuu1 set to manually installed.
python-dev is already the newest version.
libqtcore4 is already the newest version.
libqtcore4 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libboost-thread1.55-dev : Depends: libboost-date-time1.55-dev (= 1.55.0+dfsg-3ubuntu2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@ubuntu-phablet:/# apt-get remove libboost-date-time1.55-dev
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Package 'libboost-date-time1.55-dev' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  dconf-gsettings-backend dconf-service glib-networking glib-networking-common
  glib-networking-services gsettings-desktop-schemas gstreamer1.0-plugins-good
  gstreamer1.0-pulseaudio gstreamer1.0-x libaa1 libavc1394-0 libcaca0
  libcairo-gobject2 libdconf1 libdv4 libgstreamer-plugins-good1.0-0
  libiec61883-0 libphonon4 libproxy1 libpulse-mainloop-glib0 libraw1394-11
  libshout3 libsoup2.4-1 libspeex1 libtag1-vanilla libtag1c2a libv4l-0
  libv4lconvert0 libvpx1 libwavpack1 phonon phonon-backend-gstreamer
  phonon-backend-gstreamer-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-phablet:/# apt-get install doxygen libboost1.55-dev libboost-filesystem1.55-dev libboost-program-options1.55-dev libboost-python1.55-dev libboost-regex1.55-dev libboost-signals1.55-dev libboost-system1.55-dev libboost-thread1.55-dev libboost-thread1.55-dev libcoin80 libcoin80-dev libeigen3-dev liboce-foundation-dev liboce-modeling-dev liboce-ocaf-dev liboce-ocaf-lite-dev liboce-visualization-dev libpyside-dev libqtcore4 libshiboken-dev libxerces-c-dev libxmu-dev libxmu-headers libxmu6 libxmuu-dev libxmuu1 netgen netgen-headers oce-draw pyside-tools python-dev python-pyside python-matplotlib qt4-dev-tools qt4-qmake shiboken libmed-dev libmedc-dev asciidoc
Reading package lists... Done
Building dependency tree        
Reading state information... Done
libboost-filesystem1.55-dev is already the newest version.
libboost-filesystem1.55-dev set to manually installed.
libboost-system1.55-dev is already the newest version.
libboost-system1.55-dev set to manually installed.
libboost1.55-dev is already the newest version.
libboost1.55-dev set to manually installed.
libxmu6 is already the newest version.
libxmu6 set to manually installed.
libxmuu1 is already the newest version.
libxmuu1 set to manually installed.
python-dev is already the newest version.
libqtcore4 is already the newest version.
libqtcore4 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libboost-thread1.55-dev : Depends: libboost-date-time1.55-dev (= 1.55.0+dfsg-3ubuntu2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: how to compile Freecad on ARM Tablet bq m10 15.04 (Ubuntu Touch)

Post by triplus »

Code: Select all

sudo apt-mark auto libboost-filesystem1.55-dev libboost-system1.55-dev libboost1.55-dev libxmu6 libxmuu1 python-dev libqtcore4
sudo apt-get remove libboost-thread1.55-dev
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
And after try to install the dependencies again.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: how to compile Freecad on ARM Tablet bq m10 15.04 (Ubuntu Touch)

Post by triplus »

Note that i modified the first line in the instructions a bit.

P.S. As fixing the packages related issues makes sense regardless of FreeCAD. If the above instructions won't suffice and other broken packages will be detected install Synaptic GUI tool if you will get stuck in the terminal. Under Status section you will be able to manage broken packages.
243750496
Posts: 11
Joined: Mon Dec 26, 2016 6:49 pm

Re: how to compile Freecad on ARM Tablet bq m10 15.04 (Ubuntu Touch)

Post by 243750496 »

triplus wrote:

Code: Select all

sudo apt-mark auto libboost-filesystem1.55-dev libboost-system1.55-dev libboost1.55-dev libxmu6 libxmuu1 python-dev libqtcore4
sudo apt-get remove libboost-thread1.55-dev
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
And after try to install the dependencies again.

root@ubuntu-phablet:/# apt-get remove libboost-thread1.55-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'libboost-thread1.55-dev' is not installed, so not removed
BTW:synaptic can not run on touch system(it will flash and then breakdown)

Code: Select all

phablet@ubuntu-phablet:~$ libertine-container-manager exec --command "/bin/bash" --id vivid-2
groups: cannot find name for group ID 1001
groups: cannot find name for group ID 1002
groups: cannot find name for group ID 1003
groups: cannot find name for group ID 1004
groups: cannot find name for group ID 1005
groups: cannot find name for group ID 1013
groups: cannot find name for group ID 1015
groups: cannot find name for group ID 1021
groups: cannot find name for group ID 2001
groups: cannot find name for group ID 3002
groups: cannot find name for group ID 3003
groups: cannot find name for group ID 3004
groups: cannot find name for group ID 9997
groups: cannot find name for group ID 32011
root@ubuntu-phablet:/# apt-get install synaptic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gstreamer1.0-plugins-good gstreamer1.0-pulseaudio gstreamer1.0-x libaa1
  libavc1394-0 libcaca0 libdv4 libgstreamer-plugins-good1.0-0 libiec61883-0
  libphonon4 libpulse-mainloop-glib0 libraw1394-11 libshout3 libspeex1
  libtag1-vanilla libtag1c2a libwavpack1 phonon phonon-backend-gstreamer
  phonon-backend-gstreamer-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  acl at-spi2-core colord colord-data libatk-bridge2.0-0 libatspi2.0-0
  libcairo-perl libcolord2 libcolorhug2 libept1.4.12 libexif12 libgd3
  libglib-perl libgphoto2-6 libgphoto2-l10n libgphoto2-port10 libgtk-3-0
  libgtk-3-bin libgtk-3-common libgtk2-perl libgusb2 libieee1284-3
  libjson-glib-1.0-0 libjson-glib-1.0-common libmirclient9 libmircommon6
  libmirprotobuf3 libpango-perl libprotobuf-lite9 librarian0 librest-0.7-0
  libsane libsane-common libsoup-gnome2.4-1 libvte-2.90-9 libvte-2.90-common
  libwayland-cursor0 libxapian22 rarian-compat
Suggested packages:
  colord-sensor-argyll libfont-freetype-perl libgd-tools gphoto2 gtkam
  libgtk2-perl-doc avahi-daemon hplip hpoj libsane-extras sane-utils
  xapian-tools dwww menu deborphan apt-xapian-index tasksel
  software-properties-gtk
The following NEW packages will be installed:
  acl at-spi2-core colord colord-data libatk-bridge2.0-0 libatspi2.0-0
  libcairo-perl libcolord2 libcolorhug2 libept1.4.12 libexif12 libgd3
  libglib-perl libgphoto2-6 libgphoto2-l10n libgphoto2-port10 libgtk-3-0
  libgtk-3-bin libgtk-3-common libgtk2-perl libgusb2 libieee1284-3
  libjson-glib-1.0-0 libjson-glib-1.0-common libmirclient9 libmircommon6
  libmirprotobuf3 libpango-perl libprotobuf-lite9 librarian0 librest-0.7-0
  libsane libsane-common libsoup-gnome2.4-1 libvte-2.90-9 libvte-2.90-common
  libwayland-cursor0 libxapian22 rarian-compat synaptic
0 upgraded, 40 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,975 kB of archives.
After this operation, 41.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libatspi2.0-0 armhf 2.14.0-1ubuntu2 [48.7 kB]
Get:2 http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/ vivid/main libgtk-3-common all 3.14.15-0ubuntu4 [188 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libatk-bridge2.0-0 armhf 2.14.0-2ubuntu1 [44.4 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libcolord2 armhf 1.2.8-0ubuntu1 [90.5 kB]
Get:5 http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/ vivid/main libjson-glib-1.0-common all 1.0.4-2ubuntu1 [5,916 B]
Get:6 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libgusb2 armhf 0.2.2-1 [13.1 kB]
Get:7 http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/ vivid/main libjson-glib-1.0-0 armhf 1.0.4-2ubuntu1 [50.2 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libcolorhug2 armhf 1.2.8-0ubuntu1 [23.2 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libexif12 armhf 0.6.21-2 [66.4 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libgd3 armhf 2.1.0-5 [105 kB]
Get:11 http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/ vivid/main libmircommon6 armhf 0.24.1+15.04.20160928-0ubuntu1 [75.0 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libgphoto2-port10 armhf 2.5.4-1.1ubuntu1 [35.9 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libgphoto2-6 armhf 2.5.4-1.1ubuntu1 [683 kB]
Get:14 http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/ vivid/main libmirprotobuf3 armhf 0.24.1+15.04.20160928-0ubuntu1 [91.6 kB]
Get:15 http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/ vivid/main libmirclient9 armhf 0.24.1+15.04.20160928-0ubuntu1 [165 kB]
Get:16 http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/ vivid/main libgtk-3-0 armhf 3.14.15-0ubuntu4 [1,905 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libprotobuf-lite9 armhf 2.6.1-1 [53.5 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libsoup-gnome2.4-1 armhf 2.49.92-1 [4,786 B]
Get:19 http://ports.ubuntu.com/ubuntu-ports/ vivid/main librest-0.7-0 armhf 0.7.92-3 [27.2 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libwayland-cursor0 armhf 1.7.0-0ubuntu1 [9,032 B]
Get:21 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libieee1284-3 armhf 0.2.11-12 [19.1 kB]
Get:22 http://ports.ubuntu.com/ubuntu-ports/ vivid/main acl armhf 2.2.52-2 [34.9 kB]
Get:23 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libsane-common all 1.0.24-4ubuntu1 [704 kB]
Get:24 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libsane armhf 1.0.24-4ubuntu1 [1,819 kB]
Get:25 http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/ vivid/main libgtk-3-bin armhf 3.14.15-0ubuntu4 [45.7 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports/ vivid/main at-spi2-core armhf 2.14.0-1ubuntu2 [39.9 kB]
Get:27 http://ports.ubuntu.com/ubuntu-ports/ vivid/main colord-data all 1.2.8-0ubuntu1 [102 kB]
Get:28 http://ports.ubuntu.com/ubuntu-ports/ vivid/main colord armhf 1.2.8-0ubuntu1 [159 kB]
Get:29 http://ports.ubuntu.com/ubuntu-ports/ vivid/universe libcairo-perl armhf 1.104-2 [82.8 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libept1.4.12 armhf 1.0.12.1 [107 kB]
Get:31 http://ports.ubuntu.com/ubuntu-ports/ vivid/universe libglib-perl armhf 3:1.305-2 [320 kB]
Get:32 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libgphoto2-l10n all 2.5.4-1.1ubuntu1 [7,504 B]
Get:33 http://ports.ubuntu.com/ubuntu-ports/ vivid/universe libpango-perl armhf 1.226-2 [181 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports/ vivid/universe libgtk2-perl armhf 2:1.2492-4 [474 kB]
Get:35 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libvte-2.90-common all 1:0.36.3-1ubuntu2 [24.5 kB]
Get:36 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libvte-2.90-9 armhf 1:0.36.3-1ubuntu2 [236 kB]
Get:37 http://ports.ubuntu.com/ubuntu-ports/ vivid/main libxapian22 armhf 1.2.19-1 [508 kB]
Get:38 http://ports.ubuntu.com/ubuntu-ports/ vivid/main librarian0 armhf 0.8.1-6 [44.4 kB]
Get:39 http://ports.ubuntu.com/ubuntu-ports/ vivid/main rarian-compat armhf 0.8.1-6 [48.7 kB]
Get:40 http://ports.ubuntu.com/ubuntu-ports/ vivid/universe synaptic armhf 0.81.3 [1,333 kB]
Fetched 9,975 kB in 30s (329 kB/s)                                             
Extracting templates from packages: 100%
Selecting previously unselected package libatspi2.0-0:armhf.
(Reading database ... 42565 files and directories currently installed.)
Preparing to unpack .../libatspi2.0-0_2.14.0-1ubuntu2_armhf.deb ...
Unpacking libatspi2.0-0:armhf (2.14.0-1ubuntu2) ...
Selecting previously unselected package libatk-bridge2.0-0:armhf.
Preparing to unpack .../libatk-bridge2.0-0_2.14.0-2ubuntu1_armhf.deb ...
Unpacking libatk-bridge2.0-0:armhf (2.14.0-2ubuntu1) ...
Selecting previously unselected package libcolord2:armhf.
Preparing to unpack .../libcolord2_1.2.8-0ubuntu1_armhf.deb ...
Unpacking libcolord2:armhf (1.2.8-0ubuntu1) ...
Selecting previously unselected package libgusb2:armhf.
Preparing to unpack .../libgusb2_0.2.2-1_armhf.deb ...
Unpacking libgusb2:armhf (0.2.2-1) ...
Selecting previously unselected package libcolorhug2:armhf.
Preparing to unpack .../libcolorhug2_1.2.8-0ubuntu1_armhf.deb ...
Unpacking libcolorhug2:armhf (1.2.8-0ubuntu1) ...
Selecting previously unselected package libexif12:armhf.
Preparing to unpack .../libexif12_0.6.21-2_armhf.deb ...
Unpacking libexif12:armhf (0.6.21-2) ...
Selecting previously unselected package libgd3:armhf.
Preparing to unpack .../libgd3_2.1.0-5_armhf.deb ...
Unpacking libgd3:armhf (2.1.0-5) ...
Selecting previously unselected package libgphoto2-port10:armhf.
Preparing to unpack .../libgphoto2-port10_2.5.4-1.1ubuntu1_armhf.deb ...
Unpacking libgphoto2-port10:armhf (2.5.4-1.1ubuntu1) ...
Selecting previously unselected package libgphoto2-6:armhf.
Preparing to unpack .../libgphoto2-6_2.5.4-1.1ubuntu1_armhf.deb ...
Unpacking libgphoto2-6:armhf (2.5.4-1.1ubuntu1) ...
Selecting previously unselected package libgtk-3-common.
Preparing to unpack .../libgtk-3-common_3.14.15-0ubuntu4_all.deb ...
Unpacking libgtk-3-common (3.14.15-0ubuntu4) ...
Selecting previously unselected package libjson-glib-1.0-common.
Preparing to unpack .../libjson-glib-1.0-common_1.0.4-2ubuntu1_all.deb ...
Unpacking libjson-glib-1.0-common (1.0.4-2ubuntu1) ...
Selecting previously unselected package libjson-glib-1.0-0:armhf.
Preparing to unpack .../libjson-glib-1.0-0_1.0.4-2ubuntu1_armhf.deb ...
Unpacking libjson-glib-1.0-0:armhf (1.0.4-2ubuntu1) ...
Selecting previously unselected package libmircommon6:armhf.
Preparing to unpack .../libmircommon6_0.24.1+15.04.20160928-0ubuntu1_armhf.deb ...
Unpacking libmircommon6:armhf (0.24.1+15.04.20160928-0ubuntu1) ...
Selecting previously unselected package libprotobuf-lite9:armhf.
Preparing to unpack .../libprotobuf-lite9_2.6.1-1_armhf.deb ...
Unpacking libprotobuf-lite9:armhf (2.6.1-1) ...
Selecting previously unselected package libmirprotobuf3:armhf.
Preparing to unpack .../libmirprotobuf3_0.24.1+15.04.20160928-0ubuntu1_armhf.deb ...
Unpacking libmirprotobuf3:armhf (0.24.1+15.04.20160928-0ubuntu1) ...
Selecting previously unselected package libmirclient9:armhf.
Preparing to unpack .../libmirclient9_0.24.1+15.04.20160928-0ubuntu1_armhf.deb ...
Unpacking libmirclient9:armhf (0.24.1+15.04.20160928-0ubuntu1) ...
Selecting previously unselected package libsoup-gnome2.4-1:armhf.
Preparing to unpack .../libsoup-gnome2.4-1_2.49.92-1_armhf.deb ...
Unpacking libsoup-gnome2.4-1:armhf (2.49.92-1) ...
Selecting previously unselected package librest-0.7-0:armhf.
Preparing to unpack .../librest-0.7-0_0.7.92-3_armhf.deb ...
Unpacking librest-0.7-0:armhf (0.7.92-3) ...
Selecting previously unselected package libwayland-cursor0:armhf.
Preparing to unpack .../libwayland-cursor0_1.7.0-0ubuntu1_armhf.deb ...
Unpacking libwayland-cursor0:armhf (1.7.0-0ubuntu1) ...
Selecting previously unselected package libgtk-3-0:armhf.
Preparing to unpack .../libgtk-3-0_3.14.15-0ubuntu4_armhf.deb ...
Unpacking libgtk-3-0:armhf (3.14.15-0ubuntu4) ...
Selecting previously unselected package libieee1284-3:armhf.
Preparing to unpack .../libieee1284-3_0.2.11-12_armhf.deb ...
Unpacking libieee1284-3:armhf (0.2.11-12) ...
Selecting previously unselected package acl.
Preparing to unpack .../acl_2.2.52-2_armhf.deb ...
Unpacking acl (2.2.52-2) ...
Selecting previously unselected package libsane-common.
Preparing to unpack .../libsane-common_1.0.24-4ubuntu1_all.deb ...
Unpacking libsane-common (1.0.24-4ubuntu1) ...
Selecting previously unselected package libsane:armhf.
Preparing to unpack .../libsane_1.0.24-4ubuntu1_armhf.deb ...
Unpacking libsane:armhf (1.0.24-4ubuntu1) ...
Selecting previously unselected package at-spi2-core.
Preparing to unpack .../at-spi2-core_2.14.0-1ubuntu2_armhf.deb ...
Unpacking at-spi2-core (2.14.0-1ubuntu2) ...
Selecting previously unselected package colord-data.
Preparing to unpack .../colord-data_1.2.8-0ubuntu1_all.deb ...
Unpacking colord-data (1.2.8-0ubuntu1) ...
Selecting previously unselected package colord.
Preparing to unpack .../colord_1.2.8-0ubuntu1_armhf.deb ...
Unpacking colord (1.2.8-0ubuntu1) ...
Selecting previously unselected package libcairo-perl.
Preparing to unpack .../libcairo-perl_1.104-2_armhf.deb ...
Unpacking libcairo-perl (1.104-2) ...
Selecting previously unselected package libept1.4.12:armhf.
Preparing to unpack .../libept1.4.12_1.0.12.1_armhf.deb ...
Unpacking libept1.4.12:armhf (1.0.12.1) ...
Selecting previously unselected package libglib-perl.
Preparing to unpack .../libglib-perl_3%3a1.305-2_armhf.deb ...
Unpacking libglib-perl (3:1.305-2) ...
Selecting previously unselected package libgphoto2-l10n.
Preparing to unpack .../libgphoto2-l10n_2.5.4-1.1ubuntu1_all.deb ...
Unpacking libgphoto2-l10n (2.5.4-1.1ubuntu1) ...
Selecting previously unselected package libgtk-3-bin.
Preparing to unpack .../libgtk-3-bin_3.14.15-0ubuntu4_armhf.deb ...
Adding 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin'
Adding 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin'
Unpacking libgtk-3-bin (3.14.15-0ubuntu4) ...
Selecting previously unselected package libpango-perl.
Preparing to unpack .../libpango-perl_1.226-2_armhf.deb ...
Unpacking libpango-perl (1.226-2) ...
Selecting previously unselected package libgtk2-perl.
Preparing to unpack .../libgtk2-perl_2%3a1.2492-4_armhf.deb ...
Unpacking libgtk2-perl (2:1.2492-4) ...
Selecting previously unselected package libvte-2.90-common.
Preparing to unpack .../libvte-2.90-common_1%3a0.36.3-1ubuntu2_all.deb ...
Unpacking libvte-2.90-common (1:0.36.3-1ubuntu2) ...
Selecting previously unselected package libvte-2.90-9.
Preparing to unpack .../libvte-2.90-9_1%3a0.36.3-1ubuntu2_armhf.deb ...
Unpacking libvte-2.90-9 (1:0.36.3-1ubuntu2) ...
Selecting previously unselected package libxapian22.
Preparing to unpack .../libxapian22_1.2.19-1_armhf.deb ...
Unpacking libxapian22 (1.2.19-1) ...
Selecting previously unselected package librarian0.
Preparing to unpack .../librarian0_0.8.1-6_armhf.deb ...
Unpacking librarian0 (0.8.1-6) ...
Selecting previously unselected package rarian-compat.
Preparing to unpack .../rarian-compat_0.8.1-6_armhf.deb ...
Unpacking rarian-compat (0.8.1-6) ...
Selecting previously unselected package synaptic.
Preparing to unpack .../synaptic_0.81.3_armhf.deb ...
Unpacking synaptic (0.81.3) ...
Processing triggers for udev (219-7ubuntu6vividtouch1) ...
Processing triggers for libglib2.0-0:armhf (2.44.1-1ubuntu1) ...
Processing triggers for man-db (2.7.0.2-5) ...
/usr/bin/mandb: error while loading shared libraries: libmandb-2.7.0.2.so: cannot open shared object file: No such file or directory
Processing triggers for dbus (1.8.12-1ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for mime-support (3.58ubuntu1) ...
Setting up libatspi2.0-0:armhf (2.14.0-1ubuntu2) ...
Setting up libatk-bridge2.0-0:armhf (2.14.0-2ubuntu1) ...
Setting up libcolord2:armhf (1.2.8-0ubuntu1) ...
Setting up libgusb2:armhf (0.2.2-1) ...
Setting up libcolorhug2:armhf (1.2.8-0ubuntu1) ...
Setting up libexif12:armhf (0.6.21-2) ...
Setting up libgd3:armhf (2.1.0-5) ...
Setting up libgphoto2-port10:armhf (2.5.4-1.1ubuntu1) ...
Setting up libgphoto2-6:armhf (2.5.4-1.1ubuntu1) ...
Setting up libgtk-3-common (3.14.15-0ubuntu4) ...
Setting up libjson-glib-1.0-common (1.0.4-2ubuntu1) ...
Setting up libjson-glib-1.0-0:armhf (1.0.4-2ubuntu1) ...
Setting up libmircommon6:armhf (0.24.1+15.04.20160928-0ubuntu1) ...
Setting up libprotobuf-lite9:armhf (2.6.1-1) ...
Setting up libmirprotobuf3:armhf (0.24.1+15.04.20160928-0ubuntu1) ...
Setting up libmirclient9:armhf (0.24.1+15.04.20160928-0ubuntu1) ...
Setting up libsoup-gnome2.4-1:armhf (2.49.92-1) ...
Setting up librest-0.7-0:armhf (0.7.92-3) ...
Setting up libwayland-cursor0:armhf (1.7.0-0ubuntu1) ...
Setting up libgtk-3-0:armhf (3.14.15-0ubuntu4) ...
Setting up libieee1284-3:armhf (0.2.11-12) ...
Setting up acl (2.2.52-2) ...
Setting up libsane-common (1.0.24-4ubuntu1) ...
Setting up libsane:armhf (1.0.24-4ubuntu1) ...
Setting up at-spi2-core (2.14.0-1ubuntu2) ...
Setting up colord-data (1.2.8-0ubuntu1) ...
Setting up colord (1.2.8-0ubuntu1) ...
Setting up libcairo-perl (1.104-2) ...
Setting up libept1.4.12:armhf (1.0.12.1) ...
Setting up libglib-perl (3:1.305-2) ...
Setting up libgphoto2-l10n (2.5.4-1.1ubuntu1) ...
Setting up libgtk-3-bin (3.14.15-0ubuntu4) ...
Setting up libpango-perl (1.226-2) ...
Setting up libgtk2-perl (2:1.2492-4) ...
Setting up libvte-2.90-common (1:0.36.3-1ubuntu2) ...
Setting up libvte-2.90-9 (1:0.36.3-1ubuntu2) ...
Setting up libxapian22 (1.2.19-1) ...
Setting up librarian0 (0.8.1-6) ...
Setting up rarian-compat (0.8.1-6) ...
Setting up synaptic (0.81.3) ...
root@ubuntu-phablet:/# sudo apt-mark auto libboost-filesystem1.55-dev libboost-system1.55-dev libboost1.55-dev libxmu6 libxmuu1 python-dev libqtcore4
bash: sudo: command not found
root@ubuntu-phablet:/# apt-mark auto libboost-filesystem1.55-dev libboost-system1.55-dev libboost1.55-dev libxmu6 libxmuu1 python-dev libqtcore4
libboost-filesystem1.55-dev was already set to automatically installed.
libboost-system1.55-dev was already set to automatically installed.
libboost1.55-dev was already set to automatically installed.
libxmu6 was already set to automatically installed.
libxmuu1 was already set to automatically installed.
python-dev set to automatically installed.
libqtcore4 was already set to automatically installed.
root@ubuntu-phablet:/# sudo apt-get remove libboost-thread1.55-dev
bash: sudo: command not found
root@ubuntu-phablet:/# apt-get remove libboost-thread1.55-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'libboost-thread1.55-dev' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  gstreamer1.0-plugins-good gstreamer1.0-pulseaudio gstreamer1.0-x libaa1
  libavc1394-0 libcaca0 libdv4 libgstreamer-plugins-good1.0-0 libiec61883-0
  libphonon4 libpulse-mainloop-glib0 libpython-dev libpython2.7-dev
  libraw1394-11 libshout3 libspeex1 libtag1-vanilla libtag1c2a libwavpack1
  phonon phonon-backend-gstreamer phonon-backend-gstreamer-common python-dev
  python2.7-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-phablet:/# apt-get clean
root@ubuntu-phablet:/# apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
root@ubuntu-phablet:/# 
root@ubuntu-phablet:/# apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  gstreamer1.0-plugins-good gstreamer1.0-pulseaudio gstreamer1.0-x libaa1
  libavc1394-0 libcaca0 libdv4 libgstreamer-plugins-good1.0-0 libiec61883-0
  libphonon4 libpulse-mainloop-glib0 libpython-dev libpython2.7-dev
  libraw1394-11 libshout3 libspeex1 libtag1-vanilla libtag1c2a libwavpack1
  phonon phonon-backend-gstreamer phonon-backend-gstreamer-common python-dev
  python2.7-dev
0 upgraded, 0 newly installed, 24 to remove and 0 not upgraded.
After this operation, 33.4 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 44111 files and directories currently installed.)
Removing phonon:armhf (4:4.8.3-0ubuntu2) ...
Removing phonon-backend-gstreamer:armhf (4:4.8.2-0ubuntu1) ...
Removing gstreamer1.0-plugins-good:armhf (1.8.2-1ubuntu0.1~overlay1) ...
Removing gstreamer1.0-pulseaudio:armhf (1.8.2-1ubuntu0.1~overlay1) ...
Removing gstreamer1.0-x:armhf (1.8.2-1ubuntu0.1~overlay1) ...
Removing libaa1:armhf (1.4p5-43) ...
Removing libavc1394-0:armhf (0.5.4-2) ...
Removing libcaca0:armhf (0.99.beta19-2build1) ...
Removing libdv4:armhf (1.0.0-6) ...
Removing libgstreamer-plugins-good1.0-0:armhf (1.8.2-1ubuntu0.1~overlay1) ...
Removing libiec61883-0:armhf (1.2.0-0.2) ...
Removing libphonon4:armhf (4:4.8.3-0ubuntu2) ...
Removing libpulse-mainloop-glib0:armhf (1:6.0-0ubuntu9.25) ...
Removing python-dev (2.7.9-1) ...
Removing libpython-dev:armhf (2.7.9-1) ...
Removing python2.7-dev (2.7.9-2ubuntu3) ...
Removing libpython2.7-dev:armhf (2.7.9-2ubuntu3) ...
Removing libraw1394-11:armhf (2.1.0-3) ...
Removing libshout3:armhf (2.3.1-3) ...
Removing libspeex1:armhf (1.2~rc1.1-1ubuntu1) ...
Removing libtag1c2a:armhf (1.9.1-2.1ubuntu1) ...
Removing libtag1-vanilla:armhf (1.9.1-2.1ubuntu1) ...
Removing libwavpack1:armhf (4.70.0-1) ...
Removing phonon-backend-gstreamer-common:armhf (4:4.8.2-0ubuntu1) ...
Processing triggers for man-db (2.7.0.2-5) ...
/usr/bin/mandb: error while loading shared libraries: libmandb-2.7.0.2.so: cannot open shared object file: No such file or directory
Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
root@ubuntu-phablet:/# apt-get install doxygen libboost1.55-dev libboost-filesystem1.55-dev libboost-program-options1.55-dev libboost-python1.55-dev libboost-regex1.55-dev libboost-signals1.55-dev libboost-system1.55-dev libboost-thread1.55-dev libboost-thread1.55-dev libcoin80 libcoin80-dev libeigen3-dev liboce-foundation-dev liboce-modeling-dev liboce-ocaf-dev liboce-ocaf-lite-dev liboce-visualization-dev libpyside-dev libqtcore4 libshiboken-dev libxerces-c-dev libxmu-dev libxmu-headers libxmu6 libxmuu-dev libxmuu1 netgen netgen-headers oce-draw pyside-tools python-dev python-pyside python-matplotlib qt4-dev-tools qt4-qmake shiboken libmed-dev libmedc-dev asciidoc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libboost-filesystem1.55-dev is already the newest version.
libboost-filesystem1.55-dev set to manually installed.
libboost-system1.55-dev is already the newest version.
libboost-system1.55-dev set to manually installed.
libboost1.55-dev is already the newest version.
libboost1.55-dev set to manually installed.
libxmu6 is already the newest version.
libxmu6 set to manually installed.
libxmuu1 is already the newest version.
libxmuu1 set to manually installed.
libqtcore4 is already the newest version.
libqtcore4 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libboost-thread1.55-dev : Depends: libboost-date-time1.55-dev (= 1.55.0+dfsg-3ubuntu2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@ubuntu-phablet:/# 
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: how to compile Freecad on ARM Tablet bq m10 15.04 (Ubuntu Touch)

Post by triplus »

243750496 wrote:BTW:synaptic can not run on touch system(it will flash and then breakdown)
That doesn't sound all that good. ;) Anyway from the terminal you can try this:

Code: Select all

sudo dpkg --configure -a
sudo apt-get install -f
To see where it gets you. If it won't get you anywhere more in depth research would be needed to figure out what exactly is going on. Or better as there is minimal chance you will compile FreeCAD on this hardware and it would run after. If you don't have other issues and can do regular updates best to forget about running FreeCAD on it and use it as is. As adding PPA sources and Debian packages manually to somehow run FreeCAD will only make the part that is currently working as it should to not work as it should any longer.
243750496
Posts: 11
Joined: Mon Dec 26, 2016 6:49 pm

Re: how to compile Freecad on ARM Tablet bq m10 15.04 (Ubuntu Touch)

Post by 243750496 »

triplus wrote:
243750496 wrote:BTW:synaptic can not run on touch system(it will flash and then breakdown)
That doesn't sound all that good. ;) Anyway from the terminal you can try this:

Code: Select all

sudo dpkg --configure -a
sudo apt-get install -f
To see where it gets you. If it won't get you anywhere more in depth research would be needed to figure out what exactly is going on. Or better as there is minimal chance you will compile FreeCAD on this hardware and it would run after. If you don't have other issues and can do regular updates best to forget about running FreeCAD on it and use it as is. As adding PPA sources and Debian packages manually to somehow run FreeCAD will only make the part that is currently working as it should to not work as it should any longer.

Could not find a package configuration file provided by "VTK" with any of
the following names:

VTKConfig.cmake
vtk-config.cmake




Code: Select all

root@ubuntu-phablet:/home/build# cmake ../freecad
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for GL/gl.h
-- Looking for GL/gl.h - found
-- Looking for C++ include istream
-- Looking for C++ include istream - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include fstream
-- Looking for C++ include fstream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for C++ include ios
-- Looking for C++ include ios - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Looking for C++ include iomanip
-- Looking for C++ include iomanip - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- prefix: /usr/local
-- datadir: data
-- docdir: doc
-- includedir: include
-- libdir: /usr/local/lib
-- Found PythonInterp: /usr/bin/python (found version "2.7.9") 
-- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython2.7.so (found suitable exact version "2.7.9") 
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   regex
--   signals
--   system
--   thread
-- Found Xerces-C: /usr/lib/arm-linux-gnueabihf/libxerces-c.so
-- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.8") 
-- PyCXX found:
--   Headers:  /home/freecad/src
--   Sources:  /home/freecad/src/CXX
-- -- OpenCASCADE Community Edition has been found.
-- Found OCC: /usr/lib/arm-linux-gnueabihf/oce-0.15/../../../include/oce (found version "6.7.0") 
-- -- Found OCE/OpenCASCADE version: 6.7.0
-- -- OCE/OpenCASCADE include directory: /usr/lib/arm-linux-gnueabihf/oce-0.15/../../../include/oce
-- -- OCE/OpenCASCADE shared libraries directory: 
CMake Error at CMakeLists.txt:590 (find_package):
  Could not find a package configuration file provided by "VTK" with any of
  the following names:

    VTKConfig.cmake
    vtk-config.cmake

  Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
  to a directory containing one of the above files.  If "VTK" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/build/CMakeFiles/CMakeOutput.log".
root@ubuntu-phablet:/home/build# 
BTW:I creat a new container and installed nothing then it installed all depends
243750496
Posts: 11
Joined: Mon Dec 26, 2016 6:49 pm

Re: how to compile Freecad on ARM Tablet bq m10 15.04 (Ubuntu Touch)

Post by 243750496 »

root@ubuntu-phablet:/home/build# cmake ../FreeCAD-releases-FreeCAD-0-15/FreeCAD-releases-FreeCAD-0-15
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for GL/gl.h
-- Looking for GL/gl.h - found
-- Looking for C++ include istream
-- Looking for C++ include istream - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include fstream
-- Looking for C++ include fstream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for C++ include ios
-- Looking for C++ include ios - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Looking for C++ include iomanip
-- Looking for C++ include iomanip - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- prefix: /usr/local
-- datadir: data
-- docdir: doc
-- includedir: include
-- libdir: /usr/local/lib
-- Found PythonInterp: /usr/bin/python (found version "2.7.9")
-- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython2.7.so (found suitable exact version "2.7.9")
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- filesystem
-- program_options
-- regex
-- signals
-- system
-- thread
-- Found Xerces-C: /usr/lib/arm-linux-gnueabihf/libxerces-c.so
-- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.8")
-- PyCXX found:
-- Headers: /home/FreeCAD-releases-FreeCAD-0-15/FreeCAD-releases-FreeCAD-0-15/src
-- Sources: /home/FreeCAD-releases-FreeCAD-0-15/FreeCAD-releases-FreeCAD-0-15/src/CXX
-- -- OpenCASCADE Community Edition has been found.
-- Found OCC: /usr/lib/arm-linux-gnueabihf/oce-0.15/../../../include/oce (found version "6.7.0")
-- -- Found OCE/OpenCASCADE version: 6.7.0
-- -- OCE/OpenCASCADE include directory: /usr/lib/arm-linux-gnueabihf/oce-0.15/../../../include/oce
-- -- OCE/OpenCASCADE shared libraries directory:
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
SWIG was not found, build no SWIG binding for pivy
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
qmake: could not exec '/usr/lib/arm-linux-gnueabihf/qt5/bin/qmake': No such file or directory
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.6", minimum required is "4.5.0")
-- Found Freetype: /usr/lib/arm-linux-gnueabihf/libfreetype.so (found version "2.5.2")
-- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so
-- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/arm-linux-gnueabihf/libX11.so
-- Found OpenGL: /usr/lib/arm-linux-gnueabihf/libGL.so
-- Found OpenGLU: /usr/lib/arm-linux-gnueabihf/libGLU.so
-- Could NOT find Spnav (missing: SPNAV_LIBRARY SPNAV_INCLUDE_DIR)
-- libshiboken built for Release
-- Found PySide Tools: /usr/bin/pyside-uic, /usr/bin/pyside-rcc
-- -- matplotlib-1.4.2 has been found.
-- Platform is 32-bit
-- Build type:
sh: 1: git: not found
sh: 1: bzr: not found
sh: 1: svnversion: not found
sh: 1: svn: not found
Unknown version control
/home/build/src/Build/Version.h written
-- /home/build/src/Base/BaseClassPy.cpp
-- /home/build/src/Base/BoundBoxPy.cpp
-- /home/build/src/Base/PersistencePy.cpp
-- /home/build/src/Base/VectorPy.cpp
-- /home/build/src/Base/MatrixPy.cpp
-- /home/build/src/Base/RotationPy.cpp
-- /home/build/src/Base/PlacementPy.cpp
-- /home/build/src/Base/AxisPy.cpp
-- /home/build/src/Base/UnitPy.cpp
-- /home/build/src/Base/QuantityPy.cpp
-- /home/build/src/App/DocumentPy.cpp
-- /home/build/src/App/DocumentObjectPy.cpp
-- /home/build/src/App/DocumentObjectGroupPy.cpp
-- /home/build/src/App/ComplexGeoDataPy.cpp
-- /home/build/src/App/PropertyContainerPy.cpp
-- /home/build/src/App/MaterialPy.cpp
-- /home/build/src/Mod/Points/App/PointsPy.cpp
-- /home/build/src/Mod/Mesh/App/FacetPy.cpp
-- /home/build/src/Mod/Mesh/App/MeshFeaturePy.cpp
-- /home/build/src/Mod/Mesh/App/MeshPointPy.cpp
-- /home/build/src/Mod/Mesh/App/MeshPy.cpp
-- /home/build/src/Mod/Part/App/ArcPy.cpp
-- /home/build/src/Mod/Part/App/ArcOfCirclePy.cpp
-- /home/build/src/Mod/Part/App/ArcOfParabolaPy.cpp
-- /home/build/src/Mod/Part/App/CirclePy.cpp
-- /home/build/src/Mod/Part/App/ArcOfEllipsePy.cpp
-- /home/build/src/Mod/Part/App/EllipsePy.cpp
-- /home/build/src/Mod/Part/App/HyperbolaPy.cpp
-- /home/build/src/Mod/Part/App/ArcOfHyperbolaPy.cpp
-- /home/build/src/Mod/Part/App/ParabolaPy.cpp
-- /home/build/src/Mod/Part/App/OffsetCurvePy.cpp
-- /home/build/src/Mod/Part/App/GeometryPy.cpp
-- /home/build/src/Mod/Part/App/GeometryCurvePy.cpp
-- /home/build/src/Mod/Part/App/GeometrySurfacePy.cpp
-- /home/build/src/Mod/Part/App/LinePy.cpp
-- /home/build/src/Mod/Part/App/PointPy.cpp
-- /home/build/src/Mod/Part/App/BezierCurvePy.cpp
-- /home/build/src/Mod/Part/App/BSplineCurvePy.cpp
-- /home/build/src/Mod/Part/App/PlanePy.cpp
-- /home/build/src/Mod/Part/App/ConePy.cpp
-- /home/build/src/Mod/Part/App/CylinderPy.cpp
-- /home/build/src/Mod/Part/App/SpherePy.cpp
-- /home/build/src/Mod/Part/App/ToroidPy.cpp
-- /home/build/src/Mod/Part/App/BezierSurfacePy.cpp
-- /home/build/src/Mod/Part/App/BSplineSurfacePy.cpp
-- /home/build/src/Mod/Part/App/OffsetSurfacePy.cpp
-- /home/build/src/Mod/Part/App/RectangularTrimmedSurfacePy.cpp
-- /home/build/src/Mod/Part/App/SurfaceOfExtrusionPy.cpp
-- /home/build/src/Mod/Part/App/SurfaceOfRevolutionPy.cpp
-- /home/build/src/Mod/Part/App/PartFeaturePy.cpp
-- /home/build/src/Mod/Part/App/Part2DObjectPy.cpp
-- /home/build/src/Mod/Part/App/TopoShapePy.cpp
-- /home/build/src/Mod/Part/App/TopoShapeCompoundPy.cpp
-- /home/build/src/Mod/Part/App/TopoShapeCompSolidPy.cpp
-- /home/build/src/Mod/Part/App/TopoShapeEdgePy.cpp
-- /home/build/src/Mod/Part/App/TopoShapeFacePy.cpp
-- /home/build/src/Mod/Part/App/TopoShapeShellPy.cpp
-- /home/build/src/Mod/Part/App/TopoShapeSolidPy.cpp
-- /home/build/src/Mod/Part/App/TopoShapeVertexPy.cpp
-- /home/build/src/Mod/Part/App/TopoShapeWirePy.cpp
-- /home/build/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.cpp
-- /home/build/src/Mod/Sketcher/App/SketchObjectSFPy.cpp
-- /home/build/src/Mod/Sketcher/App/SketchObjectPy.cpp
-- /home/build/src/Mod/Sketcher/App/ConstraintPy.cpp
-- /home/build/src/Mod/Sketcher/App/SketchPy.cpp
-- /home/build/src/Mod/Robot/App/Robot6AxisPy.cpp
-- /home/build/src/Mod/Robot/App/TrajectoryPy.cpp
-- /home/build/src/Mod/Robot/App/WaypointPy.cpp
-- /home/build/src/Mod/Robot/App/RobotObjectPy.cpp
-- /home/build/src/Mod/Import/App/StepShapePy.cpp
-- /home/build/src/Mod/Fem/App/FemMeshPy.cpp
-- /home/build/src/Mod/Fem/Gui/ViewProviderFemMeshPy.cpp
-- /home/build/src/Mod/Spreadsheet/App/SheetPy.cpp
-- /home/build/src/Mod/Spreadsheet/App/PropertySheetPy.cpp
-- /home/build/src/Mod/Spreadsheet/App/PropertyColumnWidthsPy.cpp
-- /home/build/src/Mod/Spreadsheet/App/PropertyRowHeightsPy.cpp
CMake Warning (dev) at cMake/FreeCadMacros.cmake:79 (ADD_CUSTOM_COMMAND):
Policy CMP0040 is not set: The target in the TARGET signature of
add_custom_command() must exist. Run "cmake --help-policy CMP0040" for
policy details. Use the cmake_policy command to set the policy and
suppress this warning.

The target name "Spreadsheet" is unknown in this context.
Call Stack (most recent call first):
src/Mod/Spreadsheet/CMakeLists.txt:8 (fc_target_copy_resource)
This warning is for project developers. Use -Wno-dev to suppress it.

-- /home/build/src/Gui/DocumentPy.cpp
-- /home/build/src/Gui/PythonWorkbenchPy.cpp
-- /home/build/src/Gui/ViewProviderPy.cpp
-- /home/build/src/Gui/ViewProviderDocumentObjectPy.cpp
-- /home/build/src/Gui/ViewProviderPythonFeaturePy.cpp
-- /home/build/src/Gui/WorkbenchPy.cpp
-- /home/build/src/Gui/SelectionObjectPy.cpp
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.9.1")
-- Note: Doxygen docs will look better with graphviz's dot installed.
-- Coin3D doc is not installed
-- Configuring done
-- Generating done
-- Build files have been written to: /home/build
root@ubuntu-phablet:/home/build# make
[ 0%] Generating ../../../bin/pivy/sogui.py
[ 0%] Generating ../../../bin/pivy/__init__.py
[ 0%] Generating ../../../bin/pivy/coin.py
Scanning dependencies of target coin
[ 1%] Building CXX object src/3rdParty/Pivy-0.5/CMakeFiles/coin.dir/coin_wrap.cpp.o
In file included from /home/FreeCAD-releases-FreeCAD-0-15/FreeCAD-releases-FreeCAD-0-15/src/3rdParty/Pivy-0.5/coin_header_includes.h:145:0,
from /home/FreeCAD-releases-FreeCAD-0-15/FreeCAD-releases-FreeCAD-0-15/src/3rdParty/Pivy-0.5/coin_wrap.cpp:3930:
/usr/include/Inventor/elements/SoGLTexture3EnabledElement.h:36:2: error: #error Deprecated: use SoMultiTextureEnabledElement instead
#error Deprecated: use SoMultiTextureEnabledElement instead
^
In file included from /home/FreeCAD-releases-FreeCAD-0-15/FreeCAD-releases-FreeCAD-0-15/src/3rdParty/Pivy-0.5/coin_header_includes.h:190:0,
from /home/FreeCAD-releases-FreeCAD-0-15/FreeCAD-releases-FreeCAD-0-15/src/3rdParty/Pivy-0.5/coin_wrap.cpp:3930:
/usr/include/Inventor/elements/SoTexture3EnabledElement.h:36:2: error: #error Deprecated: use SoMultiTextureEnabledElement instead
#error Deprecated: use SoMultiTextureEnabledElement instead
^
In file included from /home/FreeCAD-releases-FreeCAD-0-15/FreeCAD-releases-FreeCAD-0-15/src/3rdParty/Pivy-0.5/coin_wrap.cpp:3930:0:
/home/FreeCAD-releases-FreeCAD-0-15/FreeCAD-releases-FreeCAD-0-15/src/3rdParty/Pivy-0.5/coin_header_includes.h:668:40: fatal error: Inventor/scxml/ScXMLInvoke.h: No such file or directory
#include <Inventor/scxml/ScXMLInvoke.h>
^
compilation terminated.
src/3rdParty/Pivy-0.5/CMakeFiles/coin.dir/build.make:69: recipe for target 'src/3rdParty/Pivy-0.5/CMakeFiles/coin.dir/coin_wrap.cpp.o' failed
make[2]: *** [src/3rdParty/Pivy-0.5/CMakeFiles/coin.dir/coin_wrap.cpp.o] Error 1
CMakeFiles/Makefile2:268: recipe for target 'src/3rdParty/Pivy-0.5/CMakeFiles/coin.dir/all' failed
make[1]: *** [src/3rdParty/Pivy-0.5/CMakeFiles/coin.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
root@ubuntu-phablet:/home/build#


BTW:i try to install 0.15 instead witch doesn't need vtk version that high
243750496
Posts: 11
Joined: Mon Dec 26, 2016 6:49 pm

Re: how to compile Freecad on ARM Tablet bq m10 15.04 (Ubuntu Touch)

Post by 243750496 »

Code: Select all

apt-get install libzipios++0c2a libspnav0 python-ply python-collada qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer zlib1g zlib1g-dev libxerces-c-dev libpyside-dev libvtk5-dev build-essential cmake python python-matplotlib libtool libtool libcoin80-dev libxerces-c-dev libboost-dev libboost-filesystem-dev libboost-regex-dev libboost-program-options-dev libboost-signals-dev libboost-thread-dev libboost-python-dev libqt4-dev libqt4-opengl-dev qt4-dev-tools python-dev python-pyside pyside-tools liboce-foundation-dev liboce-modeling-dev liboce-ocaf-dev liboce-visualization-dev liboce-ocaf-lite-dev oce-draw libeigen3-dev libqtwebkit-dev libshiboken-dev libpyside-dev libode-dev swig libzipios++-dev libfreetype6 libfreetype6-dev libsimage-dev checkinstall python-qt4 doxygen libspnav-dev dh-make devscripts lintian
if do not have disk space on pad like me , delete some files and then do:
dpkg --configure -a

Code: Select all

apt-get install libzipios++0c2a libspnav0 python-ply python-collada qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer zlib1g zlib1g-dev libxerces-c-dev libpyside-dev libvtk5-dev build-essential cmake python python-matplotlib libtool libtool libcoin80-dev libxerces-c-dev libboost-dev libboost-filesystem-dev libboost-regex-dev libboost-program-options-dev libboost-signals-dev libboost-thread-dev libboost-python-dev libqt4-dev libqt4-opengl-dev qt4-dev-tools python-dev python-pyside pyside-tools liboce-foundation-dev liboce-modeling-dev liboce-ocaf-dev liboce-visualization-dev liboce-ocaf-lite-dev oce-draw libeigen3-dev libqtwebkit-dev libshiboken-dev libpyside-dev libode-dev swig libzipios++-dev libfreetype6 libfreetype6-dev libsimage-dev checkinstall python-qt4 doxygen libspnav-dev dh-make devscripts lintian
apt-get -f install

Code: Select all

apt-get install libzipios++0c2a libspnav0 python-ply python-collada qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer zlib1g zlib1g-dev libxerces-c-dev libpyside-dev libvtk5-dev build-essential cmake python python-matplotlib libtool libtool libcoin80-dev libxerces-c-dev libboost-dev libboost-filesystem-dev libboost-regex-dev libboost-program-options-dev libboost-signals-dev libboost-thread-dev libboost-python-dev libqt4-dev libqt4-opengl-dev qt4-dev-tools python-dev python-pyside pyside-tools liboce-foundation-dev liboce-modeling-dev liboce-ocaf-dev liboce-visualization-dev liboce-ocaf-lite-dev oce-draw libeigen3-dev libqtwebkit-dev libshiboken-dev libpyside-dev libode-dev swig libzipios++-dev libfreetype6 libfreetype6-dev libsimage-dev checkinstall python-qt4 doxygen libspnav-dev dh-make devscripts lintian
download the files in cloud
https://pan.baidu.com/s/1jI6t6kQ
then copy to~/.cache/libertine-container/vivid/rootfs/home/
cp -a ~/Downloads/*.deb ~/.cache/libertine-container/vivid/rootfs/home/
btw:do not copy the file in ''freecad'' folder
then
open a new terminal
adb shell
libertine-container-manager exec --command "/bin/bash" --id vivid
cd home
dpkg -i *.deb
then copy
cp -a ~/Downloads/freecad/*.deb ~/Downloads
open ur pad->libertine->myapps->‘+’->choose a debian pacage to install->choose freecad1.4 to install
btw:do not use dpkg -i to install , or u will not see it after installation

if can not access the cloud download at debian pacage with these pacs
libqtassistantclient4_4.6.3-6_armhf.deb
libsoqt4-20_1.6.0~e8310f-2_armhf.deb
python-pivy_0.5.0~v609hg-3_armhf.deb
python-qt4_4.11.2+dfsg-1_armhf.deb
python-qt4-gl_4.11.2+dfsg-1_armhf.deb
python-sip_4.16.4+dfsg-1_armhf.deb
freecad_0.14.3702+dfsg-3_armhf.deb





Sloved
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: how to compile Freecad on ARM Tablet bq m10 15.04 (Ubuntu Touch)

Post by triplus »

I see you use some sort of container (Libertine) available for Ubuntu Touch to run X11 based .deb packages. I guess that is good approach as if you break something you can simply delete the "container" and start again? And as i said earlier i sincerely doubt you have the GPU requirements for running FreeCAD.

Anyway i would try to install this dependencies:

Code: Select all

sudo apt-get install build-essential cmake python python-matplotlib libtool libcoin80-dev libsoqt4-dev libxerces-c-dev libboost-dev libboost-filesystem-dev libboost-regex-dev libboost-program-options-dev libboost-signals-dev libboost-thread-dev libboost-python-dev libqt4-dev libqt4-opengl-dev qt4-dev-tools python-dev python-pyside pyside-tools oce-draw libeigen3-dev libqtwebkit-dev libshiboken-dev libpyside-dev libode-dev swig libzipios++-dev libfreetype6 libfreetype6-dev liboce-foundation-dev liboce-modeling-dev liboce-ocaf-dev liboce-visualization-dev liboce-ocaf-lite-dev
And after i would try to compile FreeCAD 0.16. If any VTK complaints would be made i would disable FEM WB from building. Beyond that i don't have more ideas for now.
Post Reply