You are not logged in.

#1 2024-04-14 06:13:42

ritesh
Member
Registered: 2024-04-14
Posts: 5

im trying to install tofi but fails every time [Solved]

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

#2 2024-04-14 08:22:20

impossibleveins23
Member
Registered: 2022-06-18
Posts: 83

Re: im trying to install tofi but fails every time [Solved]

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)

Offline

#3 2024-04-14 09:48:25

ritesh
Member
Registered: 2024-04-14
Posts: 5

Re: im trying to install tofi but fails every time [Solved]

❯ 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

#4 2024-04-14 11:40:19

impossibleveins23
Member
Registered: 2022-06-18
Posts: 83

Re: im trying to install tofi but fails every time [Solved]

Can you pass: pacman -Qs freetype2 ?

Offline

#5 2024-04-14 11:48:23

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: im trying to install tofi but fails every time [Solved]

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

#6 2024-04-14 11:52:43

ritesh
Member
Registered: 2024-04-14
Posts: 5

Re: im trying to install tofi but fails every time [Solved]

❯ pacman -Qs freetype2
local/freetype2 2.13.2-1
    Font rasterization library

Offline

#7 2024-04-14 11:55:06

ritesh
Member
Registered: 2024-04-14
Posts: 5

Re: im trying to install tofi but fails every time [Solved]

yeah base-devel package is installed

Offline

#8 2024-04-14 12:00:35

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: im trying to install tofi but fails every time [Solved]

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

#9 2024-04-14 12:14:47

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,892
Website

Re: im trying to install tofi but fails every time [Solved]

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.

Offline

#10 2024-04-14 12:15:28

ritesh
Member
Registered: 2024-04-14
Posts: 5

Re: im trying to install tofi but fails every time [Solved]

I fixed it, It is a problem with the homebrew. I unistalled homebrew and installed all packages with pacman

Offline

#11 2024-04-14 12:17:59

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: im trying to install tofi but fails every time [Solved]

Please mark the thread as solved by editing the first post and prepending [SOLVED] to the topic.

Offline

Board footer

Powered by FluxBB