On 7/26/13 08:28 , sam sokolik wrote: > I have done this before - but IIRC - I had issues with apt-get > installing what it returns. Is there a trick to it? (copy and pasting > the dependencies out of the Debian script to the apt-get install...) > > sam > > > On 7/26/2013 9:13 AM, Kent Reed wrote: >> On Thu, Jul 25, 2013 at 11:52 PM, Sebastian Kuzminsky >> <[email protected]>wrote: >> >>> On 07/25/2013 08:09 PM, sam sokolik wrote: >>>> when building on 12.04 - I use >>>> >>>> sudo apt-get install build-essential autoconf libpth-dev libglib2.0-dev >>>> libgtk2.0-dev tcl-dev tk-dev bwidget libreadline-dev python-tk >>>> python-dev libgl1-mesa-dev libglu1-mesa-dev libxmu-dev libudev-dev >>>> libmodbus-dev libboost-python-dev libboost-serialization-dev >>>> libboost-thread-dev >>>> >>>> So I think you are missing the libboost 3 at the end.. >>> The best way to check for missing build dependencies is this: >>> >>> $ cd debian >>> >>> $ ./configure sim # if you're building sim, or... >>> $ ./configure -r # if you're building realtime >>> >>> $ cd .. >>> $ dpkg-checkbuilddeps >>> >>> That'll list all the build dependencies that are missing from your build >>> system. >>> >>> >> Which is documented on the Wiki under "Installing LinuxCNC". I trust that >> this "debian" script will eventually be fixed or even better go away in the >> new unified build approach.
Err, i'm bottom-replying to Sam's top-post... The output of dpkg-checkbuilddeps is not in (the general case) a list of packages to feed to 'apt-get install'. The dpkg-checkbuilddeps output may contain non-package information which needs to be manually processed. For example, on one development machine i get this: # dpkg-checkbuilddeps dpkg-checkbuilddeps: Unmet build dependencies: asciidoc (>= 8.5) libmodbus-dev (>= 3.0) Clearly those version constraints need to be filtered out before you ask apt-get to install stuff. There can also be other things like "package1 | package2" that means "you need package1 or package2 installed", and generally you can't have both installed because they conflict with each other. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
