for run-in-place you need "scripts/realtime start"

Regards,
Alex

----- Original Message ----- 
From: "Andrew Ayre" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Friday, November 02, 2007 9:11 PM
Subject: Re: [Emc-users] Problems Compiling/Running - Update


> Here is what I get:
>
> ----------------------------
> [EMAIL PROTECTED]:~/Desktop/emc2/emc2cvshead$ halcmd help
> RTAPI: ERROR: could not open shared memory (errno=19)
> HAL: ERROR: rtapi init failed
> halcmd: hal_init() failed: -9
> NOTE: 'rtapi' kernel module must be loaded
> ----------------------------
>
> I'm guessing I need to create the /dev devices and run
> /etc/init.d/realtime start, right?
>
> Andy
>
> John Kasunich wrote:
>> Andrew Ayre wrote:
>>> Thanks for the suggestion. I gave it a try:
>>>
>>> ./configure ....
>>> make
>>> sudo make install
>>>
>>> I then ran the script to create the devices. Unfortunately "halcmd help"
>>> still segfaults for a non-root user. Any ideas?
>>>
>>
>> Try the run-in-place method:
>>
>> (from the top of your checkout)
>> cd src
>> ./configure --enable-run-in-place
>> make
>> sudo make setuid
>> cd ..
>> scripts/emc-environment
>> halcmd help
>>
>> If that works, but the installed version doesn't, it points to a problem
>> with make install, and more importantly it rules out a whole class of
>> possible problems.
>>
>> Regards,
>>
>> John Kasunich
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>>
>>
>
> -- 
> Andy
> PGP Key ID: 0x67090A54
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.15.18/1104 - Release Date: 
> 11/1/2007 6:47 PM
>
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to