Error dependency pixman 1 not found tried pkgconfig

After installing pixman from source, I set it on bash_profile after rebuilding node-gyp `> node-gyp rebuild Package pixman-1 was not found in the pkg-config search path. Perhaps you should add t...

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account


Closed

staminna opened this issue

Dec 21, 2017

· 16 comments


Closed

Recurrent pixman not found on path

#1065

staminna opened this issue

Dec 21, 2017

· 16 comments

Comments

@staminna

After installing pixman from source, I set it on bash_profile after rebuilding node-gyp

`> node-gyp rebuild

Package pixman-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing pixman-1.pc' to the PKG_CONFIG_PATH environment variable No package 'pixman-1' found gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code

I also tried installing pixman with brew and macports, but the issue always resets to this error message, even after successful install.

My Environment

  • Version of node-canvas (e.g. 1.4.0):
  • Environment (e.g. node 8.1.0 on Mac OS X 10.13.1):

@jayrmotta

@jayrmotta

I had to install via brew (since I’m on a mac) pixman, cairo and pango.

Now it works!

LinusU, dayfine, Xychun, brunsten, iamskok, CMangoDH, JunkyDeLuxe, SlawaGurevich, tyler-ground, cuidezhu, and 58 more reacted with thumbs up emoji
Xychun, iamskok, tyler-ground, smsGit24, longmans, twzd, Gio-Jimdo, GarraBlanca2003, bmeeder22, exzachlyvv, and 10 more reacted with hooray emoji
tiu93, luiz-fv, shchekoldin, toekneema, Traxmaxx, and oparisblue reacted with heart emoji
splunkmoody and neo-seolhi-kim reacted with rocket emoji

@evaristoc

Hi,

Having same error as for this issue when trying npm,
— Linux 18.04
— npm 4.2.0
— node.js v7.10.0

Part of my error output:

Package pixman-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pixman-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pixman-1' found
gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp

UPDATE:
I installed the corresponding dependencies:

sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

But then I got a different error in one of the files:

../src/CanvasRenderingContext2d.cc: In static member function ‘static Nan::NAN_SETTER_RETURN_TYPE Context2d::SetCurrentTransform(v8::Local<v8::String>, v8::Local<v8::Value>, Nan::NAN_SETTER_ARGS_TYPE)’:
../src/CanvasRenderingContext2d.cc:1722:49: error: ‘class v8::Object’ has no member named ‘InstanceOf’
   if (!Nan::To<Object>(value).ToLocalChecked()->InstanceOf(ctx, _DOMMatrix.Get(Isolate::GetCurrent())).ToChecked())
                                                 ^~~~~~~~~~

Any comment?

@evaristoc

^^^

Ok: I found this:
#1319

See my environment above

@paleo

On Ubuntu 20.04:

sudo apt install libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg8-dev libgif-dev
LordRampantHump, SyedFayaz, ThomsonTan, tiaantiaan, jakedowns, constantkek, joaoccf56, zt64, KrzysztofMadejski, linsinan1995, and 51 more reacted with thumbs up emoji
Xuezenghuigithub, FredyVia, nspyke, ericman314, Takiyo0, kuchaguangjie, PikaDude, ArifSanaullah, nb312, JAspeling, and 5 more reacted with hooray emoji
abdashaffan, surprise, NOTAD, Xuezenghuigithub, Sapieron, FredyVia, nspyke, ericman314, Takiyo0, kuchaguangjie, and 7 more reacted with heart emoji
GeekCornerGH, jaaouany, CristianHurtado-SB, MarkMekhaiel, ding-ma, VladimirMikulic, and LeonmanRolls reacted with rocket emoji

@LordRampantHump

On Ubuntu 20.04:

sudo apt install libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg8-dev libgif-dev

This was the solution for me. Thank you

@lrettig

Ran into this today and installing these packages didn’t do it. Using earlier versions of Python and Node did the trick — canvas doesn’t seem to play nice with Node 15 (and node-gyp doesn’t like Python 3.9). See #1319 (comment).

@williamscs

This seems to have been fixed in the 2.7.0 release. I was able to run an npm install using Node 15 without any failures from node-gyp.

Using one of the 2.6.x versions, I was hitting the same pixman errors mentioned above.

@xmsz
xmsz

mentioned this issue

Jun 27, 2021

@Layarks

On Ubuntu 20.04:

sudo apt install libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg8-dev libgif-dev

This solution is workable for me, most articles only mentioned the following update but NOT work
apt-get install libmount-dev

@owenventer

I had to install via brew (since I’m on a mac) pixman, cairo and pango.

Now it works!

How did you do that?

eventualbuddha

added a commit
to votingworks/vxsuite
that referenced
this issue

Nov 30, 2021

@eventualbuddha

@nb312

On Ubuntu 20.04:

sudo apt install libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg8-dev libgif-dev

Thanks for the solutions.

@thomasaarholt

I had to install via brew (since I’m on a mac) pixman, cairo and pango.
Now it works!

How did you do that?

I installed it like this:

brew install pixman cairo pango

I had to do this in order to install the development version of jupyterlab

@Ginxo

This command for Fedora

dnf install libjpeg-devel giflib-devel pixman-devel cairo-devel pango-devel

@TANK-RICHARD

On Ubuntu 20.04:

sudo apt install libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg8-dev libgif-dev

It’s really usefully on Ubuntu 18.04, Thank U.

adamhurm

added a commit
to adamhurm/discord-super-pal-of-the-week
that referenced
this issue

Nov 6, 2022

@adamhurm

@92hackers

I’m on Ubuntu 22.04
sudo apt install libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg8-dev libgif-dev
also works, thanks.

@sharq88

Rocky linux 9 giflib-devel was not available needed a flag:

dnf --enablerepo=devel install -y cairo-devel pango-devel libjpeg-turbo-devel giflib-devel pixman-devel

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

nasheayahu

Level 1
Level 1
Posts: 7
Joined: Sun May 10, 2020 10:27 pm

QEMU version 6.2.0 released

Anytime soon will a QEMU version 6.2.0 release be added?

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

User avatar

JoeFootball

Level 13
Level 13
Posts: 4643
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: QEMU version 6.2.0 released

Post

by JoeFootball » Sat Feb 12, 2022 6:20 am

nasheayahu wrote:
Anytime soon will a QEMU version 6.2.0 release be added?

QEMU in the repositories is governored by Ubuntu. Given that it’s an LTS codebase, it’s unlikely that QEMU would be updated to the latest-available version. This would be typical for most other applications as well.

