You are not logged in.
New to Arch, Im trying to install tofi , but evrey time I try to install it it says it is missing a dependecies called freetype2. and whe i install the missing dependecies by "sudo pacman -S freetype2 " it successfully install but when i try to install tofi again then it shows you are missing a dependencies
Last edited by ritesh (2024-04-14 14:13:57)
Offline
I assume you mean this aur package which freetype2 is a dependency and should be pulled automatically.
Can you pass the full output of the error you see?
Last edited by impossibleveins23 (2024-04-14 08:22:56)
* Good formatted problem description will cause good and quick solution
* Please don't forget to mark as [SOLVED].
Offline
❯ makepkg -si
==> Making package: tofi 0.9.1-2 (Sun 14 Apr 2024 03:17:52 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found tofi-0.9.1.tar.gz
==> Validating source files with sha512sums...
tofi-0.9.1.tar.gz ... Passed
==> Extracting sources...
-> Extracting tofi-0.9.1.tar.gz with bsdtar
==> Starting prepare()...
The Meson build system
Version: 1.4.0
Source dir: /home/ritesh/repos/tofi/src/tofi-0.9.1
Build dir: /home/ritesh/repos/tofi/src/build
Build type: native build
Project name: tofi
Project version: 0.9.1
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.42.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Library rt found: YES
Library m found: YES
Checking for function "fts_read" : YES
Library fts found: NO
Found pkg-config: YES (/home/linuxbrew/.linuxbrew/bin/pkg-config) 0.29.2
Found CMake: /usr/bin/cmake (3.29.2)
Run-time dependency freetype2 found: NO (tried pkgconfig and cmake)
tofi-0.9.1/meson.build:137:11: ERROR: Dependency "freetype2" not found, tried pkgconfig and cmake
A full log can be found at /home/ritesh/repos/tofi/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in prepare().
Aborting...
Offline
Can you pass: pacman -Qs freetype2 ?
* Good formatted problem description will cause good and quick solution
* Please don't forget to mark as [SOLVED].
Offline
Is the base-devel package installed?
Found pkg-config: YES (/home/linuxbrew/.linuxbrew/bin/pkg-config) 0.29.2
What if you remove the above local install of pkg-config?
Offline
❯ pacman -Qs freetype2
local/freetype2 2.13.2-1
Font rasterization library
Offline
yeah base-devel package is installed
Offline
Please provide an updated `makepkg -si` output in code tags after you have removed the local install of pkg-config. You can also respond to multiple posts in one of your own.
Offline
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
I fixed it, It is a problem with the homebrew. I unistalled homebrew and installed all packages with pacman
Offline
Please mark the thread as solved by editing the first post and prepending [SOLVED] to the topic.
Offline