11.04 EMC2 kurulum

Başlatan yuayar, 09 Ekim 2011 - 23:30:41

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

yuayar

Merhaba arkadaşlar,

ben ubuntuya emc2 programını kurmak istedim, yazılım merkezinde yoktu, internetden indirdim ancak bir türlü kurulum yapamadım. install dosyasında şunlar yazıyor;

Basic description
-----------------
From the top level directory, switch to the source directory:

cd src

In the source directory, build EMC2:

./autogen.sh  (this builds the configure script)
./configure --enable-run-in-place
make clean
make
sudo make setuid

to run the software go back to the top level directory, and issue:

scripts/emc


Detailed description
====================

Run-time script
===============

The runtime script is called emc, thus allowing you on an installed to just type
'emc' and get it running.
On a run-in-place system (e.g. the one you just got out of git),
the runscript is emc2/scripts/emc.
When you just checked out a fresh copy of emc2, you'll see there is no
'scripts/emc', just a 'scripts/emc.in'.
By running configure that one will get changed to 'scripts/emc'. configure will
also replace some default values for your system (folders, paths, etc).


Configure script
================

   The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation.  It uses
those values to create a `Makefile.inc' file.
Finally, it creates a shell script `config.status' that you can run
in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').

   The file `configure.in' is used to create `configure' by a program
called `autoconf'.  You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.

The simplest way to compile this package is:

  1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system.  If you're
     using `csh' on an old version of System V, you might need to type
     `sh ./configure' instead to prevent `csh' from trying to execute
     `configure' itself.

     Running `configure' takes awhile.  While running, it prints some
     messages telling which features it is checking for.

  2. Type `make' to compile the package.

  3. Type `scripts/emc` to test the software.
 

Optional Features
=================
   EMC is a software that can operate hardware only if a real time system has
been installed. Either RTLinux or RTAI. If you don't have any installed, you
cannot run EMC2 to control any machines. Please install one of the RT patches
(refer to the documentation of the project on how to achieve that).

    However, it is possible to test EMC2 without a realtime system. This is
possible using a simulator mode, which doesn't allow hardware control. To
enable this mode there is a special option '--enable-simulator' you can use.

If you have multiple RTAI or RTLinux source directories in /usr/src,
the correct one can be declared as a command line argument:

./configure --with-rtai=/usr/src/rtai-24.1.12

If you want only to try emc2 in a local directory (without installing it),
there is an option to configure to run-in-place
  --enable-run-in-place                  Enables running in the local dir
                                         (without installing)

If you don't want to generate the documentation from source:
  --disable-build-documentation          Do not build documentation automatically

configure also accepts other arguments. Use --help to view the list.


Operation Controls
==================

   `configure' recognizes the following options to control how it
operates.

`--cache-file=FILE'
     Use and save the results of the tests in FILE instead of
     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
     debugging `configure'.

`--help'
     Print a summary of the options to `configure', and exit.

`--quiet'
`--silent'
`-q'
     Do not print messages saying which checks are being made.  To
     suppress all normal output, redirect it to `/dev/null' (any error
     messages will still be shown).

`--srcdir=DIR'
     Look for the package's source code in directory DIR.  Usually
     `configure' can determine that directory automatically.

`--version'
     Print the version of Autoconf used to generate the `configure'
     script, and exit.

ingilizcem pek olmadığı için anlamadım. yardımcı olursanız çok sevinirim artık gözlerim kan çanağı oldu sabahtan beri uğraşıyorum.

heartsmagic

İndirdiğin yer neresi?
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

zeusmaster

#2
hocam sanirim programi indirdigin yere konsoldan gelip

./autogen.sh
./configure --enable- run-in-place
make clean
make
sudo make setuid


kodlari clistrcn.
indirdgn pro .tar olark olmasin oyleyse bi klasore ac
Up and Running...

yuayar

Nerden indirdiğimi hatırlayamıyorum ne yazıkki. Ancak terminalden klasörün içine düşmeyi anladım(dün gece beceremedim bir türlü). install belgesinde "cd src" diyor bu klasörede giriyorum.
./autogen.sh
bunu yazıyorum,
./autogen.sh: satır 6: autoconf: komut yok
diyor, diğer komuta geçiyorum
./configure
diyorum
checking build toplevel... /home/merhaba/Masaüstü/emc2-2.4.5
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.
merhaba@ubuntu:~/Masaüstü/emc2-2.4.5/src$


sonucu çıkıyor.

Sanırım hatalı bir şeyler var, devamını yaptım ancak hiç bir şey olmadı.

if

