Was following instructions on wiki page to build xenomai and linuxcnc on a
clean install of 12.04 on an Intel D2700MUD Mini-ITX and ran into these
issues (and fixes) and ultimate failure...
-Tom
(http://wiki.linuxcnc.org/cgi-bin/wiki.pl?NewRTInstall)
===========================================

tom@tom-desktop:~/linuxcnc-rtos$ dpkg-checkbuilddeps
dpkg-checkbuilddeps: error: syntax error in debian/control at line 16:
block lacks the 'Package' field


Had to edit ./debian/control to remove line 16 (a blank line?)

===========================================

While working through the list of dependencies that dpkg-checkbuilddeps
gave me I ran into this:

tom@tom-desktop:~/linuxcnc-rtos$ sudo apt-get install  libglu1-mesa-dev
libgl1-mesa-dev libgl1-mesa-swx11-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
libgl1-mesa-dev : Conflicts: libgl-dev
libgl1-mesa-swx11-dev : Depends: libgl1-mesa-swx11 (= 8.0.4-0ubuntu0.3)
but it is not going to be installed
                        Conflicts: libgl-dev
E: Unable to correct problems, you have held broken packages.


Installing these in a different order worked for me:
libgl1-mesa-swx11-dev
libglu1-mesa-dev
libgl1-mesa-dev

==============================================


Before fixing the above error (getting the *-mesa* libs) I got the message
below (missing gl.h).  Not an error, just what you might see if one of the
above failed to install...

checking python version... OK
checking match between tk and Tkinter versions... 8.5
checking location of Python header files... /usr/include/python2.7
checking /usr/include/python2.7/Python.h usability... yes
checking /usr/include/python2.7/Python.h presence... yes
checking for /usr/include/python2.7/Python.h... yes
checking for site-package location... /usr/lib/python2.7/dist-packages
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
configure: error: Required OpenGL header missing.  Install it, or specify
--disable-python to skip the parts of emc2 that depend on Python

==============================================

(a nit, just for completeness) you have:

To run all packaged unit test:
$ . ./scripts/rip-environment
$ runtests     #this should complete without errors

Should be:
To run all packaged unit test:
$ cd ../
$ . ./scripts/rip-environment
$ runtests     #this should complete without errors

==============================================

I was doing so well, and then I ran the tests....
The LinuxCNC Errors window popped up partway through the tests as well.   It's 
output (if important) is here:  http://bgp.nu/~tom/pub/xenomai-fail.txt

Runtest: 82 tests run, 33 successful, 49 failed + 0 expected
Failed:
        /home/tom/linuxcnc-rtos/tests/abs.0
        /home/tom/linuxcnc-rtos/tests/alias.0
        /home/tom/linuxcnc-rtos/tests/and-or-not-mux.0
        /home/tom/linuxcnc-rtos/tests/basic
        /home/tom/linuxcnc-rtos/tests/counter-encoder.0
        /home/tom/linuxcnc-rtos/tests/flipflop.0
        /home/tom/linuxcnc-rtos/tests/halmodule.0
        /home/tom/linuxcnc-rtos/tests/limit3.0
        /home/tom/linuxcnc-rtos/tests/limit3.1
        /home/tom/linuxcnc-rtos/tests/limit3.2
        /home/tom/linuxcnc-rtos/tests/linuxcncrsh
        /home/tom/linuxcnc-rtos/tests/loadrt.1
        /home/tom/linuxcnc-rtos/tests/modparam.0
        /home/tom/linuxcnc-rtos/tests/module-loading/encoder/1-names
        /home/tom/linuxcnc-rtos/tests/module-loading/encoder/8-names
        /home/tom/linuxcnc-rtos/tests/module-loading/encoder/num_chan=0
        /home/tom/linuxcnc-rtos/tests/module-loading/encoder/num_chan=1
        /home/tom/linuxcnc-rtos/tests/module-loading/encoder/num_chan=8
        /home/tom/linuxcnc-rtos/tests/module-loading/encoder_ratio/1-names
        /home/tom/linuxcnc-rtos/tests/module-loading/encoder_ratio/8-names
        /home/tom/linuxcnc-rtos/tests/module-loading/encoder_ratio/num_chan=0
        /home/tom/linuxcnc-rtos/tests/module-loading/encoder_ratio/num_chan=1
        /home/tom/linuxcnc-rtos/tests/module-loading/encoder_ratio/num_chan=8
        /home/tom/linuxcnc-rtos/tests/module-loading/pid/16-names
        /home/tom/linuxcnc-rtos/tests/module-loading/pid/1-names
        /home/tom/linuxcnc-rtos/tests/module-loading/pid/num_chan=0
        /home/tom/linuxcnc-rtos/tests/module-loading/pid/num_chan=16
        /home/tom/linuxcnc-rtos/tests/module-loading/pid/num_chan=1
        /home/tom/linuxcnc-rtos/tests/module-loading/siggen/16-names
        /home/tom/linuxcnc-rtos/tests/module-loading/siggen/1-names
        /home/tom/linuxcnc-rtos/tests/module-loading/siggen/num_chan=0
        /home/tom/linuxcnc-rtos/tests/module-loading/siggen/num_chan=16
        /home/tom/linuxcnc-rtos/tests/module-loading/siggen/num_chan=1
        /home/tom/linuxcnc-rtos/tests/module-loading/sim_encoder/1-names
        /home/tom/linuxcnc-rtos/tests/module-loading/sim_encoder/8-names
        /home/tom/linuxcnc-rtos/tests/module-loading/sim_encoder/num_chan=0
        /home/tom/linuxcnc-rtos/tests/module-loading/sim_encoder/num_chan=1
        /home/tom/linuxcnc-rtos/tests/module-loading/sim_encoder/num_chan=8
        /home/tom/linuxcnc-rtos/tests/multiclick
        /home/tom/linuxcnc-rtos/tests/near.0
        /home/tom/linuxcnc-rtos/tests/overrun
        /home/tom/linuxcnc-rtos/tests/save.0
        /home/tom/linuxcnc-rtos/tests/source.0
        /home/tom/linuxcnc-rtos/tests/stepgen.0
        /home/tom/linuxcnc-rtos/tests/stepgen.1
        /home/tom/linuxcnc-rtos/tests/stepgen.2
        /home/tom/linuxcnc-rtos/tests/threads.0
        /home/tom/linuxcnc-rtos/tests/threads.1
        /home/tom/linuxcnc-rtos/tests/timedelay.0
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to