problems building Linuxcnc source
07 Apr 2016 04:53 - 07 Apr 2016 12:33 #72895
by fast1
problems building Linuxcnc source was created by fast1
Hello:
noob here.
I am trying to follow the instructions to compile the Linuxcnc source.
I have run into a number of dependency problems. I have solved some
of them but am stuck.
My terminal output is as follows:
Would really like to solve this and not disable python.
Any help would be greatly appreciated.
Thank you very much,
Fayette Sims
noob here.
I am trying to follow the instructions to compile the Linuxcnc source.
I have run into a number of dependency problems. I have solved some
of them but am stuck.
My terminal output is as follows:
fast1@debian:~/linuxcnc-dev/src$ ./autogen.sh
fast1@debian:~/linuxcnc-dev/src$ ./configure
checking build toplevel... /home/fast1/linuxcnc-dev
checking installation prefix... run in place
checking for grep... /bin/grep
checking for egrep... /bin/egrep
checking for pkg-config... /usr/bin/pkg-config
checking for RT dir... Using /usr/realtime-3.4-9-rtai-686-pae/bin/rtai-config as the RT signature
checking for location of kernel headers... using value from RTS: /usr/src/linux-headers-3.4-9-rtai-686-pae
checking for cc version... found gcc in rtai-config
checking for gcc... gcc
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 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.3
checking for libusb-1.0... yes
checking for kernel version string... 3.4-9-rtai-686-pae
checking for kernel module extension... .ko
checking kernel build system... kbuild
checking for module installation directory... configuring for run-in-place
/home/fast1/linuxcnc-dev/rtlib
checking for glib... yes - 2.32.4
checking for GTK 2.4.0 or above... yes - 2.24.10
checking for libgnomeprintui-2.2... no -- printing from classicladder will not be possible
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... 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 for adeos... not found
checking for rtai_hal... /usr/realtime-3.4-9-rtai-686-pae/modules/rtai_hal.ko
checking for rtai_ksched... /usr/realtime-3.4-9-rtai-686-pae/modules/rtai_ksched.ko
checking for rtai_sched... /usr/realtime-3.4-9-rtai-686-pae/modules/rtai_sched.ko
checking for rtai_fifos... not found
checking for rtai_sem... not found
checking for rtai_math... /usr/realtime-3.4-9-rtai-686-pae/modules/rtai_math.ko
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
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 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 tcl... /usr/lib/tclConfig.sh found
checking for tk... /usr/lib/tkConfig.sh found
checking whether to check for runtime dependencies... yes
checking for BWidget using /usr/bin/tclsh8.5... found
checking for BLT using tclsh8.5... found
checking for img::png using /usr/bin/tclsh8.5... found
checking for tclX using /usr/bin/tclsh8.5... 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 for X11/Xaw/XawInit.h... yes
checking for XawDialogGetValueString in -lXaw... 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 ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking for initscr in -lncurses... no
configure: WARNING: ncurses lib missing
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 xgettext tcl bug... xgettext version 0.18.1 OK
checking for msgfmt... /usr/bin/msgfmt
checking for --tcl support in msgfmt... yes
checking python version... OK
checking version of python libraries... python2.7
checking match between tk and Tkinter versions... 8.5
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... 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 LinuxCNC that depend on Python
fast1@debian:~/linuxcnc-dev/src$
Would really like to solve this and not disable python.
Any help would be greatly appreciated.
Thank you very much,
Fayette Sims
Last edit: 07 Apr 2016 12:33 by BigJohnT. Reason: add code tags
Please Log in or Create an account to join the conversation.
07 Apr 2016 15:30 #72916
by ArcEye
What instructions?
Compile on which platform? Really need some info, crystal ball in for service.
You need to be able to help yourself if you venture into this field
If you search 'debian wheezy provides gl.h' (in the case of a wheezy based distro)
you will get this page showing the debian packages which provide it
packages.debian.org/search?suite=wheezy&...s&keywords=GL%2Fgl.h
The correct package is probably mesa-common-dev in this case, you can quickly discount the others listed as they are the wrong
OS's.
However I would try installing libglu1-mesa-dev first and then rerun configure and deal with the dependencies from there
regards
Replied by ArcEye on topic problems building Linuxcnc source
I am trying to follow the instructions to compile the Linuxcnc source.
What instructions?
Compile on which platform? Really need some info, crystal ball in for service.
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
configure: error: Required OpenGL header missing.
You need to be able to help yourself if you venture into this field
If you search 'debian wheezy provides gl.h' (in the case of a wheezy based distro)
you will get this page showing the debian packages which provide it
packages.debian.org/search?suite=wheezy&...s&keywords=GL%2Fgl.h
The correct package is probably mesa-common-dev in this case, you can quickly discount the others listed as they are the wrong
OS's.
However I would try installing libglu1-mesa-dev first and then rerun configure and deal with the dependencies from there
regards
Please Log in or Create an account to join the conversation.
07 Apr 2016 17:57 #72924
by fast1
Replied by fast1 on topic problems building Linuxcnc source
ArcEye:
SMP PREEMPT Debian 3.4.55-4linuxcnc
on a virtual box
instructions in /linuxcnc-dev/docs/INSTALL
"You need to be able to help yourself if you venture into this field"
Sir I never had any "not venturing sense".
I logged on to Linux for the first time a little over a week ago,
and am quite clumsy still in Linux, but I fully intend to help myself.
have mesa boards that will be here today, but have also designed my on controller with 32 bit cpu and fpga.
That is functional with working servo loops, axis coordination and interferometer interface.
I will try your suggestions.
Thank you very much for your help.
Kind regards,
Fayette Sims
SMP PREEMPT Debian 3.4.55-4linuxcnc
on a virtual box
instructions in /linuxcnc-dev/docs/INSTALL
"You need to be able to help yourself if you venture into this field"
Sir I never had any "not venturing sense".
I logged on to Linux for the first time a little over a week ago,
and am quite clumsy still in Linux, but I fully intend to help myself.
have mesa boards that will be here today, but have also designed my on controller with 32 bit cpu and fpga.
That is functional with working servo loops, axis coordination and interferometer interface.
I will try your suggestions.
Thank you very much for your help.
Kind regards,
Fayette Sims
Please Log in or Create an account to join the conversation.
08 Apr 2016 11:52 #72949
by andypugh
Replied by andypugh on topic problems building Linuxcnc source
You can get a list of all the required packages this way:
wiki.linuxcnc.org/cgi-bin/wiki.pl?Instal...g_build_dependencies
The list is not something that you can just "sudo apt-get install", you need to delete one option in places where it says X or Y and delete the bits that specify a minimum version number. But once you have done that it can be one long apt-get install command.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Instal...g_build_dependencies
The list is not something that you can just "sudo apt-get install", you need to delete one option in places where it says X or Y and delete the bits that specify a minimum version number. But once you have done that it can be one long apt-get install command.
The following user(s) said Thank You: fast1
Please Log in or Create an account to join the conversation.
08 Apr 2016 15:35 #72966
by fast1
Replied by fast1 on topic problems building Linuxcnc source
andypugh:
Thank you very much Andy I am sure this will be super helpful.
I will give it a try.
I truly appreciate your taking the time to answer.
Fayette Sims
Thank you very much Andy I am sure this will be super helpful.
I will give it a try.
I truly appreciate your taking the time to answer.
Fayette Sims
Please Log in or Create an account to join the conversation.
08 Apr 2016 18:43 #72974
by fast1
Replied by fast1 on topic problems building Linuxcnc source
andypugh:
Andy I just tried your suggestion.
Thank you very much.
This worked wonderfully.
I hope you know how much I appreciate it.
Fayette
Andy I just tried your suggestion.
Thank you very much.
This worked wonderfully.
I hope you know how much I appreciate it.
Fayette
Please Log in or Create an account to join the conversation.
Time to create page: 0.181 seconds