1. Now I have internet access for my computer. And I installed software as described in the emc wiki:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#On_Ubuntu_with_EMC2_package_already_installed But everytime when I build emc2 realtime and simulator, there are errors which are different everytime. The following is an error. Could you give a method to solve it? libinch...@libincheng-desktop:~$ cd emc2-trunk/src libinch...@libincheng-desktop:~/emc2-trunk/src$ ./configure --enable-run-in-place checking installation prefix... /usr/local checking for RT dir... Using /usr/realtime-2.6.15-magma/bin/rtai-config as the RT signature checking for location of kernel headers... using value from RTS: /usr/src/linux-headers-2.6.15-magma checking for cc version... found gcc in rtai-config checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 rdtscll from asm/msr.h... yes checking for usability of linux/joystick.h... yes 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 /usr/src/linux-headers-2.6.15-magma/include/linux/version.h usability... yes checking /usr/src/linux-headers-2.6.15-magma/include/linux/version.h presence... yes checking for /usr/src/linux-headers-2.6.15-magma/include/linux/version.h... yes checking for kernel version string... 2.6.15-magma checking for kernel module extension... .ko checking kernel build system... kbuild checking for module installation directory... configuring for run-in-place checking for glib... yes - 2.10.3 checking for GTK 2.4.0 or above... configure: WARNING: GTK2 not found, some utilities (halscope, classicladder) will not be built checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for grep... (cached) /bin/grep 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... /sbin/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 kernel math support... ok, using RTAI's libm kernel module checking for adeos... not found checking for rtai_hal... /usr/realtime-2.6.15-magma/modules/rtai_hal.ko checking for rtai_ksched... /usr/realtime-2.6.15-magma/modules/rtai_ksched.ko checking for rtai_fifos... /usr/realtime-2.6.15-magma/modules/rtai_fifos.ko checking for rtai_shm... /usr/realtime-2.6.15-magma/modules/rtai_shm.ko checking for rtai_sem... /usr/realtime-2.6.15-magma/modules/rtai_sem.ko checking for rtai_math... /usr/realtime-2.6.15-magma/modules/rtai_math.ko checking for rtai... not found checking for rt_mem_mgr... not found checking for rtai_sched... /usr/realtime-2.6.15-magma/modules/rtai_sched.ko checking for rtai_libm... not found checking for rtl... not found checking for mbuff... not found checking for rtl_time... not found checking for rtl_sched... not found checking for rtl_posixio... not found checking for rtl_fifo... not found 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... yes checking for __sincos... no checking for tcl... tclConfig.sh not found, trying tcl.h and libs. If it doesn't work try running ./configure --with-tclConfig=<path to tclConfig.sh> checking tcl.h usability... no checking tcl.h presence... no checking for tcl.h... no checking for library containing Tcl_Init... no configure: error: tcl lib not found 2. I am thinking if I have not configured apt correctly.Then how to configured it correctly? Thank you for your help! Regards! Yang 在2009-05-02,"Stephen Wille Padnos" <[email protected]> 写道: >If you now have internet access for your computer, then you should >install software as described in the emc wiki: ><http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#On_Ubuntu_with_EMC2_package_already_installed> > >Here's what it says: > >> Use apt-get to install additional packages required to rebuild emc2 >> from source: >> >> sudo apt-get build-dep emc2 >> sudo apt-get install build-essential >> >> >> If you get an error about failed to fetch a file just run the command >> again and it should pick up the missing files. If you get an error >> like this one: >> >> Package libpth-dev is not available, but is referred to by another package. >> This may mean that the package is missing, has been obsoleted, or is only >> available from another source >> E: Package libpth-dev has no installation candidate >> >> >> then you have not configured apt correctly and the compilation step >> will fail. > > >- Steve ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