User avatar

MikeNovember

Level 6
Level 6
Posts: 1268
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: QEMU version 6.2.0 released

Post

by MikeNovember » Sat Feb 12, 2022 8:08 am

Hi,

Follow Qemu installation procedure:

Code: Select all

wget https://download.qemu.org/qemu-6.2.0.tar.xz
tar xvJf qemu-6.2.0.tar.xz
cd qemu-6.2.0
./configure
make

Regards,

MN

_____________________________
Linux Mint 20.3 Mate host with 5.4 kernel, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD)

User avatar

jackkileen

Level 3
Level 3
Posts: 124
Joined: Mon Feb 04, 2019 7:58 pm
Location: Rocky Mtn High; FL Gulf

Re: QEMU version 6.2.0 released

Post

by jackkileen » Thu Feb 17, 2022 11:29 am

MikeNovember wrote: ↑

Sat Feb 12, 2022 8:08 am


Hi,
Follow Qemu installation procedure:

Code: Select all

wget https://download.qemu.org/qemu-6.2.0.tar.xz
tar xvJf qemu-6.2.0.tar.xz
cd qemu-6.2.0
./configure
make

Regards,
MN

Hello,
Getting the below errors when trying to install 6.2
Not sure how to go about fixing the missing dependencies/programs?

Code: Select all

/Downloads/qemu-6.2.0$ ./configure
Using './build' as the directory for build output
The Meson build system
Version: 0.59.3
Source dir: /home/zyoc/Downloads/qemu-6.2.0
Build dir: /home/zyoc/Downloads/qemu-6.2.0/build
Build type: native build
Project name: qemu
Project version: 6.2.0
C compiler for the host machine: cc -m64 -mcx16 (gcc 9.3.0 "cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
C linker for the host machine: cc -m64 -mcx16 ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program sh found: YES (/usr/bin/sh)
Program python3 found: YES (/usr/bin/python3)
WARNING: Broken python installation detected. Python files installed by Meson might not be found by python interpreter.
Program bzip2 found: YES (/usr/bin/bzip2)
C++ compiler for the host machine: c++ -m64 -mcx16 (gcc 9.3.0 "c++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
C++ linker for the host machine: c++ -m64 -mcx16 ld.bfd 2.34
Program cgcc found: NO
Library m found: YES
Run-time dependency threads found: YES
Library util found: YES
Run-time dependency appleframeworks found: NO (tried framework)
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency pixman-1 found: NO (tried pkgconfig)

../meson.build:415:2: ERROR: Dependency "pixman-1" not found, tried pkgconfig
A full log can be found at /home/zyoc/Downloads/qemu-6.2.0/build/meson-logs/meson-log.txt
ERROR: meson setup failed

MINT 20.3 Cinnamon 5.2.7_Kernel: 5.18.0-051800-generic

User avatar

MikeNovember

Level 6
Level 6
Posts: 1268
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: QEMU version 6.2.0 released

Post

by MikeNovember » Thu Feb 17, 2022 1:53 pm

_____________________________
Linux Mint 20.3 Mate host with 5.4 kernel, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD)

Hello Arch Linux Forums,
I am Christopher, an unexperienced Arch Linux user. I recently read an article on GUI package management tools for Arch Linux. So, I decided to install pamac(flatpak,snap and AUR) using the yay AUR helper. But for some reason, it complains about an unstatisfied dependency called snapd-glib which I have installed.Here is the output of yay -S pamac-all(It is in Greek):

chris@archlinux ~> yay -S pamac-all
:: Checking for conflicts…
:: Checking for inner conflicts…
(Aur:2)  libpamac-full-1:11.3.1-1  pamac-all-10.3.0-5

  2 libpamac-full                            (Build Files Exist)
  1 pamac-all                                (Build Files Exist)
==> Packages to cleanBuild?
==> (N)one (A)ll (Ab)ort (I)nstalled (No)tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/2): /home/chris/.cache/yay/libpamac-full
:: Deleting (2/2): /home/chris/.cache/yay/pamac-all
:: (1/2) Downloaded PKGBUILD: libpamac-full
:: (2/2) Downloaded PKGBUILD: pamac-all
  2 libpamac-full                            (Build Files Exist)
  1 pamac-all                                (Build Files Exist)
==> Diffs to show?
==> (N)one (A)ll (Ab)ort (I)nstalled (No)tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/2) Parsing SRCINFO: libpamac-full
:: (2/2) Parsing SRCINFO: pamac-all
==> Δημιουργία πακέτου: pamac-all 10.3.0-5 (Παρ 14 Οκτ 2022 07:50:00 μμ EEST)
==> Λήψη πηγών…
  -> Λήψη pamac-10.3.0.tar.gz…
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 —:—:— —:—:— —:—:—     0==> Δημιουργία πακέτου: libpamac-full 1:11.3.1-1 (Παρ 14 Οκτ 2022 07:50:01 μμ EEST)
==> Λήψη πηγών…
  -> Λήψη libpamac-11.3.1.tar.bz2…
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 —:—:— —:—:— —:—:- 15  154k   15 23842    0     0  42827      0  0:00:03 —:—:—  0:00:0  0     0    0     0    0     0      0      0 —:—:— —:—:— —:—:-100  154k  100  154k    0     0   131k      0  0:00:01  0:00:01 —:—:—  131k
==> Επικύρωση αρχείων του source με sha256sums…
    pamac-10.3.0.tar.gz … Επιτυχία
21  416k   21 93471    0     0  89006      0  0:00:04  0:00:01  0:00:0 91  416k   91  380k    0     0   185k      0  0:00:02  0:00:02 —:—:-100  416k  100  416k    0     0   195k      0  0:00:02  0:00:02 —:—:—  195k
==> Επικύρωση αρχείων του source με sha256sums…
    libpamac-11.3.1.tar.bz2 … Επιτυχία
==> Δημιουργία πακέτου: libpamac-full 1:11.3.1-1 (Παρ 14 Οκτ 2022 07:50:09 μμ EEST)
==> Έλεχος εξαρτήσεων εκτέλεσης…
==> Έλεγχος εξαρτήσεων μεταγλώττισης…
==> Λήψη πηγών…
  -> Βρέθηκε libpamac-11.3.1.tar.bz2
==> Επικύρωση αρχείων του source με sha256sums…
    libpamac-11.3.1.tar.bz2 … Επιτυχία
