New external_offsets build failed

More
05 Feb 2018 19:27 #105457 by islander261
Hello

I am way in over my head. I tried to install the latest version of the dgarr/external_offsets branch today and have nothing but failures. First of all I have never been able to get the standard update method to work. This is what I get:
[spoiler]jd@plasma1 ~ $ cd linuxcnc-dev.050218
jd@plasma1 ~/linuxcnc-dev.050218 $ git fetch
fatal: Not a git repository (or any of the parent directories): .git
jd@plasma1 ~/linuxcnc-dev.050218 $ git reset --hardorigin /dgarr/external_offsets
fatal: Not a git repository (or any of the parent directories): .git
jd@plasma1 ~/linuxcnc-dev.050218 $ git reset --hard origin dgarr/external_offsets
fatal: Not a git repository (or any of the parent directories): .git
jd@plasma1 ~/linuxcnc-dev.050218 $ cd src
jd@plasma1 ~/linuxcnc-dev.050218/src $ make
Reading 192/192 dependency files
Done reading dependencies
Reading 199/199 realtime dependency files
Done reading realtime dependencies
Compiling hal/classicladder/classicladder.c
Compiling hal/classicladder/classicladder_gtk.c
Compiling hal/classicladder/config_gtk.c
Compiling hal/classicladder/drawing.c
Compiling hal/classicladder/drawing_sequential.c
Compiling hal/classicladder/edit.c
Compiling hal/classicladder/edit_gtk.c
Compiling hal/classicladder/edit_sequential.c
Compiling hal/classicladder/editproperties_gtk.c
Compiling hal/classicladder/manager_gtk.c
Compiling hal/classicladder/spy_vars_gtk.c
Compiling hal/classicladder/symbols_gtk.c
Compiling hal/classicladder/vars_access.c
Compiling hal/utils/miscgtk.c
Compiling hal/classicladder/print_gnome.c
Linking classicladder
Compiling hal/utils/meter.c
Linking halmeter
Compiling hal/utils/scope.c
Compiling hal/utils/scope_horiz.c
Compiling hal/utils/scope_vert.c
Compiling hal/utils/scope_trig.c
Compiling hal/utils/scope_disp.c
Compiling hal/utils/scope_files.c
Linking halscope
Compiling realtime objects/hal/components/abs.c
Linking ../rtlib/abs.so
Compiling realtime objects/hal/components/abs_s32.c
Linking ../rtlib/abs_s32.so
Compiling realtime objects/hal/components/and2.c
Linking ../rtlib/and2.so
Compiling realtime objects/hal/components/axistest.c
Linking ../rtlib/axistest.so
Compiling realtime objects/hal/components/bin2gray.c
Linking ../rtlib/bin2gray.so
Compiling realtime objects/hal/components/biquad.c
Linking ../rtlib/biquad.so
Compiling realtime objects/hal/components/bitslice.c
Linking ../rtlib/bitslice.so
Compiling realtime objects/hal/components/bitwise.c
Linking ../rtlib/bitwise.so
Compiling realtime objects/hal/components/bldc.c
Linking ../rtlib/bldc.so
Compiling realtime objects/hal/components/bldc_hall3.c
Linking ../rtlib/bldc_hall3.so
Compiling realtime objects/hal/components/blend.c
Linking ../rtlib/blend.so
Compiling realtime objects/hal/components/carousel.c
Linking ../rtlib/carousel.so
Compiling realtime objects/hal/components/charge_pump.c
Linking ../rtlib/charge_pump.so
Compiling realtime objects/hal/components/clarke2.c
Linking ../rtlib/clarke2.so
Compiling realtime objects/hal/components/clarke3.c
Linking ../rtlib/clarke3.so
Compiling realtime objects/hal/components/clarkeinv.c
Linking ../rtlib/clarkeinv.so
Compiling realtime objects/hal/components/comp.c
Linking ../rtlib/comp.so
Compiling realtime objects/hal/components/constant.c
Linking ../rtlib/constant.so
Compiling realtime objects/hal/components/conv_bit_float.c
Linking ../rtlib/conv_bit_float.so
Compiling realtime objects/hal/components/conv_bit_s32.c
Linking ../rtlib/conv_bit_s32.so
Compiling realtime objects/hal/components/conv_bit_u32.c
Linking ../rtlib/conv_bit_u32.so
Compiling realtime objects/hal/components/conv_float_s32.c
Linking ../rtlib/conv_float_s32.so
Compiling realtime objects/hal/components/conv_float_u32.c
Linking ../rtlib/conv_float_u32.so
Compiling realtime objects/hal/components/conv_s32_bit.c
Linking ../rtlib/conv_s32_bit.so
Compiling realtime objects/hal/components/conv_s32_float.c
Linking ../rtlib/conv_s32_float.so
Compiling realtime objects/hal/components/conv_s32_u32.c
Linking ../rtlib/conv_s32_u32.so
Compiling realtime objects/hal/components/conv_u32_bit.c
Linking ../rtlib/conv_u32_bit.so
Compiling realtime objects/hal/components/conv_u32_float.c
Linking ../rtlib/conv_u32_float.so
Compiling realtime objects/hal/components/conv_u32_s32.c
Linking ../rtlib/conv_u32_s32.so
Compiling realtime objects/hal/components/ddt.c
Linking ../rtlib/ddt.so
Compiling realtime objects/hal/components/deadzone.c
Linking ../rtlib/deadzone.so
Compiling realtime objects/hal/components/differential.c
Linking ../rtlib/differential.so
Compiling realtime objects/hal/components/edge.c
Linking ../rtlib/edge.so
Compiling realtime objects/hal/components/eoffset_per_angle.c
Linking ../rtlib/eoffset_per_angle.so
Compiling realtime objects/hal/components/eoffset_pid.c
Linking ../rtlib/eoffset_pid.so
Compiling realtime objects/hal/components/estop_latch.c
Linking ../rtlib/estop_latch.so
Compiling realtime objects/hal/components/feedcomp.c
Linking ../rtlib/feedcomp.so
Compiling realtime objects/hal/components/flipflop.c
Linking ../rtlib/flipflop.so
Compiling realtime objects/hal/components/gantry.c
Linking ../rtlib/gantry.so
Compiling realtime objects/hal/components/gearchange.c
Linking ../rtlib/gearchange.so
Compiling realtime objects/hal/components/gray2bin.c
Linking ../rtlib/gray2bin.so
Compiling realtime objects/hal/components/histobins.c
Linking ../rtlib/histobins.so
Compiling realtime objects/hal/components/hypot.c
Linking ../rtlib/hypot.so
Compiling realtime objects/hal/components/ilowpass.c
Linking ../rtlib/ilowpass.so
Compiling realtime objects/hal/components/integ.c
Linking ../rtlib/integ.so
Compiling realtime objects/hal/components/invert.c
Linking ../rtlib/invert.so
Compiling realtime objects/hal/components/joyhandle.c
Linking ../rtlib/joyhandle.so
Compiling realtime objects/hal/components/knob2float.c
Linking ../rtlib/knob2float.so
Compiling realtime objects/hal/components/latencybins.c
Linking ../rtlib/latencybins.so
Compiling realtime objects/hal/components/limit1.c
Linking ../rtlib/limit1.so
Compiling realtime objects/hal/components/limit2.c
Linking ../rtlib/limit2.so
Compiling realtime objects/hal/components/limit3.c
Linking ../rtlib/limit3.so
Compiling realtime objects/hal/components/lincurve.c
Linking ../rtlib/lincurve.so
Compiling realtime objects/hal/components/logic.c
Linking ../rtlib/logic.so
Compiling realtime objects/hal/components/lowpass.c
Linking ../rtlib/lowpass.so
Compiling realtime objects/hal/components/lut5.c
Linking ../rtlib/lut5.so
Compiling realtime objects/hal/components/maj3.c
Linking ../rtlib/maj3.so
Compiling realtime objects/hal/components/match8.c
Linking ../rtlib/match8.so
Compiling realtime objects/hal/components/max31855.c
Linking ../rtlib/max31855.so
Compiling realtime objects/hal/components/mesa_pktgyro_test.c
Linking ../rtlib/mesa_pktgyro_test.so
Compiling realtime objects/hal/components/message.c
Linking ../rtlib/message.so
Compiling realtime objects/hal/components/minmax.c
Linking ../rtlib/minmax.so
Compiling realtime objects/hal/components/moveoff.c
Linking ../rtlib/moveoff.so
Compiling realtime objects/hal/components/mult2.c
Linking ../rtlib/mult2.so
Compiling realtime objects/hal/components/multiclick.c
Linking ../rtlib/multiclick.so
Compiling realtime objects/hal/components/multiswitch.c
Linking ../rtlib/multiswitch.so
Compiling realtime objects/hal/components/mux16.c
Linking ../rtlib/mux16.so
Compiling realtime objects/hal/components/mux2.c
Linking ../rtlib/mux2.so
Compiling realtime objects/hal/components/mux4.c
Linking ../rtlib/mux4.so
Compiling realtime objects/hal/components/mux8.c
Linking ../rtlib/mux8.so
Compiling realtime objects/hal/components/near.c
Linking ../rtlib/near.so
Compiling realtime objects/hal/components/not.c
Linking ../rtlib/not.so
Compiling realtime objects/hal/components/offset.c
Linking ../rtlib/offset.so
Compiling realtime objects/hal/components/oneshot.c
Linking ../rtlib/oneshot.so
Compiling realtime objects/hal/components/or2.c
Linking ../rtlib/or2.so
Compiling realtime objects/hal/components/orient.c
Linking ../rtlib/orient.so
Compiling realtime objects/hal/components/sample_hold.c
Linking ../rtlib/sample_hold.so
Compiling realtime objects/hal/components/scale.c
Linking ../rtlib/scale.so
Compiling realtime objects/hal/components/select8.c
Linking ../rtlib/select8.so
Compiling realtime objects/hal/components/sim_axis_hardware.c
Linking ../rtlib/sim_axis_hardware.so
Compiling realtime objects/hal/components/sim_home_switch.c
Linking ../rtlib/sim_home_switch.so
Compiling realtime objects/hal/components/sim_matrix_kb.c
Linking ../rtlib/sim_matrix_kb.so
Compiling realtime objects/hal/components/sim_parport.c
Linking ../rtlib/sim_parport.so
Compiling realtime objects/hal/components/sim_spindle.c
Linking ../rtlib/sim_spindle.so
Compiling realtime objects/hal/components/simple_tp.c
Linking ../rtlib/simple_tp.so
Compiling realtime objects/hal/components/sphereprobe.c
Linking ../rtlib/sphereprobe.so
Compiling realtime objects/hal/components/steptest.c
Linking ../rtlib/steptest.so
Compiling realtime objects/hal/components/sum2.c
Linking ../rtlib/sum2.so
Compiling realtime objects/hal/components/thc.c
Linking ../rtlib/thc.so
Compiling realtime objects/hal/components/thcud.c
Linking ../rtlib/thcud.so
Compiling realtime objects/hal/components/threadtest.c
Linking ../rtlib/threadtest.so
Compiling realtime objects/hal/components/time.c
Linking ../rtlib/time.so
Compiling realtime objects/hal/components/timedelay.c
Linking ../rtlib/timedelay.so
Compiling realtime objects/hal/components/timedelta.c
Linking ../rtlib/timedelta.so
Compiling realtime objects/hal/components/toggle.c
Linking ../rtlib/toggle.so
Compiling realtime objects/hal/components/toggle2nist.c
Linking ../rtlib/toggle2nist.so
Compiling realtime objects/hal/components/tristate_bit.c
Linking ../rtlib/tristate_bit.so
Compiling realtime objects/hal/components/tristate_float.c
Linking ../rtlib/tristate_float.so
Compiling realtime objects/hal/components/updown.c
Linking ../rtlib/updown.so
Compiling realtime objects/hal/components/wcomp.c
Linking ../rtlib/wcomp.so
Compiling realtime objects/hal/components/xhc_hb04_util.c
Linking ../rtlib/xhc_hb04_util.so
Compiling realtime objects/hal/components/xor2.c
Linking ../rtlib/xor2.so
Compiling realtime objects/hal/drivers/serport.c
Linking ../rtlib/serport.so
Compiling realtime hal/components/boss_plc.c
Linking ../rtlib/boss_plc.so
Compiling realtime hal/components/debounce.c
Linking ../rtlib/debounce.so
Compiling realtime hal/components/encoder.c
Linking ../rtlib/encoder.so
Compiling realtime hal/components/counter.c
Linking ../rtlib/counter.so
Compiling realtime hal/components/encoder_ratio.c
Linking ../rtlib/encoder_ratio.so
Compiling realtime hal/components/stepgen.c
Linking ../rtlib/stepgen.so
Compiling realtime hal/components/lcd.c
Linking ../rtlib/lcd.so
Compiling realtime hal/components/matrix_kb.c
Linking ../rtlib/matrix_kb.so
Compiling realtime hal/components/mux_generic.c
Linking ../rtlib/mux_generic.so
Compiling realtime hal/components/pwmgen.c
Linking ../rtlib/pwmgen.so
Compiling realtime hal/components/siggen.c
Linking ../rtlib/siggen.so
Compiling realtime hal/components/pid.c
Linking ../rtlib/pid.so
Compiling realtime hal/components/at_pid.c
Linking ../rtlib/at_pid.so
Compiling realtime hal/components/threads.c
Linking ../rtlib/threads.so
Compiling realtime hal/components/supply.c
Linking ../rtlib/supply.so
Compiling realtime hal/components/sim_encoder.c
Linking ../rtlib/sim_encoder.so
Compiling realtime hal/components/weighted_sum.c
Linking ../rtlib/weighted_sum.so
Compiling realtime hal/components/watchdog.c
Linking ../rtlib/watchdog.so
Compiling realtime hal/components/modmath.c
Linking ../rtlib/modmath.so
Compiling realtime hal/components/streamer.c
Linking ../rtlib/streamer.so
Compiling realtime hal/components/sampler.c
Linking ../rtlib/sampler.so
Compiling realtime hal/drivers/hal_parport.c
Linking ../rtlib/hal_parport.so
Compiling realtime hal/drivers/hal_gm.c
Linking ../rtlib/hal_gm.so
Compiling realtime hal/drivers/hal_ppmc.c
Linking ../rtlib/hal_ppmc.so
Compiling realtime hal/drivers/mesa-hostmot2/hostmot2.c
Compiling realtime hal/drivers/mesa-hostmot2/ioport.c
Compiling realtime hal/drivers/mesa-hostmot2/encoder.c
Compiling realtime hal/drivers/mesa-hostmot2/abs_encoder.c
Compiling realtime hal/drivers/mesa-hostmot2/resolver.c
Compiling realtime hal/drivers/mesa-hostmot2/pwmgen.c
Compiling realtime hal/drivers/mesa-hostmot2/tp_pwmgen.c
Compiling realtime hal/drivers/mesa-hostmot2/sserial.c
Compiling realtime hal/drivers/mesa-hostmot2/stepgen.c
Compiling realtime hal/drivers/mesa-hostmot2/bspi.c
Compiling realtime hal/drivers/mesa-hostmot2/uart.c
Compiling realtime hal/drivers/mesa-hostmot2/pktuart.c
Compiling realtime hal/drivers/mesa-hostmot2/watchdog.c
Compiling realtime hal/drivers/mesa-hostmot2/pins.c
Compiling realtime hal/drivers/mesa-hostmot2/dpll.c
Compiling realtime hal/drivers/mesa-hostmot2/led.c
Compiling realtime hal/drivers/mesa-hostmot2/tram.c
Compiling realtime hal/drivers/mesa-hostmot2/raw.c
Compiling realtime hal/drivers/mesa-hostmot2/bitfile.c
Linking ../rtlib/hostmot2.so
Compiling realtime hal/drivers/mesa-hostmot2/hm2_test.c
Linking ../rtlib/hm2_test.so
Compiling realtime hal/drivers/mesa-hostmot2/hm2_pci.c
Linking ../rtlib/hm2_pci.so
Compiling realtime hal/drivers/mesa-hostmot2/hm2_7i43.c
Linking ../rtlib/hm2_7i43.so
Compiling realtime hal/drivers/mesa-hostmot2/hm2_7i90.c
Linking ../rtlib/hm2_7i90.so
Compiling realtime hal/drivers/mesa-hostmot2/setsserial.c
Linking ../rtlib/setsserial.so
Compiling realtime hal/drivers/mesa-hostmot2/hm2_eth.c
Linking ../rtlib/hm2_eth.so
Compiling realtime hal/drivers/mesa-hostmot2/hm2_spi.c
Linking ../rtlib/hm2_spi.so
Compiling realtime hal/drivers/mesa-hostmot2/hm2_rpspi.c
Linking ../rtlib/hm2_rpspi.so
Compiling realtime hal/drivers/hal_bb_gpio.c
Linking ../rtlib/hal_bb_gpio.so
Compiling realtime hal/classicladder/module_hal.c
Compiling realtime hal/classicladder/arithm_eval.c
Compiling realtime hal/classicladder/arrays.c
Compiling realtime hal/classicladder/calc.c
Compiling realtime hal/classicladder/calc_sequential.c
Compiling realtime hal/classicladder/manager.c
Compiling realtime hal/classicladder/symbols.c
Compiling realtime hal/classicladder/vars_access.c
Linking ../rtlib/classicladder_rt.so
Compiling realtime hal/utils/scope_rt.c
Linking ../rtlib/scope_rt.so
Compiling realtime hal/hal_lib.c
Linking ../rtlib/hal_lib.so
Compiling realtime emc/kinematics/trivkins.c
Linking ../rtlib/trivkins.so
Compiling realtime emc/kinematics/5axiskins.c
Linking ../rtlib/5axiskins.so
Compiling realtime emc/kinematics/maxkins.c
Linking ../rtlib/maxkins.so
Compiling realtime emc/kinematics/rotatekins.c
Linking ../rtlib/rotatekins.so
Compiling realtime emc/kinematics/tripodkins.c
Linking ../rtlib/tripodkins.so
Compiling realtime emc/kinematics/corexykins.c
Linking ../rtlib/corexykins.so
Compiling realtime emc/kinematics/lineardeltakins.c
Linking ../rtlib/lineardeltakins.so
Compiling realtime emc/kinematics/genhexkins.c
Compiling realtime libnml/posemath/_posemath.c
Linking ../rtlib/genhexkins.so
Compiling realtime emc/kinematics/genserkins.c
Compiling realtime libnml/posemath/gomath.c
Linking ../rtlib/genserkins.so
Compiling realtime emc/kinematics/pumakins.c
Linking ../rtlib/pumakins.so
Compiling realtime emc/kinematics/scarakins.c
Linking ../rtlib/scarakins.so
Compiling realtime emc/kinematics/rotarydeltakins.c
Linking ../rtlib/rotarydeltakins.so
Compiling realtime emc/kinematics/xyzac-trt-kins.c
Linking ../rtlib/xyzac-trt-kins.so
Compiling realtime emc/kinematics/xyzbc-trt-kins.c
Linking ../rtlib/xyzbc-trt-kins.so
Compiling realtime emc/kinematics/rosekins.c
Linking ../rtlib/rosekins.so
Compiling realtime emc/kinematics/scorbot-kins.c
Linking ../rtlib/scorbot-kins.so
Compiling realtime emc/kinematics/cubic.c
Compiling realtime emc/tp/tc.c
Compiling realtime emc/tp/tcq.c
Compiling realtime emc/tp/tp.c
Compiling realtime emc/tp/spherical_arc.c
Compiling realtime emc/tp/blendmath.c
Compiling realtime emc/motion/motion.c
Compiling realtime emc/motion/command.c
Compiling realtime emc/motion/control.c
Compiling realtime emc/motion/homing.c
Compiling realtime emc/motion/simple_tp.c
Compiling realtime emc/motion/emcmotutil.c
Compiling realtime emc/motion/stashf.c
Compiling realtime emc/motion/dbuf.c
Compiling realtime emc/nml_intf/emcpose.c
Linking ../rtlib/motmod.so
You now need to run 'sudo make setuid' in order to run in place with access to hardware.
jd@plasma1 ~/linuxcnc-dev.050218/src $ sudo make setuid
[sudo] password for jd: 
chown root ../bin/rtapi_app
chmod 4750 ../bin/rtapi_app
chown root ../bin/linuxcnc_module_helper
chmod 4750 ../bin/linuxcnc_module_helper
jd@plasma1 ~/linuxcnc-dev.050218/src $ 
[/spoiler]

