As Jeff say I just forgot to enter: "source scripts/emc-environment"
Now it works.

Manuals are pretty bad (well not accurate). I know that kepping manuals up to 
date is near same job as programming itself. But as project (emc2) is 
maintained with so many developers kepping documantation is even harder.
I hate organization of emc2 webpages and support. It's so spreaded that this 
make confussion.
We have mailing list, forum, IRC ... emc2 page at linuxcnc and wiki and ... ... 
...
I think that now is time to join all that together in same place and to keep 
only one of 'delayed support as forum or mailing list' and live IRC.


Near same is in code. There is so many doubled things and that just confuse 
users.
Just one example (I know that as it's done for me.)

In documentation the stepgen has 14 different modes. That's just not true.
It's 15 different modes as one is added half year ago. And if someone look in 
source the same thing appear. In header where types are explained the type 15 
is missing. I find just two lines burried in code that talking something with 
type 15. Near impossible to find it.
And type 15 can be substitute for types 3 to 14 too. So kepping doubled 
functionality is in question. To keep or not to keep. Of course if that types 
are deleted the all users (using it) need to change one line in hal.ini

I must stop as I use EMC2 and I think I got a little out of toppic.





Na 8.9.2010 20:32, K.J. Kirwan je pisal:
> Hi Slavko,
>
> Although this does not help you with the question you asked,
> on behalf of those of us who are trying to improve the
> documents and user manuals, and for the benefit of those
> who might be reading and following this discussion, may I
> recommend that instead of whatever configuration you are
> using, as in your example
>
> ./configure --enable-run-in-place
>
> that you use instead
>
> ./configure --enable-run-in-place --enable-build-documentation
>
> so that you will have the latest documents available.
>
> It does not add too much time to the make, and you will get
> the benefit of the document corrections and updates that we
> are trying to bring you.
>
> Someone said that now --enable-run-in-place is the default,
> and is no longer needed, is this true?  If so, perhaps the
> --enable-build-documentation should also be made the default,
> and instead have --disable-build-documentation or something
> similar.  Comments?
>
> And if anyone has any document corrections needed, or any
> suggestions for document improvement, please post them to
> the emc-users list.
>
> Thanks for reading.
>
> Kim
>
>
> -----Original Message-----
>> From: Slavko Kocjancic<esla...@gmail.com>
>> Sent: Sep 7, 2010 11:00 AM
>> To: "Enhanced Machine Controller (EMC)"<emc-users@lists.sourceforge.net>
>> Subject: [Emc-users] Run in place
>>
>> Hello...
>> I just try to make new development version of emc2 on my computer.
>>
>> as many times before I do:
>>
>> git clone git://git.linuxcnc.org/git/emc2.git emc2-dev
>>
>> cd emc2-dev
>> cd src
>> ./autogen.sh
>> ./configure --enable-run-in-place
>> make
>> sudo make setuid
>> cd ..
>> emc
>>
>> and try to run my configuration.
>> The program report error and here is log.
>> In the 1'st line is something that seems wrong. I (think) I compile with run
>> in place !
>> (I use 2.5.0~pre in same computer without problems) - Linux Hardy!
>>
>>
>>
>> Print file information:
>> RUN_IN_PLACE=no
>> EMC2_DIR=
>> EMC2_BIN_DIR=/usr/bin
>> EMC2_TCL_DIR=/usr/share/emc/tcl
>> EMC2_SCRIPT_DIR=
>> EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2
>> EMC2_CONFIG_DIR=
>> EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
>> INIVAR=inivar
>> HALCMD=halcmd
>> EMC2_EMCSH=/usr/bin/wish8.4
>> EMC2 - 2.4.3
>> Machine configuration directory is '/home/slavko/emc2/configs/tester'
>> Machine configuration file is 'tester.ini'
>> INIFILE=/home/slavko/emc2/configs/tester/tester.ini
>> PARAMETER_FILE=stepper.var
>> EMCMOT=motmod
>> EMCIO=io
>> TASK=milltask
>> HALUI=halui
>> DISPLAY=axis
>> NML_FILE=emc.nml
>> Starting EMC2...
>> Starting EMC2 server program: emcsvr
>> Loading Real Time OS, RTAPI, and HAL_LIB modules
>> Starting EMC2 IO program: io
>> Starting HAL User Interface program: halui
>> Starting EMC2 TASK program: milltask
>> Starting EMC2 DISPLAY program: axis
>> Shutting down and cleaning up EMC2...
>> Killing task emcsvr, PID=5873
>> Killing task milltask, PID=5996
>> Removing HAL_LIB, RTAPI, and Real Time OS modules
>> Removing NML shared memory segments
>> Cleanup done
>>
>> Debug file information:
>> Traceback (most recent call last):
>>   File "/usr/bin/axis", line 55, in<module>
>>     from rs274.interpret import StatMixin
>> ImportError: cannot import name StatMixin
>> 5873
>>   PID TTY      STAT   TIME COMMAND
>> 5996
>>   PID TTY      STAT   TIME COMMAND
>> Stopping realtime threads
>> Unloading hal components
>>
>> Kernel message information:
>> [  395.838657] I-pipe: Domain RTAI registered.
>> [  395.838671] RTAI[hal]:<3.6.1>  mounted over IPIPE-NOTHREADS 2.0-04.
>> [  395.838674] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu
>> 4.2.4-1ubuntu3).
>> [  395.838680] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs
>> DISPATCHED), ISOL_CPUS_MASK: 0).
>> [  395.838683] PIPELINE layers:
>> [  395.838686] dcc15000 9ac15d93 RTAI 200
>> [  395.838688] c0383180 0 Linux 100
>> [  395.856223] RTAI[malloc]: global heap size = 2097152 bytes,<BSD>.
>> [  395.856832] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE:<with
>> RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
>> [  395.856838] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz);
>> default timing: periodic; linear timed lists.
>> [  395.856842] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq =
>> 2120175000 hz.
>> [  395.856845] RTAI[sched]: timer setup = 2010 ns, resched latency = 2688
>> ns.
>> [  395.953159] RTAI[math]: loaded.
>> [  396.216659] config string '0x0378'
>> [  397.674116] RTAI[math]: unloaded.
>> [  397.784611] SCHED releases registered named ALIEN RTGLBH
>> [  397.849522] RTAI[malloc]: unloaded.
>> [  397.945803] RTAI[sched]: unloaded (forced hard/soft/hard transitions:
>> traps 0, syscalls 0).
>> [  397.952770] I-pipe: Domain RTAI unregistered.
>> [  397.952790] RTAI[hal]: unmounted.
>> ------------------------------------------------------------------------------
>> This SF.net Dev2Dev email is sponsored by:
>>
>> Show off your parallel programming skills.
>> Enter the Intel(R) Threading Challenge 2010.
>> http://p.sf.net/sfu/intel-thread-sfd
>> _______________________________________________
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to