==> Διαγραφή υπάρχοντος καταλόγου $srcdir/…
==> Εξαγωγή πηγών…
  -> Εξαγωγή libpamac-11.3.1.tar.bz2 με bsdtar
==> Πηγαίος κώδικας έτοιμος.
==> Δημιουργία πακέτου: libpamac-full 1:11.3.1-1 (Παρ 14 Οκτ 2022 07:50:18 μμ EEST)
==> Έλεχος εξαρτήσεων εκτέλεσης…
==> Έλεγχος εξαρτήσεων μεταγλώττισης…
==> ΠΡΟΕΙΔΟΠΟΙΗΣΗ: Χρήση υπάρχοντος δέντρου $srcdir/
==> Εκκίνηση build()…
The Meson build system
Version: 0.63.3
Source dir: /home/chris/.cache/yay/libpamac-full/src/libpamac-11.3.1
Build dir: /home/chris/.cache/yay/libpamac-full/src/libpamac-11.3.1/builddir
Build type: native build
Project name: libpamac
Project version: 11.3.1
C compiler for the host machine: cc (gcc 12.2.0 «cc (GCC) 12.2.0»)
C linker for the host machine: cc ld.bfd 2.39.0
Vala compiler for the host machine: valac (valac 0.56.3)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gobject-2.0 found: YES 2.74.0
Run-time dependency gio-2.0 found: YES 2.74.0
Run-time dependency gthread-2.0 found: YES 2.74.0
Run-time dependency libalpm found: YES 13.0.1
Run-time dependency json-glib-1.0 found: YES 1.6.6
Run-time dependency libsoup-2.4 found: YES 2.74.2
Run-time dependency polkit-gobject-1 found: YES 121
Run-time dependency appstream-glib found: YES 0.8.1
Run-time dependency gmodule-2.0 found: YES 2.74.0
Library posix found: YES
Library m found: YES
Found CMake: /usr/bin/cmake (3.24.2)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency snapd-glib found: NO (tried pkgconfig and cmake)

../src/meson.build:33:1: ERROR: Dependency «snapd-glib» not found, tried pkgconfig and cmake

A full log can be found at /home/chris/.cache/yay/libpamac-full/src/libpamac-11.3.1/builddir/meson-logs/meson-log.txt
==> ΣΦΑΛΜΑ: Αποτυχία στην build().
    Ματαίωση…
-> error making: libpamac-full

Can somebody help me please?

Last edited by chris_on_linux (2022-10-14 17:23:01)