Now did this actually update everything or just compile the old source?
So I fall back to just doing a new install like I have always done in the past and now I get some kind of compile failure:
[spoiler]
jd@plasma1 ~ $ git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-dev
Cloning into 'linuxcnc-dev'...
remote: Counting objects: 202605, done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 202605 (delta 3), reused 7 (delta 1), pack-reused 202568
Receiving objects: 100% (202605/202605), 114.93 MiB | 376.00 KiB/s, done.
Resolving deltas: 100% (154627/154627), done.
Checking connectivity... done.
jd@plasma1 ~ $ cd linuxcnc-dev/src
jd@plasma1 ~/linuxcnc-dev/src $ git checkout dgarr/external_offsets
Branch dgarr/external_offsets set up to track remote branch dgarr/external_offsets from origin.
Switched to a new branch 'dgarr/external_offsets'
jd@plasma1 ~/linuxcnc-dev/src $ ./autogen.sh
jd@plasma1 ~/linuxcnc-dev/src $ ./configure --with-realtime=uspace
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/lockfree/queue.hpp usability... yes
checking boost/lockfree/queue.hpp presence... yes
checking for boost/lockfree/queue.hpp... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking build toplevel... /home/jd/linuxcnc-dev
checking installation prefix... run in place
checking for grep... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for pkg-config... /usr/bin/pkg-config
checking for rtai-config... none
checking for xeno-config... /usr/bin/xeno-config
checking for realtime API(s) to use... uspace+xenomai
checking whether to enable userspace PCI access... yes
checking for libudev... yes - version 215
checking for cc version... not specified
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for usability of linux/hidraw.h... yes
checking for libmodbus3... yes - version 3.0.6
checking for libusb-1.0... yes
checking for module installation directory... configuring for run-in-place
/home/jd/linuxcnc-dev/rtlib
checking for glib... yes - 2.42.1
checking for GTK 2.4.0 or above... yes - 2.24.25
checking for libgnomeprintui-2.2... yes
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for install... /usr/bin/install
checking for sed... /bin/sed
checking for ps... /bin/ps
checking for kill... /bin/kill
checking for whoami... /usr/bin/whoami
checking for awk... /usr/bin/awk
checking for insmod... /sbin/insmod
checking for rmmod... /sbin/rmmod
checking for lsmod... /bin/lsmod
checking for pidof... /bin/pidof
checking for ipcs... /usr/bin/ipcs
checking for fuser... /bin/fuser
checking for mandb... /usr/bin/mandb
checking for python... /usr/bin/python
checking whether to build documentation... no
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for semtimedop... yes
checking for sincos function... yes
checking for __sincos... no
checking for optreset... no
checking for library containing dlopen... -ldl
checking for library containing clock_nanosleep... none required
checking for tcl... /usr/lib/x86_64-linux-gnu/tclConfig.sh found
checking for tk... /usr/lib/tk8.6/tkConfig.sh found
checking whether to check for runtime dependencies... yes
checking for BWidget using /usr/bin/tclsh8.6... found
checking for BLT using tclsh8.5... not found
checking for img::png using /usr/bin/tclsh8.6... found
checking for tclX using /usr/bin/tclsh8.6... found
checking for python pango and cairo modules... found
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
Trying readline without -ltermcap
checking for readline in -lreadline... yes
Trying readline with -ltermcap
checking for readline in -lreadline... yes
Readline does not require -ltermcap
checking whether readline license is compatible with GPL-2... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for setlocale... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gettext in -lintl... no
checking for xgettext... /usr/bin/xgettext
checking for msgfmt... /usr/bin/msgfmt
checking python version... OK
checking version of python libraries... python2.7
checking match between tk and Tkinter versions... 8.6
checking location of Python header files... /usr/include/python2.7
checking for Python headers... -I/usr/include/python2.7
checking for Python libraries... -lpthread -ldl  -lutil
checking whether the Boost::Python headers are available... yes
checking for boost::python shared library... -lboost_python
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... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for glBegin in -lGL... yes
checking for working GLU quadrics... yes
checking for Xmu headers... checking X11/Xmu/Xmu.h usability... yes
checking X11/Xmu/Xmu.h presence... yes
checking for X11/Xmu/Xmu.h... yes
configure: creating ./config.status
config.status: creating ../scripts/rtapi.conf
config.status: creating ../scripts/linuxcnc
config.status: creating ../scripts/halrun
config.status: creating ../scripts/rip-environment
config.status: creating ../scripts/haltcl
config.status: creating ../scripts/halcmd_twopass
config.status: creating ../scripts/realtime
config.status: creating ../scripts/linuxcnc_var
config.status: creating Makefile.inc
config.status: creating Makefile.modinc
config.status: creating ../tcl/linuxcnc.tcl
config.status: creating ../lib/python/nf.py
config.status: creating ../scripts/linuxcncmkdesktop
config.status: creating ../share/applications/linuxcnc-latency.desktop
config.status: creating ../share/applications/linuxcnc.desktop
config.status: creating ../share/desktop-directories/cnc.directory
config.status: creating ../share/menus/CNC.menu
config.status: creating config.h


