./configure elated problems

More
29 Mar 2011 00:31 #8236 by alexr
Hello gents back again

I have a moderate amount of experience with the headaches of installing emc2, but today is beyond my capability.

HISTORY
I have on the very same ubuntu 10.04 LTS distro that I am using now. I have once before managed to install the simulator only mode of emc2 (on my cad/cam machine) via image 2.6.32-122-rtai if I recall correctly! EMC2 in simulation mode works without an error, which suits me just fine for development and testing purposes.

2.66ghz intel 775 chip
1Gig ram
250gig sata2 hdd
DVD RW sata 2
Asus motherboard


Objective

I am trying to get the very same emc2 2.4.4 running on different computer. This machine will be my CNC operation terminal.

Linux kernel image version 2.6.32.30 on x86/x86_64 is what i am using to type up this help request.

I have installed the RT image package (image rt 2.6.31.11 and headers) because this time round synaptic cant find image 2.6.32-122-rtai. which is odd because thats how and where i found it last time....?!?!?! i dont know if emc2 will work with RT instead of RTAI. clarification required :-D

problem 1

user:~$ cd Downloads/emc2/src
user:~/Downloads/emc2/src$ ./configure
checking build toplevel... /home/alex/Downloads/emc2
checking installation prefix... run in place
checking for grep... /bin/grep
checking for egrep... /bin/egrep
checking for RT dir... configure: error: RT not found. Specify:
--with-realtime=<path>
or use
--enable-simulator
to build without a realtime system.
user:~/Downloads/emc2/src$

WHERE the hell do i find the path for "--with-realtime=<path>" ????? and how would that path instruction look? what folders do i look in ? what file to i attach it to? what extra parameters do i need to use?

If RTAI is required instead of RT how do I get synaptic to show it up so I can download it? May I be blessed with a usable path example.

I ask because I am a year old windows convert and am still getting use to linux terminal commands and defining instructions. Besides I don't know to use C/c# language "sets" all that well (i think if i did i wouldnt be here wasting time)


problems 2

Trying to grapple with all the dependencies from the other way around by using the "./configure --with-enable-simulator" comes up with...

****:~/Downloads/emc2/src$ ./configure --enable-simulator
checking build toplevel... /home/****/Downloads/emc2
checking installation prefix... run in place
checking for grep... /bin/grep
checking for egrep... /bin/egrep
checking for RT dir... configuring for simulator
checking for pth-config... /usr/bin/pth-config
checking for cc version... not specified
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 rdtscll from asm/msr.h... no
checking for module installation directory... configuring for run-in-place
/home/****/Downloads/emc2/rtlib
checking for glib... yes - 2.24.1
checking for GTK 2.4.0 or above... yes - 2.20.1
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 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... /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 ANSI C header files... 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... /usr/lib/tcl8.4/tclConfig.sh found
checking for tk... /usr/lib/tk8.5/tkConfig.sh found
configure: error: Tcl and Tk versions must be the same, but configure found
Tcl 8.4 and Tk 8.5. You can use --with-tkConfig= and --with-tclConfig=
to override the autodetected versions.


I have 8.4 and 8.5 installed with -dev TK
I have 8.4 and 8.5 installed with -dev TCL

Version 8.5 TCL is required for TKinker to work

I have tried uninstalling 8.4 to disastrous effect (other apps depend on it)

so how do I specifiy --with-tclConfig=

Like this?? ./configure --with-realtime=<insert path here> --with-tclConfig= **override command here** or something else??



All constructive help greatly appreciated in advance.
_____________________________________________
Dumb, Miss read and not well thought out, copy paste answers like the ones I find strewn all over the net will be !!cursed!! and then ignored in anger (not flamed)


Alexr

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

More
29 Mar 2011 03:38 #8240 by alexr
Now I know there is something wrong.

I couldnt find RTAI for a reason.... its not showing in synaptic or from terminal using apt-get. something is wrong on canonicals end!!!!!

****:~$ sudo apt-get install linux-headers-2.6.32-122-rtai linux-image-2.6.32-122-rt
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-headers-2.6.32-122-rtai
****:~$

If some one knows whats going on please POST a message.

ALSO if you do know how to do the command line path expression please post also.

Im abandoning the RT idea because after trolling the forums I know it wont work! I guess I will just have to wait until RTAI image and header become available again.

hart.sourceforge.net/rtai_installation_10_04_woc.html

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

More
29 Mar 2011 10:34 #8251 by andypugh
Is there a good reason not to install EMC2 direct from the LiveCD? When it works it saves an awful lot of trouble.

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

More
29 Mar 2011 13:13 #8257 by alex_joni
If you want only sim, then you don't need rtai.

so you need something like: "configure --enable-run-in-place --enable-simulator --disable-build-documentation --with-tclConfig=/usr/lib/tcl8.5/tclConfig.sh"

Regards,
Alex

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

More
31 Mar 2011 23:10 #8354 by alexr
Sadly yes there is andypugh !

(1) I need the trouble shooting and linux experiance! :huh:

With every bit of help people like yourself provide; the less likely chance, I will have to be back here probing answers and besides now I can help other people now with similar problems think of it as P2P-P2PSE "Peer to Peer / Problem to Problem Solving Exchange".

(2) I am not working on a clean install. :blink:

(3) Downloading the livecd isnt an option at the moment (bandwidth or lack there of) :S


Not that I have to justify myself to anyone....! But yes, there is rhyme and reason behind my questions and if there is a better way; I would be either asking what it is / how to do it or even better already doing it. :cheer:


thank you for asking though
alex

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

More
31 Mar 2011 23:31 #8355 by alexr
Thank you for your help alex_joni

Your answer brought a tear to my eye! You know your one of the first people to read a post of mine and understand exactly what I needed help with.

I sat there and read the DOC files for TCL and TK after reading them and re reading them couldnt find that simple answer.

Ok so I am noticing with dependencies for main or larger programs are in the user shared library folders are the place to go looking or "dir" probing and the configuration file is the file I need to use in this instance.

BUT this is what does my head in "why doesn't the docs or configure.sh or what ever program that is called, give something as simple as an example?!?!" oh well maybe that is a way i can contribute to the project then :cheer:


--disable-build-documentation --with-tclConfig=/usr/lib/tcl8.5/tclConfig.sh"

now by rights this should only disable the TCL from "configure.sh script of emc2" not directly disable TCL permanently right? because if so i will be suffering from Python TKinter issues because it needs ver 8.5 (this could be a real nasty dependency loop)


once again thank you for your help
alexr

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

More
31 Mar 2011 23:34 #8356 by andypugh
Just trying to save you trouble and strife. :-)

I found these to be the best scratch-installation instructions (read, they worked for me, and others didn't)

code.google.com/p/neo-technical/wiki/emc2ubuntu

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

More
31 Mar 2011 23:35 #8357 by andypugh
Just remembered, there is a set of .debs somewhere, are they any use to you?

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

More
31 Mar 2011 23:49 #8358 by BigJohnT

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

Time to create page: 0.161 seconds
Powered by Kunena Forum