On Tue, 31 Mar 2015, Neil wrote:

> Date: Tue, 31 Mar 2015 09:00:25 -0400
> From: Neil <emc_d...@narwani.org>
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] Custom EMC installation?
> 
> I got past this last night, but still have some issues installing
> LinuxCNC...
>
> Apparently I missed that the ./configure could not find a dependency, so
> I installed that, then came another and another.  So far I've had to
> install glib,  tk, tcl, xinerama, librealtime, bwidget, libboost-python,
> and others.  Also figured out (seemingly randomly from google searches,
> that I need to add -dev to most of these).  Also ended up using
> --without-libmodbus --disable-gtk --withtclConfig --withtkConfig ,
> because I could not figure out how to install those, so used configure's
> suggestion to use these flags instead.  Is all of this documented
> somewhere, as I feel like I'm stumbling upon this haphazardly?

  I think this is close to what I needed to do on my 14.04 system:


sudo apt-get install build-essential autoconf libpth-dev libglib2.0-dev 
libgtk2.0-dev tcl-dev tk-dev bwidget libreadline-dev python-tk python-dev 
libgl1-mesa-dev libglu1-mesa-dev libxmu-dev libudev-dev libmodbus-dev 
libboost-python-dev libboost-serialization-dev libboost-thread-dev

But I did this a long time ago so probably have forgotten something
(I do remember some fight with tcl/tk versions)

>
> Right now though, I'm getting an error like:
>     checking match between tk and Tkinter versions... Traceback:
>     "<string>", line 1, in <module>
>     Import Error: no module named _tkinter
>      ...
>
> But it continues past this and says "it seems configure completed
> successfully".  If I try to "make" from here, it fails with errors:
>
>     hal/utils/halsh.c:20:17: fatal error: tcl.h: No such file or directory
>     #include <tcl.h>
>                                ^
>     Compilation terminated.
>
> I'm not sure what to do from here, but I feel that one of the
> ./configure issues is causing this.  Any pointers what to do now?
>
> Thanks.
>
>
>
>
> On 3/30/2015 10:25 PM, Neil wrote:
>> So this has been very helpful so far, but I have run into a couple
>> snags.  Spent most of today on this and got the kernel with PREEMPT-RT
>> installed successfully.  Peter, I did use your config file.  Much thanks.
>>
>> Now to the linuxcnc part, I've run into a block with "sudo apt-get
>> build-dep linuxcnc", getting an error "E: Unable to find a source
>> package for linuxcnc".  Tried adding these lines to
>> /etc/apt/sources.list, but it didn't help...
>>
>>    deb http://www.linuxcnc.org/ lucid base linuxcnc2.5
>>    deb-src http://www.linuxcnc.org/ lucid base linuxcnc2.5
>>
>> Yes it does refer to lucid, but I don't know what to put for ubuntu
>> 14.04.  Section 2.2 does not list that line though, so I thought I'd
>> proceed without for now.  Got further, but when I try to "make" (after
>> ./configure --with-realtime=uspace ), I get this:
>>
>> Makefile:71:  Makefile.inc: No such file or directory.
>> Makefile:82:  *** Makefile must specify RTPREFIX and other variables. Stop.
>>
>> What am I missing here?  Is this related to the "sudo apt-get build-dep
>> linuxcnc " issue?
>>
>> Thanks,
>> -Neil.
>>
>>
>>
>> On 3/29/2015 12:20 AM, Peter C. Wallace wrote:
>>> ...
>>> has instructions for building a preemt-rt kernel (and heres a script)
>>> ...
>>>
>>>
>>> and something close to this will build the uspace version of linuxcnc
>>> (for the preemt-rt real time kernel) from source
>>>
>>> cd ~
>>> sudo apt-get install git-core gitk git-gui
>>> sudo apt-get build-dep linuxcnc
>>> sudo apt-get install libudev-dev
>>> git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
>>> cd linuxcnc-dev
>>> git checkout 2.7
>>> git pull
>>> cd src
>>> ./autogen.sh
>>> ./configure --with-realtime=uspace
>>> make
>>> sudo make setuid
>>> cd ..
>>> . scripts/rip-environment
>>>
>>>
>>>
>>>
>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>>> sponsored
>>>> by Intel and developed in partnership with Slashdot Media, is your
>>>> hub for all
>>>> things parallel software development, from weekly thought leadership
>>>> blogs to
>>>> news, videos, case studies, tutorials and more. Take a look and join the
>>>> conversation now. http://goparallel.sourceforge.net/
>>>> _______________________________________________
>>>> Emc-users mailing list
>>>> Emc-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>>
>>> Peter Wallace
>>> Mesa Electronics
>>>
>>> (\__/)
>>> (='.'=) This is Bunny. Copy and paste bunny into your
>>> (")_(") signature to help him gain world domination.
>>>
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website, 
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for 
>> all
>> things parallel software development, from weekly thought leadership blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to