######################################################################
#                LinuxCNC - Enhanced Machine Controller              #
######################################################################
#                                                                    #
#   LinuxCNC is a software system for computer control of machine    #
#   tools such as milling machines. LinuxCNC is released under the   #
#   GPL.  Check out http://www.linuxcnc.org/ for more details.       #
#                                                                    #
#                                                                    #
#   It seems that ./configure completed successfully.                #
#   This means that RT is properly installed                         #
#   If things don't work check config.log for errors & warnings      #
#                                                                    #
#   Next compile by typing                                           #
#         make                                                       #
#         sudo make setuid                                           #
#          (if realtime behavior and hardware access are required)   #
#                                                                    #
#   Before running the software, set the environment:                #
#         . (top dir)/scripts/rip-environment                        #
#                                                                    #
#   To run the software type                                         #
#         linuxcnc                                                   #
#                                                                    #
######################################################################


jd@plasma1 ~/linuxcnc-dev/src $ make
Reading 0/192 dependency files
Done reading dependencies
Reading 0/96 realtime dependency files
Done reading realtime dependencies
Creating mesa_7i65.mak
Creating serport.mak
Creating xor2.mak
Creating xhc_hb04_util.mak
Creating wcomp.mak
Creating updown.mak
Creating tristate_float.mak
Creating tristate_bit.mak
Creating toggle2nist.mak
Creating toggle.mak
Creating timedelta.mak
Creating timedelay.mak
Creating time.mak
Creating threadtest.mak
Creating thcud.mak
Creating thc.mak
Creating sum2.mak
Creating steptest.mak
Creating sphereprobe.mak
Creating simple_tp.mak
Creating sim_spindle.mak
Creating sim_parport.mak
Creating sim_matrix_kb.mak
Creating sim_home_switch.mak
Creating sim_axis_hardware.mak
Creating select8.mak
Creating scale.mak
Creating sample_hold.mak
Creating orient.mak
Creating or2.mak
Creating oneshot.mak
Creating offset.mak
Creating not.mak
Creating near.mak
Creating mux8.mak
Creating mux4.mak
Creating mux2.mak
Creating mux16.mak
Creating multiswitch.mak
Creating multiclick.mak
Creating mult2.mak
Creating moveoff.mak
Creating minmax.mak
Creating message.mak
Creating mesa_pktgyro_test.mak
Creating max31855.mak
Creating match8.mak
Creating maj3.mak
Creating lut5.mak
Creating lowpass.mak
Creating logic.mak
Creating lincurve.mak
Creating limit3.mak
Creating limit2.mak
Creating limit1.mak
Creating latencybins.mak
Creating knob2float.mak
Creating joyhandle.mak
Creating invert.mak
Creating integ.mak
Creating ilowpass.mak
Creating hypot.mak
Creating histobins.mak
Creating gray2bin.mak
Creating gearchange.mak
Creating gantry.mak
Creating flipflop.mak
Creating feedcomp.mak
Creating estop_latch.mak
Creating eoffset_pid.mak
Creating eoffset_per_angle.mak
Creating edge.mak
Creating differential.mak
Creating deadzone.mak
Creating ddt.mak
converting conv for conv_u32_s32.comp
Creating conv_u32_s32.mak
converting conv for conv_u32_float.comp
Creating conv_u32_float.mak
converting conv for conv_u32_bit.comp
Creating conv_u32_bit.mak
converting conv for conv_s32_u32.comp
Creating conv_s32_u32.mak
converting conv for conv_s32_float.comp
Creating conv_s32_float.mak
converting conv for conv_s32_bit.comp
Creating conv_s32_bit.mak
converting conv for conv_float_u32.comp
Creating conv_float_u32.mak
converting conv for conv_float_s32.comp
Creating conv_float_s32.mak
converting conv for conv_bit_u32.comp
Creating conv_bit_u32.mak
converting conv for conv_bit_s32.comp
Creating conv_bit_s32.mak
converting conv for conv_bit_float.comp
Creating conv_bit_float.mak
Creating constant.mak
Creating comp.mak
Creating clarkeinv.mak
Creating clarke3.mak
Creating clarke2.mak
Creating charge_pump.mak
Creating carousel.mak
Creating blend.mak
Creating bldc_hall3.mak
Creating bldc.mak
Creating bitwise.mak
Creating bitslice.mak
Creating biquad.mak
Creating bin2gray.mak
Creating axistest.mak
Creating and2.mak
Creating abs_s32.mak
Creating abs.mak
Reading 0/192 dependency files
Done reading dependencies
Reading 0/200 realtime dependency files
Done reading realtime dependencies
Compiling libnml/inifile/inifile.cc
Creating shared library liblinuxcncini.so.0
ln -sf liblinuxcncini.so.0 ../lib/liblinuxcncini.so
Compiling libnml/inifile/inivar.cc
Linking inivar
Compiling libnml/posemath/_posemath.c
Compiling libnml/posemath/posemath.cc
Compiling libnml/posemath/gomath.c
Compiling libnml/posemath/sincos.c
Creating shared library libposemath.so.0
ln -sf libposemath.so.0 ../lib/libposemath.so
Compiling libnml/rcs/rcs_print.cc
Compiling libnml/rcs/rcs_exit.cc
Compiling libnml/os_intf/_sem.c
Compiling libnml/os_intf/_shm.c
Compiling libnml/os_intf/_timer.c
Compiling libnml/os_intf/sem.cc
Compiling libnml/os_intf/shm.cc
Compiling libnml/os_intf/timer.cc
Compiling libnml/buffer/locmem.cc
Compiling libnml/buffer/memsem.cc
Compiling libnml/buffer/phantom.cc
Compiling libnml/buffer/physmem.cc
Compiling libnml/buffer/recvn.c
Compiling libnml/buffer/sendn.c
Compiling libnml/buffer/shmem.cc
Compiling libnml/buffer/tcpmem.cc
Compiling libnml/cms/cms.cc
Compiling libnml/cms/cms_aup.cc
Compiling libnml/cms/cms_cfg.cc
Compiling libnml/cms/cms_in.cc
Compiling libnml/cms/cms_dup.cc
Compiling libnml/cms/cms_pm.cc
Compiling libnml/cms/cms_srv.cc
Compiling libnml/cms/cms_up.cc
Compiling libnml/cms/cms_xup.cc
Compiling libnml/cms/cmsdiag.cc
Compiling libnml/cms/tcp_opts.cc
Compiling libnml/cms/tcp_srv.cc
Compiling libnml/nml/cmd_msg.cc
Compiling libnml/nml/nml_mod.cc
Compiling libnml/nml/nml_oi.cc
Compiling libnml/nml/nml_srv.cc
Compiling libnml/nml/nml.cc
Compiling libnml/nml/nmldiag.cc
Compiling libnml/nml/nmlmsg.cc
Compiling libnml/nml/stat_msg.cc
Compiling libnml/linklist/linklist.cc
Creating shared library libnml.so.0
ln -sf libnml.so.0 ../lib/libnml.so
Compiling rtapi/uspace_rtapi_app.cc
Compiling rtapi/uspace_rtapi_parport.cc
Compiling rtapi/uspace_rtapi_string.c
Compiling rtapi/rtapi_pci.cc
Linking rtapi_app
Compiling rtapi/test_rtapi_vsnprintf.c
Linking test_rtapi_vsnprintf
Compiling rtapi/uspace_xenomai.cc
Linking libuspace-xenomai.so.0
ln -sf libuspace-xenomai.so.0 ../lib/libuspace-xenomai.so
Compiling hal/components/streamer_usr.c
Compiling hal/hal_lib.c
Compiling rtapi/uspace_ulapi.c
Creating shared library liblinuxcnchal.so.0
Linking halstreamer
Compiling hal/components/sampler_usr.c
Linking halsampler
Compiling hal/components/panelui.c
Linking panelui
Compiling hal/user_comps/mb2hal/mb2hal.c
Compiling hal/user_comps/mb2hal/mb2hal_init.c
Compiling hal/user_comps/mb2hal/mb2hal_modbus.c
Compiling hal/user_comps/mb2hal/mb2hal_hal.c
Linking mb2hal
Compiling hal/user_comps/gs2_vfd.c
Linking gs2_vfd
Compiling hal/user_comps/hy_gt_vfd.c
Linking hy_gt_vfd
Compiling hal/user_comps/shuttle.c
Linking shuttle
Compiling hal/user_comps/xhc-hb04.cc
Linking xhc-hb04
make: yapps: Command not found
hal/utils/Submakefile:101: recipe for target 'objects/hal/utils/halcompile.py' failed
make: *** [objects/hal/utils/halcompile.py] Error 127
jd@plasma1 ~/linuxcnc-dev/src $ 
[/spoiler]

