Quoting from the exchange between Michael Haberler and Anders Wallin:

>> <AW> sudo update-initramfs -c -k 3.2.21-xenomai+   (I am not sure this is
>> required or done by dpkg)
>
> <MAH> at least the 10.04 dpkg fails to do that for me, maybe this is some 
> option I am missing; but dpkg and friends are in such deplorable shape in 
> 10.04 that I prefer not to look into the issue - they are too old to even 
> compile 3.x kernels.
>> <AW> sudo update-grub
>

In 10.04LTS, the update-initramfs step fails (don't ask me why; as 
Michael says, dpkg and friends are in deplorable shape in 10.04) and 
hence the update-grub step fails too because it finds an incomplete set 
of boot files. Both steps must be done manually after the fact.

However, thanks to the stable of virtual machines I keep on standby for 
just this sort of testing, I can confirm that, performing the same steps 
with Michael's .deb files in 12.04LTS, dpkg succeeds not only at the 
update-initramfs step (watch the scrolling messages in the terminal 
window or look for the resulting file /boot/initrd.img-3.2.21-xenomai+) 
but also at the update-grub step (again, watch the scrolling messages in 
the terminal window), so I needed to perform neither step manually in 
12.04LTS.
>> <AW> By looking at the output of ./configure I installed the following 
>> packages.
>> >I don't know if this set is minimal or optimal, but at least configure and
>> >the build seems to complete. Packages: 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
> <MAH> I would think you can achieve this a tad easier by:
>
> $ cd debian
> $ ./configure sim
> successfully configured for 'sim-Ubuntu-12.04'-'sim'..
> $ cd ..
> $  dpkg-checkbuilddeps
> dpkg-checkbuilddeps: Unmet build dependencies: dvipng texlive-extra-utils 
> texlive-latex-recommended texlive-fonts-recommended ghostscript imagemagick 
> texlive-lang-french texlive-lang-german texlive-lang-spanish 
> texlive-lang-polish texlive-font-utils asciidoc (>= 8.5) source-highlight 
> dblatex (>= 0.2.12) xsltproc groff libgnomeprintui2.2-dev 
> texlive-lang-cyrillic
>
> note the 'configure sim' part is just to make the debian directory happy, 
> this is not adapted yet to be in sync with src/configure (and I would 
> appreciate help on that)
>
> (those missing dependencies above I can live with until I 
> --enable-build-documentation)

Actually, Anders, now that I've checked on a pristine virtual machine, I 
see your list of packages is missing three libraries: libxaw7-dev, 
without which xemc won't run, according to the warning; 
libgnomeprinting-2.2-dev, without which one can't print from 
classicladder, again according to the warning; and libncurses-dev, 
without which I infer keystick won't work (does anything else use 
ncurses?). Watch the warnings scroll in the ./configure output. Of 
course, dpkg-checkbuilddeps will also list these missing packages, but I 
find it hard to notice a few non-docs-related files in a big list; 
besides, this approach offers no statement of what requires the missing 
packages.

Obviously, LinuxCNC builds without these libraries; it just won't be 
able to do the three things I mention.

>> FWIW I would consider this rtos work more important for a linuxcnc 2.6
>> >release than the redis work that just seems to break the build and cause
>> >problems on 12.04/12.10.

Errm. Let's review the bidding here.

In a pristine virtual 12.04LTS host, I just built Michael's experimental 
LinuxCNC 2.5 based on his threads=xenomai-user configuration and his 
custom kernel. I then rebooted this host to the regular kernel, pulled 
the latest from the master branch on git.linuxcnc.org, and built a 
LinuxCNC 2.6.0~pre simulator.

Neither build broke. In the first case redis isn't present, as Michael 
has already explained, but in the second case redis certainly is 
present. Where in the build are you running into trouble with redis on a 
12.04LTS machine? I'd like to be able to contribute to debugging the 
problem so we can keep the ball moving forward, but I have nothing to go on.

Regards,
Kent

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to