installazione wayland

Discussioni relative all'ambiente grafico X (Xfree e XOrg)
Rispondi
giangian2387
Newbie
Newbie
Messaggi: 9
Iscritto il: 20/01/2017, 21:41

installazione wayland

Messaggio da giangian2387 »

buonasera,
sto tentando di installare wayland seguendo questa guida: https://gitlab.freedesktop.org/wayland/wayland

Codice: Seleziona tutto

~/wayland $ meson build/ --prefix=/etc
The Meson build system
Version: 0.56.1
Source dir: /home/pi/wayland
Build dir: /home/pi/wayland/build
Build type: native build
Project name: wayland
Project version: 1.19.90
C compiler for the host machine: cc (gcc 8.3.0 "cc (Raspbian 8.3.0-6+rpi1) 8.3.0")
C linker for the host machine: cc ld.bfd 2.31.1
Host machine cpu family: arm
Host machine cpu: armv7l
Compiler for C supports arguments -Wno-unused-parameter: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wmissing-prototypes: YES 
Compiler for C supports arguments -fvisibility=hidden: YES 
Has header "sys/prctl.h" : YES 
Checking for function "accept4" : YES 
Checking for function "mkostemp" : YES 
Checking for function "posix_fallocate" : YES 
Checking for function "prctl" : YES 
Checking for function "memfd_create" : YES 
Checking for function "strndup" : YES 
Found pkg-config: /usr/bin/pkg-config (0.29)
Run-time dependency libffi found: YES 3.2.1
Header <sys/signalfd.h> has symbol "SFD_CLOEXEC" : YES 
Header <sys/timerfd.h> has symbol "TFD_CLOEXEC" : YES 
Header <time.h> has symbol "CLOCK_MONOTONIC" : YES 
Checking for function "clock_gettime" : YES 
Configuring config.h using configuration
Configuring wayland-version.h using configuration
Run-time dependency expat found: YES 2.2.6
Run-time dependency libxml-2.0 found: YES 2.9.4
Library m found: YES
Run-time dependency threads found: YES
Program nm found: YES (/usr/bin/nm)
Program wayland-egl-symbols-check found: YES (/home/pi/wayland/egl/wayland-egl-symbols-check)
Library dl found: YES
Dependency threads found: YES unknown (cached)
Dependency threads found: YES unknown (cached)
Library dl found: YES
C++ compiler for the host machine: c++ (gcc 8.3.0 "c++ (Raspbian 8.3.0-6+rpi1) 8.3.0")
C++ linker for the host machine: c++ ld.bfd 2.31.1
Program sed found: YES (/usr/bin/sed)
Program scanner-test.sh found: YES (/home/pi/wayland/tests/scanner-test.sh)
Program dot found: NO

doc/meson.build:1:0: ERROR: Program 'dot' not found

A full log can be found at /home/pi/wayland/build/meson-logs/meson-log.txt



Se provo ad installare libxml-2.0 mi dice che non trova nessun pacchetto.. come devo proseguire? Dove sbaglio?
Ultima modifica di giangian2387 il 07/05/2021, 18:04, modificato 1 volta in totale.
Avatar utente
marcomg
Administrator
Administrator
Messaggi: 8061
Iscritto il: 22/08/2011, 18:54

Re: installazione wayland

Messaggio da marcomg »

Su debian buster wayland è presente ed utilizzato by default su gnome e tramite l'intallazione di plasma-workspace-wayland per kde.

Forse la libreria è la libxml2 i cui file di sviluppo sono in libxml2-dev.
~ Marco
giangian2387
Newbie
Newbie
Messaggi: 9
Iscritto il: 20/01/2017, 21:41

Re: installazione wayland

Messaggio da giangian2387 »

