On Sunday 03 May 2009, ygdan1001 wrote: >Dear sir : >I compile software as described in the emc wiki: > >http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#On_Ubuntu_with_E >MC2_package_already_installed > >The following is an error. What would you suggest I do for the error? > >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= 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 > >Thanks for your help. >Regards! >yang
Make sure you have the '-devel' versions of all the GTK2 stuff installed. It can't find the rtai kernel either, missing the -devel files probably. Looks like you'll need to install the tcl/tk (and -devel) stuff too. HTH. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Real Programmers don't eat quiche. They eat Twinkies and Szechwan food. ------------------------------------------------------------------------------ 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 Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users