This article describes steps and how to solves isseus found in compiling QEMU on MSYS2 (https://www.msys2.org/).

Using 32 bit MINGW compiler tools to compile the 32 bit version of QEMU. The sources is downloaded from https://download.qemu.org/qemu-6.0.0.tar.xz. I’m using MSYS2 64 bit on Windows 10 with version below:

Installing gcc:

[user]@[workstation] MSYS ~
[hash] pacman -S mingw-w64-i686-gcc
resolving dependencies…
looking for conflicting packages…

Packages (14) mingw-w64-i686-binutils-2.36.1-3
mingw-w64-i686-crt-git-9.0.0.6166.0a00d0ea-1
mingw-w64-i686-gcc-libs-10.2.0-11 mingw-w64-i686-gmp-6.2.1-2

Try to perform configure:

[user]@[workstation] MINGW32 /d/projects/qemu
[hash] ./configure –cross-prefix=i686-w64-mingw32- 2>&1 | tee test.txt

But I have:

echo ‘ERROR: Python not found. Use –python=/path/to/python’
ERROR: Python not found. Use –python=/path/to/python

test -n ”

Install Python:

[user]@[workstation] MSYS ~
[hash] pacman -S mingw-w64-i686-python
resolving dependencies…
looking for conflicting packages…

It also requires Ninja for build framework:

echo ‘ERROR: Cannot find Ninja’
ERROR: Cannot find Ninja

test -n ”

echo

Install Ninja:

pacman -S ninja

Now I have:

../meson.build:1:0: ERROR: Unknown linker(s): [[‘i686-w64-mingw32-ar’]]
The follow exceptions were encountered:
Running “i686-w64-mingw32-ar –version” gave “[WinError 2] The system cannot find the file specified”

A full log can be found at D:/Projects/Qemu/build/meson-logs/meson-log.txt

test 1 -ne 0

error_exit ‘meson setup failed’

print_error ‘meson setup failed’

echo

Actually ar.exe already exist:

[user]@[workstation] MINGW32 /d/projects/qemu
[hash] ar
Usage: D:MSYS64mingw32binar.exe [emulation options] [-]{dmpqrstx}[abcDfilMNoOPsSTuvV] [–plugin ] [member-name] [count] archive-file file…
D:MSYS64mingw32binar.exe -M [<mri-script]

Perform rename:

Perform sanity check:

[user]@[workstation] MINGW32 /d/projects/qemu
[hash] i686-w64-mingw32-ar –version
GNU ar (GNU Binutils) 2.36.1
Copyright (C) 2021 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

Has header “WinHvPlatform.h” : YES
Has header “WinHvEmulation.h” : YES
Run-time dependency appleframeworks found: NO (tried framework)
Found pkg-config: D:MSYS64mingw32bin/i686-w64-mingw32-pkg-config.EXE (0.29.2)
Run-time dependency pixman-1 found: NO (tried pkgconfig)

../meson.build:328:2: ERROR: Dependency “pixman-1” not found, tried pkgconfig

A full log can be found at D:/Projects/Qemu/build/meson-logs/meson-log.txt

Install pixman:

[user]@[workstation] MSYS ~
[hash] pacman -S pixman-1
error: target not found: pixman-1

[user]@[workstation] MSYS ~
[hash] pacman -S mingw-w64-i686-pixman
resolving dependencies…
looking for conflicting packages…

Packages (1) mingw-w64-i686-pixman-0.40.0-2

Total Download Size: 0.31 MiB
Total Installed Size: 1.59 MiB

:: Proceed with installation? [Y/n]

Program sphinx-build-3 sphinx-build found: NO
Program python3 found: YES (D:/MSYS64/mingw32/bin/python3.exe)
Program diff found: NO

../tests/qapi-schema/meson.build:207:0: ERROR: Program ‘diff’ not found

Install diff:

[user]@[workstation] MSYS ~
[hash] pacman -S diff
error: target not found: diff

[user]@[workstation] MSYS ~
[hash] pacman -S mingw-w64-i686-diffutils
resolving dependencies…
looking for conflicting packages…

Packages (2) mingw-w64-i686-libsigsegv-2.13-1 mingw-w64-i686-diffutils-3.6-2

Total Download Size: 0.38 MiB
Total Installed Size: 1.61 MiB

:: Proceed with installation? [Y/n]

There are no more issues. Perform build now:

[user]@[workstation] MINGW32 /d/projects/qemu
[hash] ninja -C build
[10/5486] Compiling C object libcapsto…stone_arch_AArch64_AArch64Module.c.obj

[user]@[workstation] MINGW32 /d/projects/qemu
[hash] ninja -C build
ninja: Entering directory `build’
[19/5459] Compiling C object libslirp.a.p/slirp_src_misc.c.obj
FAILED: libslirp.a.p/slirp_src_misc.c.obj
“i686-w64-mingw32-gcc” “-Ilibslirp.a.p” “-I.” “-I..” “-I../slirp” “-I../slirp/src” “-ID:/MSYS64/mingw32/include/glib-2.0” “-ID:/MSYS64/mingw32/lib/glib-2.0/include” “-ID:/MSYS64/mingw32/include” “-fdiagnostics-color=auto” “-pipe” “-Wall” “-Winvalid-pch” “-std=gnu99” “-O2” “-g” “-iquote” “.” “-iquote” “D:/Projects/Qemu” “-iquote” “D:/Projects/Qemu/include” “-iquote” “D:/Projects/Qemu/disas/libvixl” “-iquote” “D:/Projects/Qemu/tcg/i386” “-iquote” “D:/Projects/Qemu/accel/tcg” “-D_REENTRANT” “-U_FORTIFY_SOURCE” “-D_FORTIFY_SOURCE=2” “-m32” “-D_GNU_SOURCE” “-D_FILE_OFFSET_BITS=64” “-D_LARGEFILE_SOURCE” “-Wstrict-prototypes” “-Wredundant-decls” “-Wundef” “-Wwrite-strings” “-Wmissing-prototypes” “-fno-strict-aliasing” “-fno-common” “-fwrapv” “-Wold-style-declaration” “-Wold-style-definition” “-Wtype-limits” “-Wformat-security” “-Wformat-y2k” “-Winit-self” “-Wignored-qualifiers” “-Wempty-body” “-Wnested-externs” “-Wendif-labels” “-Wexpansion-to-defined” “-Wimplicit-fallthrough=2” “-Wno-missing-include-dirs” “-Wno-shift-negative-value” “-Wno-psabi” “-fstack-protector-strong” “-DG_LOG_DOMAIN=”Slirp”” -MD -MQ libslirp.a.p/slirp_src_misc.c.obj -MF “libslirp.a.p/slirp_src_misc.c.obj.d” -o libslirp.a.p/slirp_src_misc.c.obj “-c” ../slirp/src/misc.c
../slirp/src/misc.c:8:10: fatal error: sys/un.h: No such file or directory
8 | [hash]include
| ^~~~~~
compilation terminated.
[24/5459] Compiling C object libcapsto…_arch_AArch64_AArch64InstPrinter.c.obj
ninja: build stopped: subcommand failed.

Remove glib2-devel, perform re-configure:

[user]@[workstation] MSYS ~
[hash] pacman -R glib2-devel
checking dependencies…

Packages (1) glib2-devel-2.68.1-1

Total Removed Size: 5.69 MiB

:: Do you want to remove these packages? [Y/n] y
:: Processing package changes…
(1/1) removing glib2-devel ##… 100%

Perform remark the offending define that causes compile error:

D:MSYS64mingw32libglib-2.0includeglibconfig.h

Now I have:

[2055/5486] Linking target qemu-system-aarch64.exe
FAILED: qemu-system-aarch64.exe
“i686-w64-mingw32-g++” @qemu-system-aarch64.exe.rsp
D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: libqemuutil.a(util_osdep.c.obj): in function qemu_mprotect__osdep': D:projectsqemubuild/../util/osdep.c:86: undefined reference to g_win32_error_message’
D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: libqemuutil.a(util_error.c.obj): in function error_setg_win32_internal': D:projectsqemubuild/../util/error.c:184: undefined reference to g_win32_error_message’

Perform direct testing:

[user]@[workstation] MINGW32 /d/projects/qemu/build
[hash] “i686-w64-mingw32-g++” @qemu-system-aarch64.exe.rsp
D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: libqemuutil.a(util_osdep.c.obj): in function qemu_mprotect__osdep': D:projectsqemubuild/../util/osdep.c:86: undefined reference tog_win32_error_message’
D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: libqemuutil.a(util_error.c.obj): in function error_setg_win32_internal': D:projectsqemubuild/../util/error.c:184: undefined reference to g_win32_error_message’
collect2.exe: error: ld returned 1 exit status

Try to add glib2-devel and reconfigure:

[user]@[workstation] MSYS ~
[hash] pacman -S glib2-devel
resolving dependencies…
looking for conflicting packages…

Packages (1) glib2-devel-2.68.1-1

Total Installed Size: 5.69 MiB

But still with the same error. Try install glib2:

[user]@[workstation] MSYS ~
[hash] pacman -S mingw-w64-i686-glib2
resolving dependencies…
looking for conflicting packages…

Perform direct testing again, and this time the executable can be generated. Here is the partial result of the generated executable files:


This entry was posted on May 4, 2021 at 9:13 am and is filed under Miscellaneous. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

View previous topic :: View next topic   Author Message Rockford The Roe
n00b
n00b

Joined: 21 Mar 2019
Posts: 25
Location: Illinois

PostPosted: Fri Apr 12, 2019 10:41 pm    Post subject: [SOLVED] Cannot compile Budgie Reply with quote

Hello, I am trying to compile the Budgie 10.5 DE via source code. When I run

Code:
meson build —prefix=/usr —sysconfdir=/etc

, I get this error.

Code:

Dependency vapigen found: NO (tried pkgconfig and cmake)

meson.build:44:0: ERROR:  Dependency «vapigen» not found, tried pkgconfig and cmake

I have already tried ln -s’ing vapigen and I know dev-lang/vala is installed. How do I make it detect vapigen so I can compile it?

Thank you.
_________________
«UNIX is very simple, it just needs a genius to understand its simplicity.» -Dennis Ritchie

Last edited by Rockford The Roe on Mon Apr 20, 2020 11:19 pm; edited 2 times in total

Back to top Rockford The Roe
n00b
n00b

Joined: 21 Mar 2019
Posts: 25
Location: Illinois

PostPosted: Sat Apr 13, 2019 4:22 am    Post subject: Reply with quote

Output of the full log

Code:
Build started at 2019-04-12T23:07:29.080559

Main binary: /usr/bin/python3.6

Python system: Linux

The Meson build system

Version: 0.49.2

Source dir: /home/ethan/Git/budgie-desktop-10.5

Build dir: /home/ethan/Git/budgie-desktop-10.5/build

Build type: native build

Project name: budgie-desktop

Project version: 10.5

Sanity testing C compiler: ccache cc

Is cross compiler: False.

Sanity check compiler command line: ccache cc /home/ethan/Git/budgie-desktop-10.5/build/meson-private/sanitycheckc.c -o /home/ethan/Git/budgie-desktop-10.5/build/meson-private/sanitycheckc.exe

Sanity check compile stdout:

——

Sanity check compile stderr:

——

Running test binary command: /home/ethan/Git/budgie-desktop-10.5/build/meson-private/sanitycheckc.exe

Native C compiler: ccache cc (gcc 8.3.0 «cc (Gentoo 8.3.0-r1 p1.1) 8.3.0»)

Running compile:

Working directory:  /tmp/tmpq87adqjr

Command line:  valac /tmp/tmpq87adqjr/testfile.vala -C

Code:

 class MesonSanityCheck : Object { }

Compiler stdout:

 

Compiler stderr:

 

Native Vala compiler: valac (valac 0.42.6)

Build machine cpu family: x86_64

Build machine cpu: x86_64

Program git found: YES (/usr/bin/git)

Program meson_post_install.sh found: YES (/home/ethan/Git/budgie-desktop-10.5/meson_post_install.sh)

Found pkg-config: /usr/bin/pkg-config (1.5.4)

Determining dependency ‘gtk+-3.0’ with pkg-config executable ‘/usr/bin/pkg-config’

Called `/usr/bin/pkg-config —modversion gtk+-3.0` -> 0

3.24.7

Called `/usr/bin/pkg-config —cflags gtk+-3.0` -> 0

-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread

Called `/usr/bin/pkg-config gtk+-3.0 —libs` -> 0

-L/usr/lib64 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0

Called `/usr/bin/pkg-config gtk+-3.0 —libs` -> 0

-lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0

Running compile:

Working directory:  /tmp/tmpiimf9smg

Command line:  ccache cc /tmp/tmpiimf9smg/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpiimf9smg/output.exe -O0

Code:

 #include<stdio.h>

       

        int main(int argc, char **argv) {

            printf(«%ldn», (long)(sizeof(void *)));

            return 0;

        };

Compiler stdout:

 

Compiler stderr:

 

Program stdout:

8

Program stderr:

Running compile:

Working directory:  /tmp/tmphm4t80lz

Command line:  ccache cc /tmp/tmphm4t80lz/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmphm4t80lz/output.obj -O0 —print-search-dirs

Code:

 

Compiler stdout:

 install: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/

programs: =/usr/libexec/gcc/x86_64-pc-linux-gnu/8.3.0/:/usr/libexec/gcc/x86_64-pc-linux-gnu/8.3.0/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu/8.3.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/

libraries: =/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/8.3.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../x86_64-pc-linux-gnu/8.3.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/:/lib/x86_64-pc-linux-gnu/8.3.0/:/lib/../lib64/:/usr/lib/x86_64-pc-linux-gnu/8.3.0/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../:/lib/:/usr/lib/

Compiler stderr:

 

Dependency gtk+-3.0 found: YES 3.24.7

Determining dependency ‘glib-2.0’ with pkg-config executable ‘/usr/bin/pkg-config’

Called `/usr/bin/pkg-config —modversion glib-2.0` -> 0

2.58.3

Called `/usr/bin/pkg-config —cflags glib-2.0` -> 0

-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include

Called `/usr/bin/pkg-config glib-2.0 —libs` -> 0

-L/usr/lib64 -lglib-2.0

Called `/usr/bin/pkg-config glib-2.0 —libs` -> 0

-lglib-2.0

Dependency glib-2.0 found: YES 2.58.3

Determining dependency ‘gio-unix-2.0’ with pkg-config executable ‘/usr/bin/pkg-config’

Called `/usr/bin/pkg-config —modversion gio-unix-2.0` -> 0

2.58.3

Called `/usr/bin/pkg-config —cflags gio-unix-2.0` -> 0

-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid

Called `/usr/bin/pkg-config gio-unix-2.0 —libs` -> 0

-L/usr/lib64 -lgio-2.0 -lgobject-2.0 -lglib-2.0

Called `/usr/bin/pkg-config gio-unix-2.0 —libs` -> 0

-lgio-2.0 -lgobject-2.0 -lglib-2.0

Dependency gio-unix-2.0 found: YES 2.58.3

Determining dependency ‘libpeas-1.0’ with pkg-config executable ‘/usr/bin/pkg-config’

Called `/usr/bin/pkg-config —modversion libpeas-1.0` -> 0

1.22.0

Called `/usr/bin/pkg-config —cflags libpeas-1.0` -> 0

-I/usr/include/libpeas-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gobject-introspection-1.0 -pthread -I/usr/lib64/libffi-3.3_rc0/include

Called `/usr/bin/pkg-config libpeas-1.0 —libs` -> 0

-L/usr/lib64 -lpeas-1.0 -Wl,—export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lgio-2.0 -lgirepository-1.0 -lgobject-2.0 -lglib-2.0

Called `/usr/bin/pkg-config libpeas-1.0 —libs` -> 0

-lpeas-1.0 -Wl,—export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lgio-2.0 -lgirepository-1.0 -lgobject-2.0 -lglib-2.0

Dependency libpeas-1.0 found: YES 1.22.0

Determining dependency ‘gdk-x11-3.0’ with pkg-config executable ‘/usr/bin/pkg-config’

Called `/usr/bin/pkg-config —modversion gdk-x11-3.0` -> 0

3.24.7

Called `/usr/bin/pkg-config —cflags gdk-x11-3.0` -> 0

-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0/ -pthread

Called `/usr/bin/pkg-config gdk-x11-3.0 —libs` -> 0

-L/usr/lib64 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0

Called `/usr/bin/pkg-config gdk-x11-3.0 —libs` -> 0

-lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0

Dependency gdk-x11-3.0 found: YES 3.24.7

Determining dependency ‘uuid’ with pkg-config executable ‘/usr/bin/pkg-config’

Called `/usr/bin/pkg-config —modversion uuid` -> 0

2.33.1

Called `/usr/bin/pkg-config —cflags uuid` -> 0

-I/usr/include/uuid

Called `/usr/bin/pkg-config uuid —libs` -> 0

-L/usr/lib64 -luuid

Called `/usr/bin/pkg-config uuid —libs` -> 0

-luuid

Dependency uuid found: YES 2.33.1

Determining dependency ‘vapigen’ with pkg-config executable ‘/usr/bin/pkg-config’

Called `/usr/bin/pkg-config —modversion vapigen` -> 1

Found CMake: /usr/bin/cmake (3.14.1)

Determining dependency ‘vapigen’ with CMake executable ‘/usr/bin/cmake’

Try CMake generator: auto

Called `/usr/bin/cmake —trace-expand -DNAME=vapigen .` in /home/ethan/Git/budgie-desktop-10.5/build/meson-private/cmake_vapigen -> 0

Dependency vapigen found: NO (tried pkgconfig and cmake)

meson.build:44:0: ERROR:  Dependency «vapigen» not found, tried pkgconfig and cmake


_________________
«UNIX is very simple, it just needs a genius to understand its simplicity.» -Dennis Ritchie

Back to top fedeliallalinea
Administrator
Administrator

Joined: 08 Mar 2003
Posts: 29428
Location: here

Back to top Rockford The Roe
n00b
n00b

Joined: 21 Mar 2019
Posts: 25
Location: Illinois

PostPosted: Sat Apr 13, 2019 7:45 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Try to export VAPIGEN variable

Code:
# export VAPIGEN=/usr/bin/vapigen-<your_version>

# meson build —prefix=/usr —sysconfdir=/etc



Anyway why not use existing ebuild in reagentoo overlay https://gpo.zugaina.org/gnome-extra/budgie-desktop

The overlays depend on gnome-session and gnome-shell but I do not need them.

I have tried to export the VAPIGEN but it didn’t work, I got the same error.
_________________
«UNIX is very simple, it just needs a genius to understand its simplicity.» -Dennis Ritchie

Back to top fedeliallalinea
Administrator
Administrator

Joined: 08 Mar 2003
Posts: 29428
Location: here

PostPosted: Sat Apr 13, 2019 8:37 pm    Post subject: Reply with quote

Rockford The Roe wrote:
The overlays depend on gnome-session and gnome-shell but I do not need them.

I have tried to export the VAPIGEN but it didn’t work, I got the same error.



Try to create a symbolic link to /usr/lib64/pkgconfig/vapigen-0.40.pc

Code:
# ln -s /usr/lib64/pkgconfig/vapigen-0.40.pc /usr/lib64/pkgconfig/vapigen.pc



when you finish remember to remove link.

You can also create an ebuild for this package and use vala.eclass that set for you the correct environment
_________________
Questions are guaranteed in life; Answers aren’t.

Back to top Rockford The Roe
n00b
n00b

Joined: 21 Mar 2019
Posts: 25
Location: Illinois

PostPosted: Sat Apr 13, 2019 9:13 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Rockford The Roe wrote:
The overlays depend on gnome-session and gnome-shell but I do not need them.

I have tried to export the VAPIGEN but it didn’t work, I got the same error.



Try to create a symbolic link to /usr/lib64/pkgconfig/vapigen-0.40.pc

Code:
# ln -s /usr/lib64/pkgconfig/vapigen-0.40.pc /usr/lib64/pkgconfig/vapigen.pc



when you finish remember to remove link.

You can also create an ebuild for this package and use vala.eclass that set for you the correct environment

It seems that doing that link worked, but I’ve got another problem on my hands. I have also linked libmutter-2 to libmutter-3 and now when I compile, it stops at screen.h saying that it is not found.
_________________
«UNIX is very simple, it just needs a genius to understand its simplicity.» -Dennis Ritchie

Back to top Rockford The Roe
n00b
n00b

Joined: 21 Mar 2019
Posts: 25
Location: Illinois

PostPosted: Sun Apr 14, 2019 2:06 am    Post subject: Reply with quote

Quote:
I have also linked libmutter-2 to libmutter-3 and now when I compile, it stops at screen.h saying that it is not found.

Here’s what I was talking about:

Code:

[99/266] Compiling C object ‘src/wm/131f9c0@@budgie-wm@exe/meson-generated_background.c.o’.

FAILED: src/wm/131f9c0@@budgie-wm@exe/meson-generated_background.c.o

ccache cc -Isrc/wm/131f9c0@@budgie-wm@exe -Isrc/wm -I../src/wm -I. -I../ -Isrc/config -I../src/config -I/usr/include/mutter -I/usr/include/gsettings-desktop-schemas -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/mutter/clutter-3 -I/usr/include/json-glib-1.0 -I/usr/include/mutter/cogl -I/usr/include/gnome-desktop-3.0 -I/usr/include/ibus-1.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -w -std=c11 -g -fstack-protector -pedantic -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Wformat -Wformat-security -Werror=format-security -Wconversion -Wunused-variable -Wunreachable-code -Wall -W ‘-DGETTEXT_PACKAGE=»budgie-desktop»‘ -pthread -DGNOME_DESKTOP_USE_UNSTABLE_API  -MD -MQ ‘src/wm/131f9c0@@budgie-wm@exe/meson-generated_background.c.o’ -MF ‘src/wm/131f9c0@@budgie-wm@exe/meson-generated_background.c.o.d’ -o ‘src/wm/131f9c0@@budgie-wm@exe/meson-generated_background.c.o’ -c ‘src/wm/131f9c0@@budgie-wm@exe/background.c’

src/wm/131f9c0@@budgie-wm@exe/background.c:21:10: fatal error: meta/screen.h: No such file or directory

 #include <meta/screen.h>

          ^~~~~~~~~~~~~~~

compilation terminated.

ninja: build stopped: subcommand failed.


_________________
«UNIX is very simple, it just needs a genius to understand its simplicity.» -Dennis Ritchie

Back to top fedeliallalinea
Administrator
Administrator

Joined: 08 Mar 2003
Posts: 29428
Location: here

Back to top Rockford The Roe
n00b
n00b

Joined: 21 Mar 2019
Posts: 25
Location: Illinois

PostPosted: Sun Apr 14, 2019 4:38 pm    Post subject: Reply with quote

fedeliallalinea wrote:

What you mean with I have also linked libmutter-2 to libmutter-3? You installed x11-wm/mutter that provide meta/screen.h?

Sorry for not clarifying correctly, the compiler didn’t see /usr/lib64/pkgconfig/libmutter-3.pc so I crated a link that branches from that to libmutter-2.pc. I am sure that x11-wm/mutter is installed.
_________________
«UNIX is very simple, it just needs a genius to understand its simplicity.» -Dennis Ritchie

Back to top Leio
Developer
Developer

Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Sun Apr 14, 2019 4:49 pm    Post subject: Reply with quote

You can’t, or at least shouldn’t, just symlink things over like that.

mutter-3.28 provides API version 2; mutter 3.30 provides API version 3. 3.26 provides API version 1. Mutter packages subslot signifies that, and something that needs to link to these API specific stuff should subslot dep on the concrete need properly — only main tree example is gnome-shell, budgie relevant WM could be another if it really uses mutter itself like this. All main tree gnome-shell since 3.26 (earlier used external cogl/clutter, not mutter fork) have such a subslot depend as well.

So you need mutter-3.28 for that budgie version, apprently. I’ve removed it from main tree, as nothing in there needs it anymore, as gnome-shell-3.28 was removed as well.

It can’t be co-installed with a different gnome-shell version, either.
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top Rockford The Roe
n00b
n00b

Joined: 21 Mar 2019
Posts: 25
Location: Illinois

Back to top

Display posts from previous:   

Request: Custom keyboard mapping

Perhaps you guys can look at this project. It currently works with Bliss OS (Android-x86) however I don’t see how it can’t be adapted to real mobile devices…??

can’t boot on efi because the iso parition table is in mbr

Hi, can you please specify exactly which ISOs you are talking about? Exact URL will be helpful.

Better yet join the BlissLab Discord and ask your question there: https://discord.gg/wwc4Aua4fp

The latest test builds are only available at the URL which is posted at #release channel on the Discord.

Any plans to submit official patch to QEMU for enabling Virgil 3D on Windows?

Sounds good. Thanks for taking the time to answer and please keep up the good work!

Any plans to submit official patch to QEMU for enabling Virgil 3D on Windows?

Specifically I’m talking about this patch: https://github.com/kjliew/qemu-3dfx/blob/master/virgil3d/0001-Virgil3D-with-SDL2-OpenGL.patch

Looks like there was previous discussions on submitting a patch but it never happened: https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/217

Once accepted and merged with upstream, then you won’t need to maintain your own patch for future releases.

Thanks a lot for your work!

ERROR: Dependency «pixman-1» not found when trying to build with QEMU 7.2.0

If required I can try to add some script to build a package for msys2/mingw-w64 environment using GitHub Actions.

Sorry but build a package for what?

ERROR: Dependency «pixman-1» not found when trying to build with QEMU 7.2.0

I’m trying to build on Windows 10 using MSYS2 latest version (msys2-x86_64-20221216.exe) and I’m getting the follow errors:

$ ../qemu-7.2.0/configure --target-list=x86_64-softmmu
ln: failed to create symbolic link 'x86_64-softmmu/qemu-system-x86_64.exe': No such file or directory
The Meson build system
Version: 0.64.1
Source dir: C:/msys64/home/guanzhang/myqemu/qemu-3dfx/qemu-7.2.0
Build dir: C:/msys64/home/guanzhang/myqemu/qemu-3dfx/build
Build type: native build
Project name: qemu
Project version: 7.2.0
C compiler for the host machine: cc -m64 -mcx16 (gcc 12.2.0 "cc (Rev6, Built by MSYS2 project) 12.2.
0")
C linker for the host machine: cc -m64 -mcx16 ld.bfd 2.39
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program scripts/symlink-install-tree.py found: YES (C:/msys64/mingw64/bin/python.exe C:/msys64/home/
guanzhang/myqemu/qemu-3dfx/qemu-7.2.0/scripts/symlink-install-tree.py)
Program sh found: YES (C:msys64usrbin/sh.EXE)
Program python3 found: YES (C:/msys64/mingw64/bin/python.exe)
Program bzip2 found: YES (C:msys64mingw64bin/bzip2.EXE)
Program iasl found: NO
Compiler for C supports link arguments -Wl,-z,relro: NO
Compiler for C supports link arguments -Wl,-z,now: NO
Compiler for C supports link arguments -Wl,--no-seh: YES
Compiler for C supports link arguments -Wl,--nxcompat: YES
C++ compiler for the host machine: c++ -m64 -mcx16 (gcc 12.2.0 "c++ (Rev6, Built by MSYS2 project) 1
2.2.0")
C++ linker for the host machine: c++ -m64 -mcx16 ld.bfd 2.39
Compiler for C++ supports link arguments -Wl,--warn-common: YES
Program cgcc found: NO
Library m found: YES
Run-time dependency threads found: YES
Library util found: NO
Program midl found: NO
Program widl found: NO
Library pathcch found: YES
Library ws2_32 found: YES
Library winmm found: YES
Windows resource compiler: GNU windres (GNU Binutils) 2.39
Has header "WinHvPlatform.h" : YES
Has header "WinHvEmulation.h" : YES
Run-time dependency appleframeworks found: NO (tried framework)
Found pkg-config: C:msys64usrbin/pkg-config.EXE (1.8.0)
Run-time dependency gio-2.0 found: NO (tried pkgconfig)
Run-time dependency pixman-1 found: NO (tried pkgconfig)

../qemu-7.2.0/meson.build:553:2: ERROR: Dependency "pixman-1" not found, tried pkgconfig

A full log can be found at C:/msys64/home/guanzhang/myqemu/qemu-3dfx/build/meson-logs/meson-log.txt

ERROR: meson setup failed

However, the pixman package has already been installed:

$ pacman -Ql mingw-w64-x86_64-pixman
mingw-w64-x86_64-pixman /mingw64/
mingw-w64-x86_64-pixman /mingw64/bin/
mingw-w64-x86_64-pixman /mingw64/bin/libpixman-1-0.dll
mingw-w64-x86_64-pixman /mingw64/include/
mingw-w64-x86_64-pixman /mingw64/include/pixman-1/
mingw-w64-x86_64-pixman /mingw64/include/pixman-1/pixman-version.h
mingw-w64-x86_64-pixman /mingw64/include/pixman-1/pixman.h
mingw-w64-x86_64-pixman /mingw64/lib/
mingw-w64-x86_64-pixman /mingw64/lib/libpixman-1.a
mingw-w64-x86_64-pixman /mingw64/lib/libpixman-1.dll.a
mingw-w64-x86_64-pixman /mingw64/lib/pkgconfig/
mingw-w64-x86_64-pixman /mingw64/lib/pkgconfig/pixman-1.pc
mingw-w64-x86_64-pixman /mingw64/share/
mingw-w64-x86_64-pixman /mingw64/share/licenses/
mingw-w64-x86_64-pixman /mingw64/share/licenses/pixman/
mingw-w64-x86_64-pixman /mingw64/share/licenses/pixman/COPYING

I’m using the MSYS2 MINGW64 binary and installed the packages as recommended in this comment. Attached is the full meson-log.txt, any help is appreciated. Thanks a lot in advance!
meson-log.txt

ERROR: Dependency «pixman-1» not found when trying to build with QEMU 7.2.0

Okay turns out it was missing the package mingw-w64-x86_64-pkg-config. Thanks to Biswa96 from MSYS2 Discord server!

ERROR: Dependency «pixman-1» not found when trying to build with QEMU 7.2.0

I’m trying to build on Windows 10 using MSYS2 latest version (msys2-x86_64-20221216.exe) and I’m getting the follow errors:

$ ../qemu-7.2.0/configure --target-list=x86_64-softmmu
ln: failed to create symbolic link 'x86_64-softmmu/qemu-system-x86_64.exe': No such file or directory
The Meson build system
Version: 0.64.1
Source dir: C:/msys64/home/guanzhang/myqemu/qemu-3dfx/qemu-7.2.0
Build dir: C:/msys64/home/guanzhang/myqemu/qemu-3dfx/build
Build type: native build
Project name: qemu
Project version: 7.2.0
C compiler for the host machine: cc -m64 -mcx16 (gcc 12.2.0 "cc (Rev6, Built by MSYS2 project) 12.2.
0")
C linker for the host machine: cc -m64 -mcx16 ld.bfd 2.39
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program scripts/symlink-install-tree.py found: YES (C:/msys64/mingw64/bin/python.exe C:/msys64/home/
guanzhang/myqemu/qemu-3dfx/qemu-7.2.0/scripts/symlink-install-tree.py)
Program sh found: YES (C:msys64usrbin/sh.EXE)
Program python3 found: YES (C:/msys64/mingw64/bin/python.exe)
Program bzip2 found: YES (C:msys64mingw64bin/bzip2.EXE)
Program iasl found: NO
Compiler for C supports link arguments -Wl,-z,relro: NO
Compiler for C supports link arguments -Wl,-z,now: NO
Compiler for C supports link arguments -Wl,--no-seh: YES
Compiler for C supports link arguments -Wl,--nxcompat: YES
C++ compiler for the host machine: c++ -m64 -mcx16 (gcc 12.2.0 "c++ (Rev6, Built by MSYS2 project) 1
2.2.0")
C++ linker for the host machine: c++ -m64 -mcx16 ld.bfd 2.39
Compiler for C++ supports link arguments -Wl,--warn-common: YES
Program cgcc found: NO
Library m found: YES
Run-time dependency threads found: YES
Library util found: NO
Program midl found: NO
Program widl found: NO
Library pathcch found: YES
Library ws2_32 found: YES
Library winmm found: YES
Windows resource compiler: GNU windres (GNU Binutils) 2.39
Has header "WinHvPlatform.h" : YES
Has header "WinHvEmulation.h" : YES
Run-time dependency appleframeworks found: NO (tried framework)
Found pkg-config: C:msys64usrbin/pkg-config.EXE (1.8.0)
Run-time dependency gio-2.0 found: NO (tried pkgconfig)
Run-time dependency pixman-1 found: NO (tried pkgconfig)

../qemu-7.2.0/meson.build:553:2: ERROR: Dependency "pixman-1" not found, tried pkgconfig

A full log can be found at C:/msys64/home/guanzhang/myqemu/qemu-3dfx/build/meson-logs/meson-log.txt

ERROR: meson setup failed

However, the pixman package has already been installed:

$ pacman -Ql mingw-w64-x86_64-pixman
mingw-w64-x86_64-pixman /mingw64/
mingw-w64-x86_64-pixman /mingw64/bin/
mingw-w64-x86_64-pixman /mingw64/bin/libpixman-1-0.dll
mingw-w64-x86_64-pixman /mingw64/include/
mingw-w64-x86_64-pixman /mingw64/include/pixman-1/
mingw-w64-x86_64-pixman /mingw64/include/pixman-1/pixman-version.h
mingw-w64-x86_64-pixman /mingw64/include/pixman-1/pixman.h
mingw-w64-x86_64-pixman /mingw64/lib/
mingw-w64-x86_64-pixman /mingw64/lib/libpixman-1.a
mingw-w64-x86_64-pixman /mingw64/lib/libpixman-1.dll.a
mingw-w64-x86_64-pixman /mingw64/lib/pkgconfig/
mingw-w64-x86_64-pixman /mingw64/lib/pkgconfig/pixman-1.pc
mingw-w64-x86_64-pixman /mingw64/share/
mingw-w64-x86_64-pixman /mingw64/share/licenses/
mingw-w64-x86_64-pixman /mingw64/share/licenses/pixman/
mingw-w64-x86_64-pixman /mingw64/share/licenses/pixman/COPYING

I’m using the MSYS2 MINGW64 binary and installed the packages as recommended in this comment. Attached is the full meson-log.txt, any help is appreciated. Thanks a lot in advance!
meson-log.txt

Does not work with Code Geass: Lost Stories from DMM GAMES

Has anybody gotten it to work with the PC client of Code Geass: Lost Stories from DMM GAMES? I’ve tried both ReiPatcher and BepInEx and it seems the game doesn’t want to load with the modified files. Does anybody have a workaround? Thanks a lot in advance!

Change LICENSE from GPL v3 to AGPL v3

I approve, and I appreciate you trying to reach me even though I probably only contributed some very minor text bug-fixes.

I will note however that I will follow whatever @loki-47-6F-64 decides. I hope that he’s still around and will be able to respond. Even though I am currently not using the project it was still a very cool program which I may eventually get back into so good luck to you guys!

Понравилась статья? Поделить с друзьями:
  • Error dep policy is not enabled due system configuration
  • Error delta double java
  • Error delta 03 the division 2
  • Error delphi32 dro
  • Error delivering перевод