si, sono riuscito ad installare la libreria, ora ho questo:
~/wayland $ meson build/ --prefix=/etc
The Meson build system
Version: 0.56.1
Source dir: /home/pi/wayland
Build dir: /home/pi/wayland/build
Build type: native build
Project name: wayland
Project version: 1.19.90
C compiler for the host machine: cc (gcc 8.3.0 "cc (Raspbian 8.3.0-6+rpi1) 8.3.0")
C linker for the host machine: cc ld.bfd 2.31.1
Host machine cpu family: arm
Host machine cpu: armv7l
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Has header "sys/prctl.h" : YES
Checking for function "accept4" : YES
Checking for function "mkostemp" : YES
Checking for function "posix_fallocate" : YES
Checking for function "prctl" : YES
Checking for function "memfd_create" : YES
Checking for function "strndup" : YES
Found pkg-config: /usr/bin/pkg-config (0.29)
Run-time dependency libffi found: YES 3.2.1
Header <sys/signalfd.h> has symbol "SFD_CLOEXEC" : YES
Header <sys/timerfd.h> has symbol "TFD_CLOEXEC" : YES
Header <time.h> has symbol "CLOCK_MONOTONIC" : YES
Checking for function "clock_gettime" : YES
Configuring config.h using configuration
Configuring wayland-version.h using configuration
Run-time dependency expat found: YES 2.2.6
Run-time dependency libxml-2.0 found: YES 2.9.4
Library m found: YES
Run-time dependency threads found: YES
Program nm found: YES (/usr/bin/nm)
Program wayland-egl-symbols-check found: YES (/home/pi/wayland/egl/wayland-egl-symbols-check)
Library dl found: YES
Dependency threads found: YES unknown (cached)
Dependency threads found: YES unknown (cached)
Library dl found: YES
C++ compiler for the host machine: c++ (gcc 8.3.0 "c++ (Raspbian 8.3.0-6+rpi1) 8.3.0")
C++ linker for the host machine: c++ ld.bfd 2.31.1
Program sed found: YES (/usr/bin/sed)
Program scanner-test.sh found: YES (/home/pi/wayland/tests/scanner-test.sh)
Program dot found: NO

doc/meson.build:1:0: ERROR: Program 'dot' not found

A full log can be found at /home/pi/wayland/build/meson-logs/meson-log.txt
Avatar utente
marcomg
Administrator
Administrator
Messaggi: 8061
Iscritto il: 22/08/2011, 18:54

Re: installazione wayland

Messaggio da marcomg »

Perdonami, ma cosa vuoi fare e soprattutto perché?
Comunque devi usare google sugli errori e fantasia. Per quell'errore dovrebbe essere graphviz (ho usato google e fantasia per trovarlo, ma non ho provato se funziona). Cioè ho cercato "doc/meson.build:1:0: ERROR: Program 'dot' not found" e cliccato sul 2o risultato di ubuntu forum. Trovato questa riga

Codice: Seleziona tutto

Program dot found: YES (/usr/bin/dot)
Cercato con apt-file che pacchetto fornisse tale binario.
~ Marco
giangian2387
Newbie
Newbie
Messaggi: 9
Iscritto il: 20/01/2017, 21:41

Re: installazione wayland

Messaggio da giangian2387 »

Scusami tu, non ho ben spiegato, mi trovo su una installazione minimale vorrei installare tutto l’occorrente partendo da 0 (colgo l’occasione per imparare cose nuove) con X11 saprei come fare ma, vorrei confrontarmi con waylant
giangian2387
Newbie
Newbie
Messaggi: 9
Iscritto il: 20/01/2017, 21:41

Re: installazione wayland

Messaggio da giangian2387 »

ok, sembra esser andato, una volta installato anche il wm quale sarebbe il comando per avviare? intendo lo statx di X11
Avatar utente
marcomg
Administrator
Administrator
Messaggi: 8061
Iscritto il: 22/08/2011, 18:54

Re: installazione wayland

Messaggio da marcomg »

Non puoi. Devi avviare direttamente il compositor (cioè il wm) che vuoi.
https://wiki.archlinux.org/title/wayland#Compositors
giangian2387 ha scritto: 07/05/2021, 18:54 mi trovo su una installazione minimale vorrei installare tutto l’occorrente partendo da 0
Beh, non capisco perché compilare però 😅
~ Marco
giangian2387
Newbie
Newbie
Messaggi: 9
Iscritto il: 20/01/2017, 21:41

Re: installazione wayland

Messaggio da giangian2387 »

Era il percorso suggerito dalla guida, se ne conosci uno meno laborioso ti ringrazio...
Come WM utilizzo i3 ora per avviarlo da installazione minimale la guida dice di modificare il file: ~/.xinitrc e poi digitare startx..
dici che non sia possibile fare una cosa analoga con wayland?
Avatar utente
marcomg
Administrator
Administrator
Messaggi: 8061
Iscritto il: 22/08/2011, 18:54

Re: installazione wayland

Messaggio da marcomg »

Sei sicuro che i3 supporti Wayland? o installi anche XWayland oppure potresti usare sway al posto di i3.
~ Marco
Rispondi