Any clues about what I am doing wrong? I think I built this from master and the dgarr/external_offsets branch this way before successfully.

John

Please Log in or Create an account to join the conversation.

More
05 Feb 2018 20:17 #105460 by dgarrett

make: yapps: Command not found
hal/utils/Submakefile:101: recipe for target 'objects/hal/utils/halcompile.py' failed
make: *** [objects/hal/utils/halcompile.py] Error 127


recent commits to master removed local yapps:

github.com/LinuxCNC/linuxcnc/commit/be22...ed380e67a76a8a9f619f
github.com/LinuxCNC/linuxcnc/commit/fc6e...d21e2182a0bc4cfc8748
github.com/LinuxCNC/linuxcnc/commit/be22...ed380e67a76a8a9f619f


So you must now install yapps from your distribution. Example on debian stretch:
$ sudo apt-get install yapps2
...
$ dpkg -l '*yapp*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  yapps2         2.1.1-17.5   all          Yet Another Python Parser System
ii  yapps2-runtime 2.1.1-17.5   all          Yet Another Python Parser System

Please Log in or Create an account to join the conversation.

More
05 Feb 2018 22:46 #105462 by islander261
Dewey

Thank you, that solved my install problem. I am assuming that now that I have installed yapps2 I will not need to repeat this until I rebuild my OS.

I am taking off to a sunnier and hopefully warmer climate for a couple of weeks so all work on the table will be halted until I get back.

John

Please Log in or Create an account to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum