Znaleziono 5 wyników

autor: damiansr50ce
05 lut 2023, 09:20
Forum: LinuxCNC (dawniej EMC2)
Temat: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
Odpowiedzi: 142
Odsłony: 11857

Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant

Zaczynam od początku może uda się problem rozwiązać i ten wątek będzie potraktowany jak instrukcja.
A problem wygląda tak, że na polecenie

Kod: Zaznacz cały

sudo ./configure
wyrzuca tak:

Kod: Zaznacz cały

nc@debian:~$ cd linuxcnc-dev/src
cnc@debian:~/linuxcnc-dev/src$ sudo ./autogen.sh
cnc@debian:~/linuxcnc-dev/src$ sudo ./configure
checking for c++... c++
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 c++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether c++ supports C++17 features with -std=gnu++17... no
checking whether c++ supports C++17 features with -std=gnu++1z... no
configure: error: *** A compiler with support for C++17 language features is required.
cnc@debian:~/linuxcnc-dev/src$ 
Instalacja wędki z poradnika
http://www.machmaker.pl/1_10_2_instrukc ... ian-9.html
System w moim przypadku 32bit zassany z
http://www.linuxcnc.org/testing-stretch-rtpreempt/
i zainstalowany przez rufusa. Testowałem wersje z końcówka r11, r12 i r13. To samo.

Na początku instrukcji przy instalacji LinuxCNC 2.9 też wystąpił błąd

Kod: Zaznacz cały

cnc@debian:~$ sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key E0EE663E
Executing: /tmp/apt-key-gpghome.Ha8oZDQv7M/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-key E0EE663E
gpg: keyserver receive failed: Brak nazwy
cnc@debian:~$ 
ale rozwiązanie znalazłem w internecie
https://www.forum.linuxcnc.org/9-instal ... ive-failed
i zmiana polecenia pomogła

Kod: Zaznacz cały

cnc@debian:~$ sudo apt-key adv --keyserver hkp://pgpkeys.eu --recv-key EF1B07FEE0EE663E 
Executing: /tmp/apt-key-gpghome.Vq2oDIEI78/gpg.1.sh --keyserver hkp://pgpkeys.eu --recv-key EF1B07FEE0EE663E
gpg: key EF1B07FEE0EE663E: "LinuxCNC Buildbot <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
cnc@debian:~$ 
Potem cała reszta instrukcji przebiegła bez problemów do momentu nieszczęsnego

Kod: Zaznacz cały

cnc@debian:~$ cd linuxcnc-dev/src
cnc@debian:~/linuxcnc-dev/src$ sudo ./autogen.sh
cnc@debian:~/linuxcnc-dev/src$ sudo ./configure

Kod: Zaznacz cały

checking for c++... c++
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 c++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether c++ supports C++17 features with -std=gnu++17... no
checking whether c++ supports C++17 features with -std=gnu++1z... no
configure: error: *** A compiler with support for C++17 language features is required.
cnc@debian:~/linuxcnc-dev/src$ 
Ja to bym rozumiał przez problem z wersją kompilatora... nie znam się.
autor: damiansr50ce
04 lut 2023, 20:51
Forum: LinuxCNC (dawniej EMC2)
Temat: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
Odpowiedzi: 142
Odsłony: 11857

Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant

Dlaczego chce ten zadajnik tak na siłę? Wyjaśni się wszstko dokładnie na forum za kilka/kilkanaście dni.. Po prostu go mam i leży i kurzy się , a moją maszynkę będę sprzedawał, a ten zadajnik działał mi... tylko potem zmieniłem komputer i przeszedłem na linumeric. Chciałbym żeby ewentualny nowy właściciel maszyny miał wybór albo używać tego zadajnika(skoro go mam) albo nie. Kończę pobierać debiana stretch uspace r12 bo r11 i r13 nie poszły(tzn nie mogę zainstalować tej wędki) więc kombinuję z wersją r12.
autor: damiansr50ce
04 lut 2023, 20:31
Forum: LinuxCNC (dawniej EMC2)
Temat: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
Odpowiedzi: 142
Odsłony: 11857

Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant

