On 3/18/2014 5:37 AM, Mark Tucker wrote: > I have been trying to build a linuxcnc deb package on the beagle bone > using the following instruction:- > > time debuild -i -us -uc -b -d > > I have altered the ./cofigure lines in the debian rules and rules.in to > the following:- > > ./configure --with-xenomai --with-platform=beaglebone --enable-emcweb > --with-posix > > But it still trips up with the following:- > > Making modules for flavor xenomai > Reading 205/206 dependency files > Done reading dependencies > Reading 0/169 realtime dependency files > Done reading realtime dependencies > make[2]: Entering directory `/home/linuxcnc/linuxcnc/src' > make[2]: Leaving directory `/home/linuxcnc/linuxcnc/src' > You now need to run 'sudo make setuid' in order to run in place. > /var/log/linuxcnc.log does not exist - consider running 'sudo make log'
This looks like the end of a successful make, so apparently something is breaking after this. I don't know enough about the packaging to know if it's next trying to build documentation or if it's failing trying to install (which has generally not been done on the BBB, since I have been running in place). > make[1]: [modules] Error 1 (ignored) > make[1]: Leaving directory `/home/linuxcnc/linuxcnc/src' > Reading 195/196 dependency files > Done reading dependencies > Reading 0/0 realtime dependency files > Done reading realtime dependencies > make[1]: Entering directory `/home/linuxcnc/linuxcnc/src' > ../docs/src/Submakefile:595: *** Cannot build documents, missing > AsciiDoc or some other required program, or explicitly disabled in > configure. Stop. > make[1]: Leaving directory `/home/linuxcnc/linuxcnc/src' > make: *** [build-stamp] Error 2 > linuxcnc@beaglebone:~/linuxcnc$ > > Can anyone shine some light on this? Looking at the rules file, it appears to run a make followed by a make docs. What do you get if you run: make V=1 docs That could shed some light on exactly what's going wrong. You can also try removing the "make docs" part of the rules file (around line 47) and just doing the plain "make" since you probably don't care about building the docs anyway. Oh, and you should probably add back some of the configure flags, since I'm not sure if they're required or not. Specifically, add: --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man ...to the ./configure line you listed above, so in total it's: ./configure --with-xenomai --with-platform=beaglebone --enable-emcweb \ --with-posix --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man -- Charles Steinkuehler [email protected]
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech
_______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