./configure --enable-simulator böyle verip deneyin.

yuayar

checking build toplevel... /home/merhaba/Masaüstü/emc2-2.4.5
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... no
configure: error: GNU PTH library is required: get it with apt-get install libpth-dev
merhaba@ubuntu:~/Masaüstü/emc2-2.4.5/src$

if

Alıntı yapılan: yuayar - 10 Ekim 2011 - 17:15:59

configure: error: GNU PTH library is required: get it with apt-get install libpth-dev


sudo apt-get install libpth-dev

yuayar

#7
Paket listeleri okunuyor... Bitti
Bağımlılık ağacı inşa ediliyor.       
Durum bilgisi okunuyor... Bitti       
libpth-dev zaten en yeni sürümde.
Yükseltilen: 0, Yeni Kurulan: 0, Kaldırılacak: 0 ve Yükseltilmeyecek: 0.
N: Ignoring file 'tualatrix-ppa-natty.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
merhaba@ubuntu:~$ sudo apt-get install libpth-dev
Paket listeleri okunuyor... Bitti
Bağımlılık ağacı inşa ediliyor.       
Durum bilgisi okunuyor... Bitti       
libpth-dev zaten en yeni sürümde.
Yükseltilen: 0, Yeni Kurulan: 0, Kaldırılacak: 0 ve Yükseltilmeyecek: 0.
N: Ignoring file 'tualatrix-ppa-natty.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
merhaba@ubuntu:~$

bu çıktı

Acaba 11.04'e kurulum yapılamıyor mu? sitesinde 10.04 için var?
http://www.linuxcnc.org/

if

@yuayar, http://www.linuxcnc.org/index.php?option=com_kunena&Itemid=20&func=view&id=6711&catid=9&limit=6&limitstart=6&lang=french bağlantısından da anlaşılacağı üzere 11.04'e kurulum gerçekleştirilemiyor. Aramalarımda da çıkmadı böyle bir şey. 10.04 kurup yapmanız gerek.

yuayar

ilginiz için çok teşekkür ederim.10.04 ü indiriyorum deneyeceğim. bu arada 11.04 arasındaki farklarıda görmüş olurum.

if

Rica ederim @yuayar. Kendi sitesini girip incelerseniz baştan sona derleme yapmanıza gerek kalmadığını görürsünüz. Meselâ yayınladıkları bir cd var, önderlemesi yapılmış paket var...[1]

[1] http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2

yuayar

acaba verilen linkteki ile resmi sitedeki 10.04 arasında değişiklik varmıdır? yani emc2 dışında hangisi daha iyi olur.

if

Verdiğim bağlantı resmi sitesidir zaten.

yuayar

#13
indirdim ve kurdum. ama yine beceremedim
#!/bin/sh

gksudo -m "Enter your password to install EMC2" true
gpg --keyserver pgpkeys.mit.edu --recv-key 8F374FEF
gpg -a --export 8F374FEF | sudo apt-key add -

sudo sh -c 'cat > /etc/apt/sources.list.d/linuxcnc.list' <<EOF
deb http://www.linuxcnc.org/emc2 lucid base emc2.4
deb-src http://www.linuxcnc.org/emc2 lucid base emc2.4
EOF

sudo apt-get update
sudo apt-get -o Apt::Install-Recommends=true install emc2

Bunlar yazıyor ama bir türlü beceremedim:(

Ya ne zaman buraya sorsam hallıluyor problem yapmam gereken dosyaya sağ tıklayıp, özellikler, erişim haklarından, program gibi çalışmasına izin ver. miş

Yardımcı olan bütün arkadşlara teşekkür ederim.

cagriemer

@yuayar dosyanin icerigini goruntulemenize gerek yok. Sag tiklayip ozellikler dedikten sonra izinler kismindan calistirilabilir yapin dosyayi. Daha sonra iki kere tiklayinca terminalde acmak istedigini soyleyen bir pencere cikacak. Onaylayin, terminal acilir. Sizden sifrenizi isteyecek ve kendisi kurulumu tamamlayacak. Kurulumdan sonra bilgisayari yeniden baslatmaniz onerilmis. Bir de 10.04 kullaniyorsunuz su anda degil mi?

yuayar

evet dediğiniz gibi yapmam gerekiyormuş, biraz zor fark ettim, sizede yardımınız için çok teşekkür ederim, bu arada 10.04 kullanıyorum artık.

cagriemer

@if bana bir sey birakmamis butun sorunlarinizi cozmus :) Eger sorununuz hallolduysa bu basligi kapatalim.

yuayar

yok yok sizede iş çıktı buyrun.
program kuruldu ama açmya çalıştığımda bu hata ile karşılaşıyorum. ayrıca makineyi rtai modunda açmam gerekiyormuş böyle açınca nvidiax hatası çıkıyor, ancak yinede bu hatayı alıyorum.
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.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.4.6
Machine configuration directory is '/home/ayar/emc2/configs/yunsuemc2'
Machine configuration file is 'yunsuemc2.ini'
INIFILE=/home/ayar/emc2/configs/yunsuemc2/yunsuemc2.ini
PARAMETER_FILE=emc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting EMC2 TASK program: milltask
Starting EMC2 DISPLAY program: axis
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=21285
Killing task milltask, PID=21362
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Xlib:  extension "GLX" missing on display ":1.0".
Traceback (most recent call last):
  File "/usr/bin/axis", line 3844, in <module>
    o = MyOpengl(widgets.preview_frame, width=400, height=300, double=1, depth=1)
  File "/usr/bin/axis", line 354, in __init__
    Opengl.__init__(self, *args, **kw)
  File "debian/tmp/usr/lib/python2.6/dist-packages/rs274/OpenGLTk.py", line 219, in __init__
  File "debian/tmp/usr/lib/python2.6/dist-packages/rs274/OpenGLTk.py", line 167, in __init__
  File "debian/tmp/usr/lib/python2.6/dist-packages/rs274/OpenGLTk.py", line 93, in __init__
  File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1935, in __init__
    (widgetName, self._w) + extra + self._options(cnf))
_tkinter.TclError: Togl: X server has no OpenGL GLX extension
21285
  PID TTY      STAT   TIME COMMAND
21362
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 3895.897774] I-pipe: Domain RTAI registered.
[ 3895.897780] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 3895.897782] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 3895.897853] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 3895.897855] PIPELINE layers:
[ 3895.897858] fda95e20 9ac15d93 RTAI 200
[ 3895.897860] c085cb20 0 Linux 100
[ 3895.913764] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 3895.922626] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 3895.922630] RTAI[sched]: hard timer type/freq = APIC/8313960(Hz); default timing: periodic; linear timed lists.
[ 3895.922633] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2261132000 hz.
[ 3895.922635] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 3895.922708] RTAI[usi]: enabled.
[ 3895.946857] RTAI[math]: loaded.
[ 3895.993698] config string '0x378 out  '
[ 3896.942895] RTAI[math]: unloaded.
[ 3896.955441] SCHED releases registered named ALIEN RTGLBH
[ 3897.017568] RTAI[malloc]: unloaded.
[ 3897.117064] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 3897.119311] I-pipe: Domain RTAI unregistered.
[ 3897.119386] RTAI[hal]: unmounted.



cagriemer

glxinfo

ciktisi ne donduruyor?

yuayar

#19
ayar@ubuntu:~$ glxinfo
name of display: :1.0
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Error: couldn't find RGB GLX visual or fbconfig

Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
3 GLXFBConfigs:
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
Segmentation fault




Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 11 Ekim 2011 - 15:58:29

arkadaşlar şuan problemi şimdilik hallettim hem nvidia hem emc2 halloldu ama sormayın nasıl yaptım bende bilmiyorum 10 tane site açtım bütün kodları sırasıyla uyguladım oldu ancak nerde doğru şeyi yaptım bilmiyorum.

cagriemer

Peki nvidia suruculerini tekrardan yuklemeyi denediniz mi?

yuayar

zaten yüklüydü, ancak kodları girerken dediğinizi yaptım, xserver gibi birşeyi devre dışı bırakıp nvidiayı aktif ettim gibi bir şey sanırım:D

E2TK

ubuntu 11.10 64bit versiyonuna emc2 kurulumu konusunda bana yardımcı olacak arkadaş varmı acaba?

bytan

Umut en büyük kötülüktür; işkenceyi uzatır. - F.N.


Bir şey ne ise odur, bu kadar. Öyleyse, iki şey arasında bağdaşıklık varsa, bu aralarında iletişim kuruyorlar demek değildir.
"... kavrayışını bilgi ile derinleştir ..."
PF @ ST

E2TK

#24
Yeni pc topladım 8gb ram var 32 bit kullanmak mantıklı gelmiyor.  11.10 64 bit versiyonda ne yapsam olmadı kuramadım 10.04 64 bit denicem bugün.


Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 18 Aralık 2011 - 18:21:25

10.04 64bit yükledim ama bu versiyonada yüklenmiyor:( yardımcı olabilecek bir arkadaş varmı 64bit kullanan?