Dobra rozumiem.. o wheezy mogę zapomnieć..może się nie udzielam za dużo na forum (tzn. w ogóle), ale czytam dużo. Dobra robię instalację Debiana 9 i dam znać jakie mam błędy, ale dodam, że już 4 raz będę go dziś instalować.
autor: damiansr50ce
04 lut 2023, 20:09
Forum: LinuxCNC (dawniej EMC2)
Temat: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
Odpowiedzi: 142
Odsłony: 11857

Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant

Ogólnie już na samym początki instrukcji sypie takimi błędami

Kod: Zaznacz cały

cnc@debian:~$ sudo apt-get update -o Acquire::Check-Valid-Until=false
Pobieranie:1 http://archive.debian.org wheezy Release.gpg [2373 B]
Pobieranie:2 http://archive.debian.org wheezy/updates Release.gpg [1601 B]                        
Stary http://archive.debian.org wheezy Release                                                    
Ign.  http://archive.debian.org wheezy Release                                                    
Stary http://archive.debian.org wheezy/updates Release                                            
Ign.  http://archive.debian.org wheezy/updates Release                                  
Ign.  http://archive.debian.org wheezy/main Sources/DiffIndex                          
Ign.  http://archive.debian.org wheezy/contrib Sources/DiffIndex                       
Stary http://buildbot.linuxcnc.org wheezy Release.gpg      
Stary http://linuxcnc.org wheezy Release.gpg               
Ign.  http://archive.debian.org wheezy/non-free Sources/DiffIndex
Ign.  http://archive.debian.org wheezy/main i386 Packages/DiffIndex
Ign.  http://archive.debian.org wheezy/contrib i386 Packages/DiffIndex
Stary http://buildbot.linuxcnc.org wheezy Release          
Ign.  http://archive.debian.org wheezy/non-free i386 Packages/DiffIndex          
Stary http://linuxcnc.org wheezy Release                   
Stary http://archive.debian.org wheezy/contrib Translation-en                     
Stary http://buildbot.linuxcnc.org wheezy/master-rt i386 Packages                                 
Stary http://archive.debian.org wheezy/main Translation-pl                              
Stary http://linuxcnc.org wheezy/base Sources                                        
Stary http://archive.debian.org wheezy/main Translation-en                           
Stary http://archive.debian.org wheezy/non-free Translation-en                       
Stary http://linuxcnc.org wheezy/2.7-rtai Sources                                    
Ign.  http://archive.debian.org wheezy/updates/main Sources/DiffIndex                
Ign.  http://archive.debian.org wheezy/updates/contrib Sources/DiffIndex             
Ign.  http://archive.debian.org wheezy/updates/non-free Sources/DiffIndex            
Stary http://linuxcnc.org wheezy/base i386 Packages                                  
Ign.  http://archive.debian.org wheezy/updates/main i386 Packages/DiffIndex          
Ign.  http://archive.debian.org wheezy/updates/contrib i386 Packages/DiffIndex       
Ign.  http://archive.debian.org wheezy/updates/non-free i386 Packages/DiffIndex      
Stary http://linuxcnc.org wheezy/2.7-rtai i386 Packages                              
Stary http://archive.debian.org wheezy/updates/contrib Translation-en                
Stary http://archive.debian.org wheezy/updates/main Translation-en                   
Stary http://archive.debian.org wheezy/updates/non-free Translation-en               
Stary http://archive.debian.org wheezy/main Sources                                  
Stary http://archive.debian.org wheezy/contrib Sources                        
Stary http://archive.debian.org wheezy/non-free Sources                       
Stary http://archive.debian.org wheezy/main i386 Packages                     
Stary http://archive.debian.org wheezy/contrib i386 Packages                                      
Stary http://archive.debian.org wheezy/non-free i386 Packages                                     
Ign.  http://archive.debian.org wheezy/contrib Translation-pl_PL                                  
Ign.  http://archive.debian.org wheezy/contrib Translation-pl                                     
Ign.  http://archive.debian.org wheezy/main Translation-pl_PL                                     
Ign.  http://archive.debian.org wheezy/non-free Translation-pl_PL                                 
Ign.  http://archive.debian.org wheezy/non-free Translation-pl                                    
Stary http://archive.debian.org wheezy/updates/main Sources                                       
Stary http://archive.debian.org wheezy/updates/contrib Sources                                    
Stary http://archive.debian.org wheezy/updates/non-free Sources                                   
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                             
Ign.  http://archive.debian.org wheezy/updates/contrib Translation-pl_PL                          
Ign.  http://archive.debian.org wheezy/updates/contrib Translation-pl                             
Ign.  http://archive.debian.org wheezy/updates/main Translation-pl_PL                             
Ign.  http://archive.debian.org wheezy/updates/main Translation-pl                                
Ign.  http://archive.debian.org wheezy/updates/non-free Translation-pl_PL                         
Ign.  http://archive.debian.org wheezy/updates/non-free Translation-pl                            
Ign.  http://linuxcnc.org wheezy/2.7-rtai Translation-pl_PL                                       
Ign.  http://linuxcnc.org wheezy/2.7-rtai Translation-pl                                          
Ign.  http://linuxcnc.org wheezy/2.7-rtai Translation-en                                          
Ign.  http://linuxcnc.org wheezy/base Translation-pl_PL                                           
Ign.  http://linuxcnc.org wheezy/base Translation-pl                                              
Ign.  http://linuxcnc.org wheezy/base Translation-en                                              
Pobrano 3974 B w 10s (384 B/s)                                                                    
W: Błąd GPG: http://archive.debian.org wheezy Release: Następujące podpisy były błędne: KEYEXPIRED 1587841717 KEYEXPIRED 1668891673 KEYEXPIRED 1557241909
W: Błąd GPG: http://archive.debian.org wheezy/updates Release: Następujące podpisy były błędne: KEYEXPIRED 1668892417 KEYEXPIRED 1587841717
W: Nie udało się pobrać http://buildbot.linuxcnc.org/dists/wheezy/Release  Nie udało się znaleźć oczekiwanego wpisu "deb-src/binary-i386/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik)

