Hey!
I'm trying to install wlr-randr to change the screen resolution on my pinephone. I'm referring to this thread and the two provided links by "nas", which are related to debian + phosh
I cloned wlr-randr from github
installed build-base
then I run
meson build in thdisplay guidee /wlr-randr directory
but it quits with the following error:
this is the output of the meson-build log:
Both pkg-config and cmake are installed on the system. I do not understand the error messages above concerning pkg-config, which, I assume, are the cause for the error:
Any idea?
Changing the screen resolution seems to be the only practical way to make application fit the screen. Even the open/save dialogs from PM OS' Core apps are too large (the display guide on the pmOs wiki did not solve the scaling problems for me and is only applicable for qt apps).
I'm trying to install wlr-randr to change the screen resolution on my pinephone. I'm referring to this thread and the two provided links by "nas", which are related to debian + phosh
I cloned wlr-randr from github
installed build-base
then I run
meson build in thdisplay guidee /wlr-randr directory
but it quits with the following error:
Code:
pinephone:~/wlr-randr$ meson build
The Meson build system
Version: 0.53.2
Source dir: /home/nieral/wlr-randr
Build dir: /home/nieral/wlr-randr/build
Build type: native build
Project name: wlr-randr
Project version: 0.0.0
C compiler for the host machine: cc (gcc 9.3.0 "cc (Alpine 9.3.0) 9.3.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: aarch64
Host machine cpu: aarch64
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wfloat-equal: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wimplicit-fallthrough=2: YES
Compiler for C supports arguments -Wendif-labels: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Woverflow: YES
Compiler for C supports arguments -Wformat=2: YES
Compiler for C supports arguments -Wno-missing-braces -Wmissing-braces: YES
Compiler for C supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Found CMake: /usr/bin/cmake (3.17.0)
Run-time dependency wayland-client found: NO (tried pkgconfig and cmake)
meson.build:37:0: ERROR: Dependency "wayland-client" not found, tried pkgconfig and cmake
this is the output of the meson-build log:
Code:
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES
Pkg-config binary for MachineChoice.HOST is not cached.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default pkg-config fallback at pkg-config
Trying pkg-config binary pkg-config for machine MachineChoice.HOST at ['/usr/bin/pkg-config']
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Determining dependency 'wayland-client' with pkg-config executable '/usr/bin/pkg-config'
PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config --modversion wayland-client` -> 1
CMake binary for MachineChoice.HOST is not cached
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Trying CMake binary cmake for machine MachineChoice.HOST at ['/usr/bin/cmake']
Found CMake: /usr/bin/cmake (3.17.0)
Extracting basic cmake information
Try CMake generator: auto
No CXXFLAGS in the environment, not changing global flags.
No LDFLAGS in the environment, not changing global flags.
No CPPFLAGS in the environment, not changing global flags.
Failed to find a fortran compiler for CMake. This might cause CMake to fail.
Called `/usr/bin/cmake --trace-expand .` in /home/nieral/wlr-randr/build/meson-private/cmake_wayland>
-- Module search paths: ['/', '/opt', '/usr', '/usr/local']
-- CMake root: /usr/share/cmake
-- CMake architectures: []
-- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share']
Preliminary CMake check failed. Aborting.
Run-time dependency wayland-client found: NO (tried pkgconfig and cmake)
meson.build:37:0: ERROR: Dependency "wayland-client" not found, tried pkgconfig and cmake
Both pkg-config and cmake are installed on the system. I do not understand the error messages above concerning pkg-config, which, I assume, are the cause for the error:
Code:
Pkg-config binary missing from cross or native file, or env var undefined.
Any idea?
Changing the screen resolution seems to be the only practical way to make application fit the screen. Even the open/save dialogs from PM OS' Core apps are too large (the display guide on the pmOs wiki did not solve the scaling problems for me and is only applicable for qt apps).