gluk pisze:lub doinstalować apt
Kod: Zaznacz cały
cnc@debian:~$ sudo apt-get install apt
[sudo] password for cnc:
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
apt jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 41 nieaktualizowanych.
sudo: apt: nie znaleziono polecenia
Dodane 1 minuta 33 sekundy:
cnc@debian:~$ sudo apt-get install libboost-python-dev netcat libmodbus-dev yapps2
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
libboost-python-dev jest już w najnowszej wersji.
libmodbus-dev jest już w najnowszej wersji.
netcat jest już w najnowszej wersji.
yapps2 jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 41 nieaktualizowanych.
Dodane 7 minuty 39 sekundy:
szatri pisze:i wszystko idzie do momentu sudo ./configure
I dalej bez zmian, nawet z tym -get
Kod: Zaznacz cały
cnc@debian:~$ sudo apt-get install libgtk-3-dev
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
libgtk-3-dev jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 41 nieaktualizowanych.
cnc@debian:~$ sudo ./configure
sudo: ./configure: nie znaleziono polecenia
cnc@debian:~$ cd linuxcnc-dev/src
cnc@debian:~/linuxcnc-dev/src$
cnc@debian:~/linuxcnc-dev/src$ sudo ./autogen.sh
cnc@debian:~/linuxcnc-dev/src$ sudo ./configure
checking for g++... g++
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 g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/lockfree/queue.hpp usability... no
checking boost/lockfree/queue.hpp presence... no
checking for boost/lockfree/queue.hpp... no
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking build toplevel... /home/cnc/linuxcnc-dev
checking installation prefix... run in place
checking for grep... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for pkg-config... /usr/bin/pkg-config
checking for gcc... gcc
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 rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking for rtai-config... /usr/realtime-3.4-9-rtai-686-pae/bin/rtai-config
checking for xeno-config... none
checking for realtime API(s) to use... /usr/realtime-3.4-9-rtai-686-pae/bin/rtai-config
checking for location of kernel headers... using value from RTS: /usr/src/linux-headers-3.4-9-rtai-686-pae
checking for cc version... found gcc in rtai-config
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for usability of linux/hidraw.h... yes
checking for usability of rpc/rpc.h... yes
checking for libmodbus3... yes - version 3.0.3
checking for libusb-1.0... yes
checking for kernel version string... 3.4-9-rtai-686-pae
checking for kernel module extension... .ko
checking kernel build system... kbuild
checking for module installation directory... configuring for run-in-place
/home/cnc/linuxcnc-dev/rtlib
checking for glib... yes - 2.32.4
checking for GTK 3.22.4 or above... no
configure: error: GTK3 missing. Install with "sudo apt install libgtk-3-dev" or specify --disable-gtk to skip the parts of LinuxCNC that depend on GTK
Wszystkie komendy z poradnika:
Kod: Zaznacz cały
cnc@debian:~$ sudo apt-get install autoconf automake pkg-config libgtk-3-dev autoconf autogen libmodbus-dev libusb-1.0-0-dev
sudo: znacznik czasu zbyt daleko w przyszłości: May 24 22:58:54 2021
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for cnc:
Sorry, try again.
[sudo] password for cnc:
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
autoconf jest już w najnowszej wersji.
autogen jest już w najnowszej wersji.
automake jest już w najnowszej wersji.
libgtk-3-dev jest już w najnowszej wersji.
libmodbus-dev jest już w najnowszej wersji.
libusb-1.0-0-dev jest już w najnowszej wersji.
pkg-config jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 41 nieaktualizowanych.
cnc@debian:~$ sudo apt-get update -o Acquire::Check-Valid-Until=false
Stary http://archive.debian.org wheezy/updates Release.gpg
Stary http://archive.debian.org wheezy Release.gpg
Stary http://archive.debian.org wheezy/updates Release
Stary http://archive.debian.org wheezy Release
Ign. https://deb.opera.com stable Release.gpg
Stary http://linuxcnc.org wheezy Release.gpg
Ign. https://deb.opera.com stable Release
Stary http://buildbot.linuxcnc.org stretch Release.gpg
Stary http://linuxcnc.org wheezy Release
Stary http://archive.debian.org wheezy/updates/contrib Translation-en
Stary http://buildbot.linuxcnc.org wheezy Release.gpg
Stary http://archive.debian.org wheezy/updates/main Translation-en
Stary http://archive.debian.org wheezy/updates/non-free Translation-en
Stary http://linuxcnc.org wheezy/base Sources
Stary http://buildbot.linuxcnc.org stretch Release
Stary http://archive.debian.org wheezy/main Translation-pl
Stary http://linuxcnc.org wheezy/2.8-rt Sources
Stary http://buildbot.linuxcnc.org wheezy Release
Stary http://archive.debian.org wheezy/main Translation-en
Stary http://buildbot.linuxcnc.org stretch/master-rtpreempt Sources
Stary http://linuxcnc.org wheezy/base i386 Packages
Stary http://archive.debian.org wheezy/updates/main Sources
Stary http://archive.debian.org wheezy/updates/contrib Sources
Stary http://buildbot.linuxcnc.org stretch/master-rtpreempt i386 Packages
Stary http://archive.debian.org wheezy/updates/non-free Sources
Stary http://linuxcnc.org wheezy/2.8-rt i386 Packages
Stary http://archive.debian.org wheezy/updates/main i386 Packages
Stary http://archive.debian.org wheezy/updates/contrib i386 Packages
Stary http://archive.debian.org wheezy/updates/non-free i386 Packages
Stary http://archive.debian.org wheezy/main Sources
Stary http://archive.debian.org wheezy/main i386 Packages
Stary http://buildbot.linuxcnc.org wheezy/2.8-rtpreempt Sources
Stary http://buildbot.linuxcnc.org wheezy/master-rt Sources
Stary http://buildbot.linuxcnc.org wheezy/master-rtpreempt Sources
Stary http://buildbot.linuxcnc.org wheezy/2.8-rtpreempt i386 Packages
Stary http://buildbot.linuxcnc.org wheezy/master-rt i386 Packages
Stary http://buildbot.linuxcnc.org wheezy/master-rtpreempt i386 Packages
Błąd https://deb.opera.com stable/non-free i386 Packages
gnutls_handshake() failed: A TLS fatal alert has been received.
Ign. http://linuxcnc.org wheezy/2.8-rt Translation-pl_PL
Ign. http://linuxcnc.org wheezy/2.8-rt Translation-pl
Ign. http://linuxcnc.org wheezy/2.8-rt Translation-en
Ign. http://linuxcnc.org wheezy/base Translation-pl_PL
Ign. http://linuxcnc.org wheezy/base Translation-pl
Ign. https://deb.opera.com stable/non-free Translation-pl_PL
Ign. http://linuxcnc.org wheezy/base Translation-en
Ign. https://deb.opera.com stable/non-free Translation-pl
Ign. https://deb.opera.com stable/non-free Translation-en
Ign. http://buildbot.linuxcnc.org stretch/master-rtpreempt Translation-pl_PL
Ign. http://buildbot.linuxcnc.org stretch/master-rtpreempt Translation-pl
Ign. http://buildbot.linuxcnc.org stretch/master-rtpreempt Translation-en
Ign. http://buildbot.linuxcnc.org wheezy/2.8-rtpreempt Translation-pl_PL
Ign. http://buildbot.linuxcnc.org wheezy/2.8-rtpreempt Translation-pl
Ign. http://buildbot.linuxcnc.org wheezy/2.8-rtpreempt Translation-en
Ign. http://buildbot.linuxcnc.org wheezy/master-rt Translation-pl_PL
Ign. http://buildbot.linuxcnc.org wheezy/master-rt Translation-pl
Ign. http://buildbot.linuxcnc.org wheezy/master-rt Translation-en
Ign. http://buildbot.linuxcnc.org wheezy/master-rtpreempt Translation-pl_PL
Ign. http://buildbot.linuxcnc.org wheezy/master-rtpreempt Translation-pl
Ign. http://buildbot.linuxcnc.org wheezy/master-rtpreempt Translation-en
W: Nie udało się pobrać https://deb.opera.com/opera-stable/dists/stable/non-free/binary-i386/Packages gnutls_handshake() failed: A TLS fatal alert has been received.
E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub użyto ich starszej wersji.
cnc@debian:~$
cnc@debian:~$ sudo apt-get install libboost-python-dev netcat libmodbus-dev yapps2 libudev-dev tcl8.5-dev tk8.5-dev libreadline-gplv2-dev asciidoc dblatex docbook-xsl dvipng graphviz groff imagemagick inkscape python-lxml source-highlight texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-lang-cyrillic texlive-lang-french texlive-lang-german texlive-lang-polish texlive-lang-spanish texlive-latex-recommended w3c-linkchecker xsltproc python-dev libxmu-dev libglu1-mesa-dev libgl1-mesa-dev libgtk2.0-dev intltool python3-tk libusb-1.0-0-dev
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
graphviz jest już w najnowszej wersji.
imagemagick jest już w najnowszej wersji.
xsltproc jest już w najnowszej wersji.
python-lxml jest już w najnowszej wersji.
libgl1-mesa-dev jest już w najnowszej wersji.
libglu1-mesa-dev jest już w najnowszej wersji.
texlive-fonts-recommended jest już w najnowszej wersji.
texlive-latex-recommended jest już w najnowszej wersji.
asciidoc jest już w najnowszej wersji.
libboost-python-dev jest już w najnowszej wersji.
dblatex jest już w najnowszej wersji.
docbook-xsl jest już w najnowszej wersji.
dvipng jest już w najnowszej wersji.
groff jest już w najnowszej wersji.
libgtk2.0-dev jest już w najnowszej wersji.
inkscape jest już w najnowszej wersji.
intltool jest już w najnowszej wersji.
libmodbus-dev jest już w najnowszej wersji.
libusb-1.0-0-dev jest już w najnowszej wersji.
libxmu-dev jest już w najnowszej wersji.
netcat jest już w najnowszej wersji.
python-dev jest już w najnowszej wersji.
python3-tk jest już w najnowszej wersji.
libreadline-gplv2-dev jest już w najnowszej wersji.
source-highlight jest już w najnowszej wersji.
tcl8.5-dev jest już w najnowszej wersji.
texlive-extra-utils jest już w najnowszej wersji.
texlive-font-utils jest już w najnowszej wersji.
texlive-lang-cyrillic jest już w najnowszej wersji.
texlive-lang-french jest już w najnowszej wersji.
texlive-lang-german jest już w najnowszej wersji.
texlive-lang-polish jest już w najnowszej wersji.
texlive-lang-spanish jest już w najnowszej wersji.
tk8.5-dev jest już w najnowszej wersji.
libudev-dev jest już w najnowszej wersji.
w3c-linkchecker jest już w najnowszej wersji.
yapps2 jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 41 nieaktualizowanych.
cnc@debian:~$ sudo apt-get install linux-headers-$(uname -r)
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
linux-headers-3.4-9-rtai-686-pae jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 41 nieaktualizowanych.
cnc@debian:~$
cnc@debian:~$ cd linuxcnc-dev/src
cnc@debian:~/linuxcnc-dev/src$
cnc@debian:~/linuxcnc-dev/src$ sudo ./autogen.sh
cnc@debian:~/linuxcnc-dev/src$
cnc@debian:~/linuxcnc-dev/src$ sudo ./configure
checking for g++... g++
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 g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/lockfree/queue.hpp usability... no
checking boost/lockfree/queue.hpp presence... no
checking for boost/lockfree/queue.hpp... no
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking build toplevel... /home/cnc/linuxcnc-dev
checking installation prefix... run in place
checking for grep... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for pkg-config... /usr/bin/pkg-config
checking for gcc... gcc
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 rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking for rtai-config... /usr/realtime-3.4-9-rtai-686-pae/bin/rtai-config
checking for xeno-config... none
checking for realtime API(s) to use... /usr/realtime-3.4-9-rtai-686-pae/bin/rtai-config
checking for location of kernel headers... using value from RTS: /usr/src/linux-headers-3.4-9-rtai-686-pae
checking for cc version... found gcc in rtai-config
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for usability of linux/hidraw.h... yes
checking for usability of rpc/rpc.h... yes
checking for libmodbus3... yes - version 3.0.3
checking for libusb-1.0... yes
checking for kernel version string... 3.4-9-rtai-686-pae
checking for kernel module extension... .ko
checking kernel build system... kbuild
checking for module installation directory... configuring for run-in-place
/home/cnc/linuxcnc-dev/rtlib
checking for glib... yes - 2.32.4
checking for GTK 3.22.4 or above... no
configure: error: GTK3 missing. Install with "sudo apt install libgtk-3-dev" or specify --disable-gtk to skip the parts of LinuxCNC that depend on GTK
cnc@debian:~/linuxcnc-dev/src$
cnc@debian:~/linuxcnc-dev/src$ sudo make
Makefile:88: Makefile.inc: Nie ma takiego pliku ani katalogu
Makefile:99: *** Makefile.inc must specify RTPREFIX and other variables. Stop.
cnc@debian:~/linuxcnc-dev/src$
cnc@debian:~/linuxcnc-dev/src$ sudo make setuid
Makefile:88: Makefile.inc: Nie ma takiego pliku ani katalogu
Makefile:99: *** Makefile.inc must specify RTPREFIX and other variables. Stop.
cnc@debian:~/linuxcnc-dev/src$