E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub użyto ich starszej wersji.
a błąd związany z

Kod: Zaznacz cały

sudo ./configure
wykonuję to zgodnie z instrukcją wiec:

Kod: Zaznacz cały


    sudo apt-get install autoconf automake pkg-config libgtk-3-dev autoconf autogen libmodbus-dev libusb-1.0-0-dev

    sudo apt-get update -o Acquire::Check-Valid-Until=false


    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

    sudo apt-get install linux-headers-$(uname -r)

    cd linuxcnc-dev/src

    sudo ./autogen.sh

    sudo ./configure

    sudo make

    sudo make setuid
autor: damiansr50ce
04 lut 2023, 19:50
Forum: LinuxCNC (dawniej EMC2)
Temat: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
Odpowiedzi: 142
Odsłony: 11857

Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant

Witam.
Jeszcze rok temu(może troszkę dalej) udało mi się uruchomić WHB04B-4 na Debianie 7 zgodnie z instrukcją ze strony Machmaker.pl teraz ani na Debianie 7 ani na Debianie 9. W obu przypadkach utykam na

Kod: Zaznacz cały

sudo ./configure
Sprzęt się nie zmienił jest to HP Compaq dc5700. Domyślam się że nikt nie jest wróżką i nie czyta z magicznej kuli, ale czy problem mam tylko ja czy to kwestia specyfiki archaiczności systemu...
Dla Debian 7 po wydaniu polecenia

Kod: Zaznacz cały

sudo ./configure
otrzymuję

Kod: Zaznacz cały

sudo. /configure: nie znaleziono polecenia 
Dla Debiana 9 nie spisałem odpowiedzi :oops:
Wszystko robiłem zgodnie z instrukcją, ale niestety znajomość linuxa u mnie prawie żadna. Wędkę instalowałem w świeżym Debianie 9 pobranym z http://www.linuxcnc.org/testing-stretch-rtpreempt/
A Wheezy z http://linuxcnc.org/iso/

Wróć do „MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant”